diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-10-10 21:59:42 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-16 09:42:51 -0400 |
commit | c68c03f52badc90951dbf8a054c0e500e04bf365 (patch) | |
tree | 30fee12332240549a47bdb2cf2ee27a1a7d64b02 /board/ronetix/pm9261 | |
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/ronetix/pm9261')
-rw-r--r-- | board/ronetix/pm9261/Makefile | 1 | ||||
-rw-r--r-- | board/ronetix/pm9261/partition.c | 33 |
2 files changed, 0 insertions, 34 deletions
diff --git a/board/ronetix/pm9261/Makefile b/board/ronetix/pm9261/Makefile index 90835d372f..a133b07d0b 100644 --- a/board/ronetix/pm9261/Makefile +++ b/board/ronetix/pm9261/Makefile @@ -12,4 +12,3 @@ obj-y += pm9261.o obj-$(CONFIG_RED_LED) += led.o -obj-$(CONFIG_HAS_DATAFLASH) += partition.o diff --git a/board/ronetix/pm9261/partition.c b/board/ronetix/pm9261/partition.c deleted file mode 100644 index 23ab8cf8a0..0000000000 --- a/board/ronetix/pm9261/partition.c +++ /dev/null @@ -1,33 +0,0 @@ -/* - * (C) Copyright 2008 - * Ulf Samuelsson <ulf@atmel.com> - * Ilko Iliev <www.ronetix.at> - * - * 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*/ -#ifdef CONFIG_SYS_USE_DATAFLASH -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"}, - {0x00042000, 0x00251FFF, FLAG_PROTECT_CLEAR, 0, "Kernel"}, - {0x00252000, 0xFFFFFFFF, FLAG_PROTECT_CLEAR, 0, "FS"}, -}; -#else -dataflash_protect_t area_list[NB_DATAFLASH_AREA] = { - {0x00000000, 0xFFFFFFFF, FLAG_PROTECT_CLEAR, 0, ""}, -}; - -#endif |