summaryrefslogtreecommitdiff
path: root/target/device/Atmel/DataFlashBoot
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-06-14 21:41:12 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-14 21:41:12 +0200
commit22b80a23fcee4c7a1b88f2fd5cf017d96c515b92 (patch)
tree1785a4099a6c2b3b2e981307cc734562f42e1818 /target/device/Atmel/DataFlashBoot
parentf4b7efe504a028035dd121e38caff2c781183ef9 (diff)
parentfa2a311b7756fc458ae55b5aa90ac865cef6c498 (diff)
Merge branch 'bootloaders-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'target/device/Atmel/DataFlashBoot')
-rw-r--r--target/device/Atmel/DataFlashBoot/Config.in23
-rw-r--r--target/device/Atmel/DataFlashBoot/DataflashBoot.mk44
2 files changed, 0 insertions, 67 deletions
diff --git a/target/device/Atmel/DataFlashBoot/Config.in b/target/device/Atmel/DataFlashBoot/Config.in
deleted file mode 100644
index 1da5e6274..000000000
--- a/target/device/Atmel/DataFlashBoot/Config.in
+++ /dev/null
@@ -1,23 +0,0 @@
-config BR2_TARGET_DATAFLASHBOOT
- depends on BR2_TARGET_AT91RM9200 || BR2_TARGET_AT91SAM9261 || BR2_TARGET_AT91SAM9261S
- bool "Build Dataflashboot for selected chip"
-
-choice
- prompt "Target Architecture"
- default BR2_TARGET_DATAFLASHBOOT_AT91RM9200
- depends on BR2_TARGET_DATAFLASHBOOT
- help
- Select Chip for which Dataflash boot should be built
- Currently only AT91RM9200 Supported
-
-config BR2_TARGET_DATAFLASHBOOT_AT91RM9200
- depends on BR2_TARGET_AT91RM9200
- bool "AT91RM9200"
-config BR2_TARGET_DATAFLASHBOOT_AT91SAM9261
- depends on BR2_TARGET_AT91SAM9261
- bool "AT91SAM9261"
-config BR2_TARGET_DATAFLASHBOOT_AT91SAM9261S
- depends on BR2_TARGET_AT91SAM9261S
- bool "AT91SAM9261S"
-
-endchoice
diff --git a/target/device/Atmel/DataFlashBoot/DataflashBoot.mk b/target/device/Atmel/DataFlashBoot/DataflashBoot.mk
deleted file mode 100644
index 8939c2897..000000000
--- a/target/device/Atmel/DataFlashBoot/DataflashBoot.mk
+++ /dev/null
@@ -1,44 +0,0 @@
-#############################################################
-#
-# DataFlashBoot
-#
-#############################################################
-DATAFLASHBOOT_VERSION:=1.05
-DATAFLASHBOOT_NAME:=DataflashBoot-$(DATAFLASHBOOT_VERSION)
-ATMEL_MIRROR:=$(call qstrip,$(BR2_ATMEL_MIRROR))
-DATAFLASHBOOT_SITE:=$(ATMEL_MIRROR)
-DATAFLASHBOOT_SOURCE:=$(DATAFLASHBOOT_NAME).tar.bz2
-DATAFLASHBOOT_DIR:=$(BUILD_DIR)/$(DATAFLASHBOOT_NAME)
-DATAFLASHBOOT_BINARY:=$(DATAFLASHBOOT_NAME).bin
-
-$(DL_DIR)/$(DATAFLASHBOOT_SOURCE):
- $(call DOWNLOAD,$(DATAFLASHBOOT_SITE),$(DATAFLASHBOOT_SOURCE))
-
-$(DATAFLASHBOOT_DIR)/.unpacked: $(DL_DIR)/$(DATAFLASHBOOT_SOURCE)
- mkdir -p $(BUILD_DIR)
- ls $(DL_DIR)/$(DATAFLASHBOOT_SOURCE)
- $(BZCAT) $(DL_DIR)/$(DATAFLASHBOOT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(DATAFLASHBOOT_DIR)/.unpacked
-
-$(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY): $(DATAFLASHBOOT_DIR)/.unpacked
- ls $(DATAFLASHBOOT_DIR)/.unpacked
- make -C $(DATAFLASHBOOT_DIR) CROSS_COMPILE=$(TARGET_CROSS)
-
-DataflashBoot-clean:
- make -C $(DATAFLASHBOOT_DIR) clean
-
-DataflashBoot-dirclean:
- rm -rf $(DATAFLASHBOOT_DIR)
-
-dataflash: $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY)
- $(call COPY_FILE, $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY), $(TARGET_ATMEL_COPYTO), $(BOARD_NAME)-$(DATAFLASHBOOT_BINARY))
-
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_TARGET_DATAFLASHBOOT),y)
-TARGETS+=dataflash
-endif