diff options
author | Tuomas Tynkkynen | 2017-10-10 21:59:42 +0300 |
---|---|---|
committer | Tom Rini | 2017-10-16 09:42:51 -0400 |
commit | c68c03f52badc90951dbf8a054c0e500e04bf365 (patch) | |
tree | 30fee12332240549a47bdb2cf2ee27a1a7d64b02 /board/atmel/at91sam9rlek | |
parent | 95688de311e238ccfba21c50b1b67ceffbdc7fc5 (diff) |
Drop CONFIG_HAS_DATAFLASH
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Diffstat (limited to 'board/atmel/at91sam9rlek')
-rw-r--r-- | board/atmel/at91sam9rlek/Makefile | 1 | ||||
-rw-r--r-- | board/atmel/at91sam9rlek/partition.c | 25 |
2 files changed, 0 insertions, 26 deletions
diff --git a/board/atmel/at91sam9rlek/Makefile b/board/atmel/at91sam9rlek/Makefile index 7acfee53503..89f6c0833c6 100644 --- a/board/atmel/at91sam9rlek/Makefile +++ b/board/atmel/at91sam9rlek/Makefile @@ -11,4 +11,3 @@ obj-y += at91sam9rlek.o obj-$(CONFIG_AT91_LED) += led.o -obj-$(CONFIG_HAS_DATAFLASH) += partition.o diff --git a/board/atmel/at91sam9rlek/partition.c b/board/atmel/at91sam9rlek/partition.c deleted file mode 100644 index 8617f4899cc..00000000000 --- a/board/atmel/at91sam9rlek/partition.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * (C) Copyright 2008 - * Ulf Samuelsson <ulf@atmel.com> - * - * SPDX-License-Identifier: GPL-2.0+ - */ -#include <common.h> -#include <config.h> -#include <asm/hardware.h> -#include <dataflash.h> - -AT91S_DATAFLASH_INFO dataflash_info[CONFIG_SYS_MAX_DATAFLASH_BANKS]; - -struct dataflash_addr cs[CONFIG_SYS_MAX_DATAFLASH_BANKS] = { - {CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0, 0}, /* Logical adress, CS */ -}; - -/*define the area offsets*/ -dataflash_protect_t area_list[NB_DATAFLASH_AREA] = { - {0x00000000, 0x000041FF, FLAG_PROTECT_SET, 0, "Bootstrap"}, - {0x00004200, 0x000083FF, FLAG_PROTECT_CLEAR, 0, "Environment"}, - {0x00008400, 0x00083FFF, FLAG_PROTECT_SET, 0, "U-Boot"}, - {0x00084000, 0x00293FFF, FLAG_PROTECT_CLEAR, 0, "Kernel"}, - {0x00294000, 0xFFFFFFFF, FLAG_PROTECT_CLEAR, 0, "FS"}, -}; |