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/esd | |
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/esd')
-rw-r--r-- | board/esd/meesc/Makefile | 1 | ||||
-rw-r--r-- | board/esd/meesc/partition.c | 23 |
2 files changed, 0 insertions, 24 deletions
diff --git a/board/esd/meesc/Makefile b/board/esd/meesc/Makefile index 5d1673820df..f3bf05d47b1 100644 --- a/board/esd/meesc/Makefile +++ b/board/esd/meesc/Makefile @@ -10,4 +10,3 @@ # obj-y += meesc.o -obj-$(CONFIG_HAS_DATAFLASH) += partition.o diff --git a/board/esd/meesc/partition.c b/board/esd/meesc/partition.c deleted file mode 100644 index b6afafc2399..00000000000 --- a/board/esd/meesc/partition.c +++ /dev/null @@ -1,23 +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, 0x00041FFF, FLAG_PROTECT_SET, 0, "U-Boot"}, -}; |