fds
1 #define PHYS_FLASH2_1 0xBC000000 /* Image2 Bank #1 */ 2 #elif defined (ON_BOARD_16M_FLASH_COMPONENT) 3 #define PHYS_FLASH_1 0xBCC00000 /* Image1 Bank #1 */ 4 #define PHYS_FLASH_2 0xBC000000 /* Image1 Bank #2 */ 5 #define PHYS_FLASH2_1 0xBC400000 /* Image2 Bank #1 */ 6 #define PHYS_FLASH2_2 0xBC800000 /* Image2 Bank #2 */ 7 #endif 8 #else //Non Dual Image 9 #ifdef ON_BOARD_8M_FLASH_COMPONENT 10 #define PHYS_FLASH_1 0xBC400000 /* Flash Bank #1 */ 11 #else 12 #define PHYS_FLASH_1 0xBCC00000 /* Flash Bank #1 */ 13 #endif 14 #define PHYS_FLASH_2 0xBC000000 /* Flash Bank #2 */ 15 #if defined (ON_BOARD_8M_FLASH_COMPONENT) || defined (ON_BOARD_16M_FLASH_COMPONENT) 16 #define PHYS_FLASH_START PHYS_FLASH_2 /* Address for issuing flash command */ 17 #else 18 #define PHYS_FLASH_START PHYS_FLASH_1 /* Address for issuing flash command */ 19 #endif 20 #endif 21 #elif defined (RT2883_FPGA_BOARD) || defined (RT2883_ASIC_BOARD) || \ 22 defined (RT3883_FPGA_BOARD) || defined (RT3883_ASIC_BOARD) || \ 23 defined (RT3352_FPGA_BOARD) || defined (RT3352_ASIC_BOARD) || \ 24 defined (RT5350_FPGA_BOARD) || defined (RT5350_ASIC_BOARD) || \ 25 defined (RT6855_FPGA_BOARD) || defined (RT6855_ASIC_BOARD) || \ 26 defined (MT7620_FPGA_BOARD) || defined (MT7620_ASIC_BOARD) || \ 27 defined (MT7621_FPGA_BOARD) || defined (MT7621_ASIC_BOARD) 28 #define PHYS_FLASH_START 0xBC000000 /* Flash Bank #2 */ 29 #define PHYS_FLASH_1 0xBC000000 /* Flash Bank #1 */ 30 #ifdef DUAL_IMAGE_SUPPORT 31 #if defined (ON_BOARD_2M_FLASH_COMPONENT) 32 #define PHYS_FLASH2_1 0xBC100000 /* Flash Bank #2 */ 33 #elif defined (ON_BOARD_4M_FLASH_COMPONENT) 34 #define PHYS_FLASH2_1 0xBC200000 /* Flash Bank #2 */ 35 #elif defined (ON_BOARD_8M_FLASH_COMPONENT) 36 #define PHYS_FLASH2_1 0xBC400000 /* Flash Bank #2 */
如果你觉得本文对你有帮助,请点一下左下角的“好文要顶”和“收藏该文”