flash: complete CONFIG_SYS_NO_FLASH move with renaming
We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is not completed. Finish this work by the tool. During this move, let's rename it to CONFIG_MTD_NOR_FLASH. Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH" than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will make the code more readable. Besides, negative meaning symbols do not fit in obj-$(CONFIG_...) style Makefiles. This commit was created as follows: [1] Edit "default n" to "default y" in the config entry in common/Kconfig. [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH" [3] Rename the instances in defconfigs by the following: find . -path './configs/*_defconfig' | xargs sed -i \ -e '/CONFIG_SYS_NO_FLASH=y/d' \ -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/' [4] Change the conditionals by the following: find . -name '*.[ch]' | xargs sed -i \ -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \ -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \ -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \ -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/' [5] Modify the following manually - Rename the rest of instances - Remove the description from README - Create the new Kconfig entry in drivers/mtd/Kconfig - Remove the old Kconfig entry from common/Kconfig - Remove the garbage comments from include/configs/*.h Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
a931e9975b
commit
e856bdcfb4
13
README
13
README
@ -2780,19 +2780,6 @@ The following options need to be configured:
|
||||
this is instead controlled by the value of
|
||||
/config/load-environment.
|
||||
|
||||
- Parallel Flash support:
|
||||
CONFIG_SYS_NO_FLASH
|
||||
|
||||
Traditionally U-Boot was run on systems with parallel NOR
|
||||
flash. This option is used to disable support for parallel NOR
|
||||
flash. This option should be defined if the board does not have
|
||||
parallel flash.
|
||||
|
||||
If this option is not defined one of the generic flash drivers
|
||||
(e.g. CONFIG_FLASH_CFI_DRIVER or CONFIG_ST_SMI) must be
|
||||
selected or the board must provide an implementation of the
|
||||
flash API (see include/flash.h).
|
||||
|
||||
- DataFlash Support:
|
||||
CONFIG_HAS_DATAFLASH
|
||||
|
||||
|
@ -1463,7 +1463,7 @@ void select_ldb_di_clock_source(enum ldb_di_clock clk)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
void enable_eim_clk(unsigned char enable)
|
||||
{
|
||||
u32 reg;
|
||||
|
@ -75,7 +75,7 @@ int board_eth_init(bd_t *bis)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIG_SYS_NO_FLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH)
|
||||
|
||||
#include <mtd/cfi_flash.h>
|
||||
|
||||
@ -157,11 +157,11 @@ static void detect_num_flash_banks(void)
|
||||
|
||||
debug("number of flash banks: %d\n", cfi_flash_num_flash_banks);
|
||||
}
|
||||
#else /* CONFIG_SYS_NO_FLASH */
|
||||
#else /* CONFIG_MTD_NOR_FLASH */
|
||||
static void detect_num_flash_banks(void)
|
||||
{
|
||||
};
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
|
||||
void support_card_late_init(void)
|
||||
{
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#if !defined(CONFIG_SYS_NO_FLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH)
|
||||
extern flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
|
||||
#endif
|
||||
|
||||
@ -124,7 +124,7 @@ int board_early_init_f(void)
|
||||
|
||||
int misc_init_r(void)
|
||||
{
|
||||
#if !defined(CONFIG_SYS_NO_FLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH)
|
||||
uint pbcr;
|
||||
int size_val = 0;
|
||||
#endif
|
||||
@ -136,7 +136,7 @@ int misc_init_r(void)
|
||||
#endif
|
||||
u32 reg;
|
||||
|
||||
#if !defined(CONFIG_SYS_NO_FLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH)
|
||||
/* Re-do flash sizing to get full correct info */
|
||||
|
||||
/* adjust flash start and offset */
|
||||
@ -176,7 +176,7 @@ int misc_init_r(void)
|
||||
CONFIG_ENV_ADDR_REDUND + 2*CONFIG_ENV_SECT_SIZE - 1,
|
||||
&flash_info[0]);
|
||||
#endif
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
|
||||
/*
|
||||
* USB suff...
|
||||
|
@ -166,14 +166,14 @@ static void at91sam9263ek_lcd_hw_init(void)
|
||||
#include <nand.h>
|
||||
#include <version.h>
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
extern flash_info_t flash_info[];
|
||||
#endif
|
||||
|
||||
void lcd_show_board_info(void)
|
||||
{
|
||||
ulong dram_size, nand_size;
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
ulong flash_size;
|
||||
#endif
|
||||
int i;
|
||||
@ -192,7 +192,7 @@ void lcd_show_board_info(void)
|
||||
nand_size = 0;
|
||||
for (i = 0; i < CONFIG_SYS_MAX_NAND_DEVICE; i++)
|
||||
nand_size += nand_info[i]->size;
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
flash_size = 0;
|
||||
for (i = 0; i < CONFIG_SYS_MAX_FLASH_BANKS; i++)
|
||||
flash_size += flash_info[i].size;
|
||||
@ -200,7 +200,7 @@ void lcd_show_board_info(void)
|
||||
lcd_printf (" %ld MB SDRAM, %ld MB NAND",
|
||||
dram_size >> 20,
|
||||
nand_size >> 20 );
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
lcd_printf (",\n %ld MB NOR",
|
||||
flash_size >> 20);
|
||||
#endif
|
||||
|
@ -68,7 +68,7 @@ void sama5d3xek_nand_hw_init(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
static void sama5d3xek_nor_hw_init(void)
|
||||
{
|
||||
struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC;
|
||||
@ -236,7 +236,7 @@ int board_init(void)
|
||||
#ifdef CONFIG_NAND_ATMEL
|
||||
sama5d3xek_nand_hw_init();
|
||||
#endif
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
sama5d3xek_nor_hw_init();
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_USB
|
||||
|
@ -29,7 +29,7 @@ int checkboard(void)
|
||||
#if defined(CONFIG_BFIN_MAC)
|
||||
static void board_init_enetaddr(uchar *mac_addr)
|
||||
{
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* we cram the MAC in the last flash sector */
|
||||
uchar *board_mac_addr = (uchar *)0x203F0096;
|
||||
if (is_valid_ethaddr(board_mac_addr)) {
|
||||
@ -136,7 +136,7 @@ int misc_init_r(void)
|
||||
board_init_enetaddr(enetaddr);
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* we use the last sector for the MAC address / POST LDR */
|
||||
extern flash_info_t flash_info[];
|
||||
flash_protect(FLAG_PROTECT_SET, 0x203F0000, 0x203FFFFF, &flash_info[0]);
|
||||
|
@ -26,7 +26,7 @@ int checkboard(void)
|
||||
#ifdef CONFIG_BFIN_MAC
|
||||
static void board_init_enetaddr(uchar *mac_addr)
|
||||
{
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* we cram the MAC in the last flash sector */
|
||||
uchar *board_mac_addr = (uchar *)0x203F0096;
|
||||
if (is_valid_ethaddr(board_mac_addr)) {
|
||||
@ -50,7 +50,7 @@ int misc_init_r(void)
|
||||
board_init_enetaddr(enetaddr);
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* we use the last sector for the MAC address / POST LDR */
|
||||
extern flash_info_t flash_info[];
|
||||
flash_protect(FLAG_PROTECT_SET, 0x203F0000, 0x203FFFFF, &flash_info[0]);
|
||||
|
@ -29,7 +29,7 @@ int checkboard(void)
|
||||
#ifdef CONFIG_BFIN_MAC
|
||||
static void board_init_enetaddr(uchar *mac_addr)
|
||||
{
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* we cram the MAC in the last flash sector */
|
||||
uchar *board_mac_addr = (uchar *)0x203F0000;
|
||||
if (is_valid_ethaddr(board_mac_addr)) {
|
||||
@ -54,7 +54,7 @@ int misc_init_r(void)
|
||||
board_init_enetaddr(enetaddr);
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* we use the last sector for the MAC address / POST LDR */
|
||||
extern flash_info_t flash_info[];
|
||||
flash_protect(FLAG_PROTECT_SET, 0x203F0000, 0x203FFFFF, &flash_info[0]);
|
||||
|
@ -36,7 +36,7 @@ int checkboard(void)
|
||||
#ifdef CONFIG_BFIN_MAC
|
||||
static void board_init_enetaddr(uchar *mac_addr)
|
||||
{
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* we cram the MAC in the last flash sector */
|
||||
uchar *board_mac_addr = (uchar *)0x202F0000;
|
||||
if (is_valid_ethaddr(board_mac_addr)) {
|
||||
@ -63,7 +63,7 @@ int misc_init_r(void)
|
||||
board_init_enetaddr(enetaddr);
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* we use the last sector for the MAC address / POST LDR */
|
||||
extern flash_info_t flash_info[];
|
||||
flash_protect(FLAG_PROTECT_SET, 0x202F0000, 0x202FFFFF, &flash_info[0]);
|
||||
|
@ -151,7 +151,7 @@ void dsp_ddr_configure(void)
|
||||
|
||||
int board_early_init_r(void)
|
||||
{
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
const unsigned int flashbase = CONFIG_SYS_FLASH_BASE;
|
||||
int flash_esel = find_tlb_idx((void *)flashbase, 1);
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <asm/mmu.h>
|
||||
|
||||
struct law_entry law_table[] = {
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_IFC),
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_BMAN_MEM_PHYS
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <asm/mmu.h>
|
||||
|
||||
struct law_entry law_table[] = {
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_IFC),
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_BMAN_MEM_PHYS
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <asm/mmu.h>
|
||||
|
||||
struct law_entry law_table[] = {
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_IFC),
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_BMAN_MEM_PHYS
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <asm/mmu.h>
|
||||
|
||||
struct law_entry law_table[] = {
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_IFC),
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_BMAN_MEM_PHYS
|
||||
|
@ -136,7 +136,7 @@ void s_init(void)
|
||||
/* SCIF Init */
|
||||
pin_init();
|
||||
|
||||
#if !defined(CONFIG_SYS_NO_FLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH)
|
||||
struct rcar_lbsc *lbsc = (struct rcar_lbsc *)LBSC_BASE;
|
||||
struct rcar_dbsc3 *dbsc3_0 = (struct rcar_dbsc3 *)DBSC3_0_BASE;
|
||||
|
||||
@ -300,7 +300,7 @@ void s_init(void)
|
||||
|
||||
/* This locks the access to the PHY unit registers */
|
||||
writel(0x00000000, &dbsc3_0->dbpdlck);
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
|
||||
}
|
||||
|
||||
@ -368,21 +368,21 @@ int board_init(void)
|
||||
gpio_request(GPIO_FN_A17, NULL);
|
||||
gpio_request(GPIO_FN_A18, NULL);
|
||||
gpio_request(GPIO_FN_A19, NULL);
|
||||
#if defined(CONFIG_SYS_NO_FLASH)
|
||||
#if !defined(CONFIG_MTD_NOR_FLASH)
|
||||
gpio_request(GPIO_FN_MOSI_IO0, NULL);
|
||||
gpio_request(GPIO_FN_MISO_IO1, NULL);
|
||||
gpio_request(GPIO_FN_IO2, NULL);
|
||||
gpio_request(GPIO_FN_IO3, NULL);
|
||||
gpio_request(GPIO_FN_SPCLK, NULL);
|
||||
gpio_request(GPIO_FN_SSL, NULL);
|
||||
#else /* CONFIG_SYS_NO_FLASH */
|
||||
#else /* CONFIG_MTD_NOR_FLASH */
|
||||
gpio_request(GPIO_FN_A20, NULL);
|
||||
gpio_request(GPIO_FN_A21, NULL);
|
||||
gpio_request(GPIO_FN_A22, NULL);
|
||||
gpio_request(GPIO_FN_A23, NULL);
|
||||
gpio_request(GPIO_FN_A24, NULL);
|
||||
gpio_request(GPIO_FN_A25, NULL);
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
|
||||
gpio_request(GPIO_FN_CS1_A26, NULL);
|
||||
gpio_request(GPIO_FN_EX_CS0, NULL);
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#include <flash.h>
|
||||
|
||||
#ifdef CONFIG_SYS_NO_FLASH
|
||||
#ifndef CONFIG_MTD_NOR_FLASH
|
||||
# define OFFSET_ADJUSTMENT 0
|
||||
#else
|
||||
# define OFFSET_ADJUSTMENT (flash_info[id.num].start[0])
|
||||
|
34
cmd/flash.c
34
cmd/flash.c
@ -25,7 +25,7 @@ int find_dev_and_part(const char *id, struct mtd_device **dev,
|
||||
u8 *part_num, struct part_info **part);
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
#include <flash.h>
|
||||
#include <mtd/cfi_flash.h>
|
||||
extern flash_info_t flash_info[]; /* info for FLASH chips */
|
||||
@ -271,11 +271,11 @@ flash_fill_sect_ranges (ulong addr_first, ulong addr_last,
|
||||
|
||||
return rcode;
|
||||
}
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
|
||||
static int do_flinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
ulong bank;
|
||||
#endif
|
||||
|
||||
@ -283,7 +283,7 @@ static int do_flinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
dataflash_print_info();
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
if (argc == 1) { /* print info for all FLASH banks */
|
||||
for (bank=0; bank <CONFIG_SYS_MAX_FLASH_BANKS; ++bank) {
|
||||
printf ("\nBank # %ld: ", bank+1);
|
||||
@ -301,13 +301,13 @@ static int do_flinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
}
|
||||
printf ("\nBank # %ld: ", bank);
|
||||
flash_print_info (&flash_info[bank-1]);
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int do_flerase(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
flash_info_t *info = NULL;
|
||||
ulong bank, addr_first, addr_last;
|
||||
int n, sect_first = 0, sect_last = 0;
|
||||
@ -395,10 +395,10 @@ static int do_flerase(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
return rcode;
|
||||
#else
|
||||
return 0;
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
}
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
int flash_sect_erase (ulong addr_first, ulong addr_last)
|
||||
{
|
||||
flash_info_t *info;
|
||||
@ -436,12 +436,12 @@ int flash_sect_erase (ulong addr_first, ulong addr_last)
|
||||
}
|
||||
return rcode;
|
||||
}
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
|
||||
static int do_protect(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
int rcode = 0;
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
flash_info_t *info = NULL;
|
||||
ulong bank;
|
||||
int i, n, sect_first = 0, sect_last = 0;
|
||||
@ -450,11 +450,11 @@ static int do_protect(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
struct part_info *part;
|
||||
u8 dev_type, dev_num, pnum;
|
||||
#endif
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
#ifdef CONFIG_HAS_DATAFLASH
|
||||
int status;
|
||||
#endif
|
||||
#if !defined(CONFIG_SYS_NO_FLASH) || defined(CONFIG_HAS_DATAFLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH) || defined(CONFIG_HAS_DATAFLASH)
|
||||
int p;
|
||||
ulong addr_first, addr_last;
|
||||
#endif
|
||||
@ -462,7 +462,7 @@ static int do_protect(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
if (argc < 3)
|
||||
return CMD_RET_USAGE;
|
||||
|
||||
#if !defined(CONFIG_SYS_NO_FLASH) || defined(CONFIG_HAS_DATAFLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH) || defined(CONFIG_HAS_DATAFLASH)
|
||||
if (strcmp(argv[1], "off") == 0)
|
||||
p = 0;
|
||||
else if (strcmp(argv[1], "on") == 0)
|
||||
@ -489,7 +489,7 @@ static int do_protect(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
if (strcmp(argv[2], "all") == 0) {
|
||||
for (bank=1; bank<=CONFIG_SYS_MAX_FLASH_BANKS; ++bank) {
|
||||
info = &flash_info[bank-1];
|
||||
@ -611,11 +611,11 @@ static int do_protect(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
return CMD_RET_USAGE;
|
||||
|
||||
rcode = flash_sect_protect (p, addr_first, addr_last);
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
return rcode;
|
||||
}
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
int flash_sect_protect (int p, ulong addr_first, ulong addr_last)
|
||||
{
|
||||
flash_info_t *info;
|
||||
@ -664,7 +664,7 @@ int flash_sect_protect (int p, ulong addr_first, ulong addr_last)
|
||||
}
|
||||
return rcode;
|
||||
}
|
||||
#endif /* CONFIG_SYS_NO_FLASH */
|
||||
#endif /* CONFIG_MTD_NOR_FLASH */
|
||||
|
||||
|
||||
/**************************************************/
|
||||
|
@ -151,7 +151,7 @@ static ulong load_serial(long offset)
|
||||
case SREC_DATA3:
|
||||
case SREC_DATA4:
|
||||
store_addr = addr + offset;
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
if (addr2info(store_addr)) {
|
||||
int rc;
|
||||
|
||||
@ -971,7 +971,7 @@ static ulong load_serial_ymodem(ulong offset, int mode)
|
||||
store_addr = addr + offset;
|
||||
size += res;
|
||||
addr += res;
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
if (addr2info(store_addr)) {
|
||||
int rc;
|
||||
|
||||
|
@ -396,7 +396,7 @@ static int do_mem_cp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
/* check if we are copying to Flash */
|
||||
if ( (addr2info(dest) != NULL)
|
||||
#ifdef CONFIG_HAS_DATAFLASH
|
||||
@ -436,7 +436,7 @@ static int do_mem_cp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
|
||||
/* Check if we are copying from DataFlash to RAM */
|
||||
if (addr_dataflash(addr) && !addr_dataflash(dest)
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
&& (addr2info(dest) == NULL)
|
||||
#endif
|
||||
){
|
||||
|
@ -357,12 +357,6 @@ config DEFAULT_FDT_FILE
|
||||
help
|
||||
This option is used to set the default fdt file to boot OS.
|
||||
|
||||
config SYS_NO_FLASH
|
||||
bool "Disable support for parallel NOR flash"
|
||||
default n
|
||||
help
|
||||
This option is used to disable support for parallel NOR flash.
|
||||
|
||||
config VERSION_VARIABLE
|
||||
bool "add U-Boot environment variable vers"
|
||||
default n
|
||||
|
@ -355,7 +355,7 @@ static int initr_manual_reloc_cmdtable(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIG_SYS_NO_FLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH)
|
||||
static int initr_flash(void)
|
||||
{
|
||||
ulong flash_size = 0;
|
||||
@ -818,7 +818,7 @@ static init_fnc_t init_sequence_r[] = {
|
||||
arch_early_init_r,
|
||||
#endif
|
||||
power_init_board,
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
initr_flash,
|
||||
#endif
|
||||
INIT_FUNC_WATCHDOG_RESET
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <common.h>
|
||||
#include <flash.h>
|
||||
|
||||
#if !defined(CONFIG_SYS_NO_FLASH)
|
||||
#if defined(CONFIG_MTD_NOR_FLASH)
|
||||
#include <mtd/cfi_flash.h>
|
||||
|
||||
extern flash_info_t flash_info[]; /* info for FLASH chips */
|
||||
@ -221,4 +221,4 @@ void flash_perror (int err)
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
*/
|
||||
#endif /* !CONFIG_SYS_NO_FLASH */
|
||||
#endif /* !CONFIG_MTD_NOR_FLASH */
|
||||
|
@ -13,8 +13,8 @@
|
||||
#error "CONFIG_FIT and CONFIG_OF_LIBFDT are required for auto-update feature"
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_UPDATE_TFTP) && defined(CONFIG_SYS_NO_FLASH)
|
||||
#error "CONFIG_UPDATE_TFTP and CONFIG_SYS_NO_FLASH needed for legacy behaviour"
|
||||
#if defined(CONFIG_UPDATE_TFTP) && !defined(CONFIG_MTD_NOR_FLASH)
|
||||
#error "CONFIG_UPDATE_TFTP and !CONFIG_MTD_NOR_FLASH needed for legacy behaviour"
|
||||
#endif
|
||||
|
||||
#include <command.h>
|
||||
@ -44,7 +44,7 @@
|
||||
extern ulong tftp_timeout_ms;
|
||||
extern int tftp_timeout_count_max;
|
||||
extern ulong load_addr;
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
extern flash_info_t flash_info[];
|
||||
static uchar *saved_prot_info;
|
||||
#endif
|
||||
@ -96,7 +96,7 @@ static int update_load(char *filename, ulong msec_max, int cnt_max, ulong addr)
|
||||
return rv;
|
||||
}
|
||||
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
static int update_flash_protect(int prot, ulong addr_first, ulong addr_last)
|
||||
{
|
||||
uchar *sp_info_ptr;
|
||||
@ -172,7 +172,7 @@ static int update_flash_protect(int prot, ulong addr_first, ulong addr_last)
|
||||
|
||||
static int update_flash(ulong addr_source, ulong addr_first, ulong size)
|
||||
{
|
||||
#ifndef CONFIG_SYS_NO_FLASH
|
||||
#ifdef CONFIG_MTD_NOR_FLASH
|
||||
ulong addr_last = addr_first + size - 1;
|
||||
|
||||
/* round last address to the sector boundary */
|
||||
|
@ -24,6 +24,7 @@ CONFIG_ALTERA_PIO=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_ALTERA_SYSID=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_ALTERA_QSPI=y
|
||||
CONFIG_DM_ETH=y
|
||||
CONFIG_ALTERA_TSE=y
|
||||
|
@ -24,6 +24,7 @@ CONFIG_ALTERA_PIO=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_ALTERA_SYSID=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_CFI_FLASH=y
|
||||
CONFIG_DM_ETH=y
|
||||
CONFIG_ALTERA_TSE=y
|
||||
|
@ -27,6 +27,7 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -17,6 +17,7 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -27,6 +27,7 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -20,6 +20,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_DM=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -17,6 +17,7 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SST=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
CONFIG_NETDEVICES=y
|
||||
|
@ -26,6 +26,7 @@ CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_DOS_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_EON=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
|
@ -17,6 +17,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_DOS_PARTITION=y
|
||||
CONFIG_DM=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_EON=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
|
@ -18,6 +18,7 @@ CONFIG_CMD_PING=y
|
||||
CONFIG_DOS_PARTITION=y
|
||||
CONFIG_DM=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_EON=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
|
@ -15,6 +15,7 @@ CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_DOS_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_EON=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
|
@ -14,6 +14,7 @@ CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_DOS_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_EON=y
|
||||
CONFIG_SPI_FLASH_SPANSION=y
|
||||
|
@ -11,4 +11,5 @@ CONFIG_CMD_I2C=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
# CONFIG_CMD_NET is not set
|
||||
# CONFIG_CMD_NFS is not set
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
|
@ -18,5 +18,6 @@ CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -8,3 +8,4 @@ CONFIG_SYS_PROMPT="-> "
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -12,5 +12,6 @@ CONFIG_CMD_I2C=y
|
||||
# CONFIG_CMD_NET is not set
|
||||
# CONFIG_CMD_NFS is not set
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -11,5 +11,6 @@ CONFIG_CMD_I2C=y
|
||||
# CONFIG_CMD_NET is not set
|
||||
# CONFIG_CMD_NFS is not set
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -12,3 +12,4 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -12,3 +12,4 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -8,3 +8,4 @@ CONFIG_LOOPW=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
# CONFIG_CMD_NET is not set
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -9,3 +9,4 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -9,3 +9,4 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -10,3 +10,4 @@ CONFIG_SYS_PROMPT="-> "
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -12,3 +12,4 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -10,3 +10,4 @@ CONFIG_SYS_PROMPT="-> "
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -8,3 +8,4 @@ CONFIG_SYS_PROMPT="-> "
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -10,3 +10,4 @@ CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -10,3 +10,4 @@ CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -10,3 +10,4 @@ CONFIG_CMD_I2C=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
|
@ -14,5 +14,6 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -13,5 +13,6 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -16,5 +16,6 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -17,5 +17,6 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -16,5 +16,6 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -16,5 +16,6 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -16,5 +16,6 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_EXT2=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -21,6 +21,7 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_CONSOLE_EXTRA_INFO=y
|
||||
CONFIG_VIDEO_CT69000=y
|
||||
|
@ -22,6 +22,7 @@ CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MAC_PARTITION=y
|
||||
CONFIG_ISO_PARTITION=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
@ -14,5 +14,6 @@ CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -13,5 +13,6 @@ CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -13,5 +13,6 @@ CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -16,5 +16,6 @@ CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -16,5 +16,6 @@ CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_DHCP=y
|
||||
CONFIG_CMD_MII=y
|
||||
CONFIG_CMD_PING=y
|
||||
CONFIG_MTD_NOR_FLASH=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user