|
@@ -202,15 +202,21 @@ unsigned long get_board_sys_clk(unsigned long dummy);
|
|
/* Set the local bus clock 1/8 of platform clock */
|
|
/* Set the local bus clock 1/8 of platform clock */
|
|
#define CONFIG_SYS_LBC_LCRR LCRR_CLKDIV_8
|
|
#define CONFIG_SYS_LBC_LCRR LCRR_CLKDIV_8
|
|
|
|
|
|
-#define CONFIG_SYS_FLASH_BASE 0xe8000000 /* Start of PromJet */
|
|
|
|
|
|
+/*
|
|
|
|
+ * This board doesn't have a promjet connector.
|
|
|
|
+ * However, it uses commone corenet board LAW and TLB.
|
|
|
|
+ * It is necessary to use the same start address with proper offset.
|
|
|
|
+ */
|
|
|
|
+#define CONFIG_SYS_FLASH_BASE 0xe0000000
|
|
#ifdef CONFIG_PHYS_64BIT
|
|
#ifdef CONFIG_PHYS_64BIT
|
|
-#define CONFIG_SYS_FLASH_BASE_PHYS 0xfe8000000ull
|
|
|
|
|
|
+#define CONFIG_SYS_FLASH_BASE_PHYS 0xfe0000000ull
|
|
#else
|
|
#else
|
|
#define CONFIG_SYS_FLASH_BASE_PHYS CONFIG_SYS_FLASH_BASE
|
|
#define CONFIG_SYS_FLASH_BASE_PHYS CONFIG_SYS_FLASH_BASE
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#define CONFIG_SYS_FLASH_BR_PRELIM \
|
|
#define CONFIG_SYS_FLASH_BR_PRELIM \
|
|
- (BR_PHYS_ADDR(CONFIG_SYS_FLASH_BASE_PHYS) | BR_PS_16 | BR_V)
|
|
|
|
|
|
+ (BR_PHYS_ADDR((CONFIG_SYS_FLASH_BASE_PHYS + 0x8000000)) | \
|
|
|
|
+ BR_PS_16 | BR_V)
|
|
#define CONFIG_SYS_FLASH_OR_PRELIM \
|
|
#define CONFIG_SYS_FLASH_OR_PRELIM \
|
|
((0xf8000ff7 & ~OR_GPCM_SCY & ~OR_GPCM_EHTR) \
|
|
((0xf8000ff7 & ~OR_GPCM_SCY & ~OR_GPCM_EHTR) \
|
|
| OR_GPCM_SCY_8 | OR_GPCM_EHTR_CLEAR)
|
|
| OR_GPCM_SCY_8 | OR_GPCM_EHTR_CLEAR)
|
|
@@ -294,7 +300,7 @@ unsigned long get_board_sys_clk(unsigned long dummy);
|
|
|
|
|
|
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
|
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
|
#define CONFIG_SYS_FLASH_AMD_CHECK_DQ7
|
|
#define CONFIG_SYS_FLASH_AMD_CHECK_DQ7
|
|
-#define CONFIG_SYS_FLASH_BANKS_LIST {CONFIG_SYS_FLASH_BASE_PHYS}
|
|
|
|
|
|
+#define CONFIG_SYS_FLASH_BANKS_LIST {CONFIG_SYS_FLASH_BASE_PHYS + 0x8000000}
|
|
|
|
|
|
#define CONFIG_BOARD_EARLY_INIT_F
|
|
#define CONFIG_BOARD_EARLY_INIT_F
|
|
#define CONFIG_BOARD_EARLY_INIT_R /* call board_early_init_r function */
|
|
#define CONFIG_BOARD_EARLY_INIT_R /* call board_early_init_r function */
|