mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Convert CONFIG_SYS_CORTINA_FW_IN_MMC et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_CORTINA_FW_IN_MMC CONFIG_SYS_CORTINA_FW_IN_NAND CONFIG_SYS_CORTINA_FW_IN_NOR CONFIG_SYS_CORTINA_FW_IN_REMOTE CONFIG_SYS_CORTINA_FW_IN_SPIFLASH Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -502,7 +502,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
* env is stored at 0x100000, sector size is 0x10000, ucode is stored after
|
||||
* env, so we got 0x110000.
|
||||
*/
|
||||
#define CONFIG_SYS_CORTINA_FW_IN_SPIFLASH
|
||||
#define CONFIG_SYS_FMAN_FW_ADDR 0x110000
|
||||
#define CONFIG_CORTINA_FW_ADDR 0x120000
|
||||
|
||||
@@ -512,12 +511,10 @@ unsigned long get_board_ddr_clk(void);
|
||||
* about 1MB (2048 blocks), Env is stored after the image, and the env size is
|
||||
* 0x2000 (16 blocks), 8 + 2048 + 16 = 2072, enlarge it to 2080.
|
||||
*/
|
||||
#define CONFIG_SYS_CORTINA_FW_IN_MMC
|
||||
#define CONFIG_SYS_FMAN_FW_ADDR (512 * 0x820)
|
||||
#define CONFIG_CORTINA_FW_ADDR (512 * 0x8a0)
|
||||
|
||||
#elif defined(CONFIG_NAND)
|
||||
#define CONFIG_SYS_CORTINA_FW_IN_NAND
|
||||
#define CONFIG_SYS_FMAN_FW_ADDR (3 * CONFIG_SYS_NAND_BLOCK_SIZE)
|
||||
#define CONFIG_CORTINA_FW_ADDR (4 * CONFIG_SYS_NAND_BLOCK_SIZE)
|
||||
#elif defined(CONFIG_SRIO_PCIE_BOOT_SLAVE)
|
||||
@@ -528,11 +525,9 @@ unsigned long get_board_ddr_clk(void);
|
||||
* slave SRIO or PCIE outbound window->master inbound window->
|
||||
* master LAW->the ucode address in master's memory space.
|
||||
*/
|
||||
#define CONFIG_SYS_CORTINA_FW_IN_REMOTE
|
||||
#define CONFIG_SYS_FMAN_FW_ADDR 0xFFE00000
|
||||
#define CONFIG_CORTINA_FW_ADDR 0xFFE10000
|
||||
#else
|
||||
#define CONFIG_SYS_CORTINA_FW_IN_NOR
|
||||
#define CONFIG_SYS_FMAN_FW_ADDR 0xEFF00000
|
||||
#define CONFIG_CORTINA_FW_ADDR 0xEFE00000
|
||||
#endif
|
||||
|
||||
@@ -548,7 +548,6 @@ unsigned long get_board_ddr_clk(void);
|
||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||
#define CONFIG_PHYLIB_10G
|
||||
#define CONFIG_PHY_VITESSE
|
||||
#define CONFIG_SYS_CORTINA_FW_IN_NOR
|
||||
#define CONFIG_CORTINA_FW_ADDR 0xefe00000
|
||||
#define CONFIG_CORTINA_FW_LENGTH 0x40000
|
||||
#define CONFIG_PHY_TERANETICS
|
||||
|
||||
@@ -560,7 +560,6 @@ unsigned long get_board_sys_clk(void);
|
||||
|
||||
/* MAC/PHY configuration */
|
||||
#ifdef CONFIG_FSL_MC_ENET
|
||||
#define CONFIG_SYS_CORTINA_FW_IN_NOR
|
||||
#ifdef CONFIG_QSPI_BOOT
|
||||
#define CONFIG_CORTINA_FW_ADDR 0x20980000
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user