mpc83xx: Introduce ARCH_MPC830*
Subsystems (4)
PATCH v3 36/60 mpc83xx: Normalize BR/OR option lines
In reply to Mario SixAll BR/OR option lines should have the same layout to make them easier to migrate to Kconfig. This includes using the same option macros everywhere.
The normalize the lines,
* replace function macros with their results, and
* replace hardcoded hex values with standard macros
---
v2 -> v3:
No changes
v1 -> v2:
No changes
--- include/configs/MPC8308RDB.h | 6 +++--- include/configs/MPC8313ERDB_NAND.h | 4 ++-- include/configs/MPC8313ERDB_NOR.h | 4 ++-- include/configs/MPC8323ERDB.h | 2 +- include/configs/MPC832XEMDS.h | 6 +++--- include/configs/MPC8349EMDS.h | 2 +- include/configs/MPC8349EMDS_SDRAM.h | 2 +- include/configs/MPC8349ITX.h | 2 +- include/configs/MPC837XEMDS.h | 2 +- include/configs/MPC837XERDB.h | 2 +- include/configs/caddy2.h | 2 +- include/configs/hrcon.h | 4 ++-- include/configs/ids8313.h | 10 +++++----- include/configs/kmcoge5ne.h | 12 ++++++------ include/configs/kmeter1.h | 8 ++++---- include/configs/kmopti2.h | 8 ++++---- include/configs/kmsupx5.h | 6 +++--- include/configs/kmtegr1.h | 6 +++--- include/configs/kmtepr2.h | 8 ++++---- include/configs/kmvect1.h | 8 ++++---- include/configs/mpc8308_p1m.h | 2 +- include/configs/sbc8349.h | 4 ++-- include/configs/strider.h | 4 ++-- include/configs/suvd3.h | 8 ++++---- include/configs/tuge1.h | 6 +++--- include/configs/tuxx1.h | 8 ++++---- include/configs/vme8349.h | 2 +- 27 files changed, 69 insertions(+), 69 deletions(-)
include/configs/MPC8308RDB.h +3 -3
@@ -180,7 +180,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
@@ -206,7 +206,7 @@ | BR_PS_8 /* 8 bit Port */ \ | BR_MS_FCM /* MSEL = FCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR1_PRELIM (P2SZ_TO_AM(CONFIG_SYS_NAND_WINDOW_SIZE) \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB \ | OR_FCM_CSCT \ | OR_FCM_CST \ | OR_FCM_CHT \
@@ -225,7 +225,7 @@ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid *//* 0xF0000801 */ -#define CONFIG_SYS_OR2_PRELIM (P2SZ_TO_AM(CONFIG_SYS_VSC7385_SIZE) \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_128KB \ | OR_GPCM_CSNT \ | OR_GPCM_XACS \ | OR_GPCM_SCY_15 \
include/configs/MPC8313ERDB_NAND.h +2 -2
@@ -258,7 +258,7 @@ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid *//* 0xFA000801 */ -#define CONFIG_SYS_OR3_PRELIM (P2SZ_TO_AM(CONFIG_SYS_BCSR_SIZE) \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_32KB \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \ | OR_GPCM_XACS \
@@ -279,7 +279,7 @@ | BR_PS_8 /* 8 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR2_PRELIM (P2SZ_TO_AM(CONFIG_SYS_VSC7385_SIZE) \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_128KB \ | OR_GPCM_CSNT \ | OR_GPCM_XACS \ | OR_GPCM_SCY_15 \
include/configs/MPC8313ERDB_NOR.h +2 -2
@@ -227,7 +227,7 @@ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid *//* 0xFA000801 */ -#define CONFIG_SYS_OR3_PRELIM (P2SZ_TO_AM(CONFIG_SYS_BCSR_SIZE) \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_32KB \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \ | OR_GPCM_XACS \
@@ -248,7 +248,7 @@ | BR_PS_8 /* 8 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR2_PRELIM (P2SZ_TO_AM(CONFIG_SYS_VSC7385_SIZE) \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_128KB \ | OR_GPCM_CSNT \ | OR_GPCM_XACS \ | OR_GPCM_SCY_15 \
include/configs/MPC8323ERDB.h +1 -1
@@ -146,7 +146,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_16MB \ | OR_GPCM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
include/configs/MPC832XEMDS.h +3 -3
@@ -137,7 +137,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_16MB \ | OR_GPCM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
@@ -188,7 +188,7 @@ | BR_MS_GPCM \ | BR_V)/* 0xF8008801 */ -#define CONFIG_SYS_OR2_PRELIM (P2SZ_TO_AM(CONFIG_SYS_PIB_WINDOW_SIZE) \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_32KB \ | OR_GPCM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_XACS \
@@ -207,7 +207,7 @@ | BR_MS_GPCM \ | BR_V)/* 0xF8010801 */ -#define CONFIG_SYS_OR3_PRELIM (P2SZ_TO_AM(CONFIG_SYS_PIB_WINDOW_SIZE) \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_32KB \ | OR_GPCM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_XACS \
include/configs/MPC8349EMDS.h +1 -1
@@ -127,7 +127,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_32MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
include/configs/MPC8349EMDS_SDRAM.h +1 -1
@@ -127,7 +127,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_32MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
include/configs/MPC8349ITX.h +1 -1
@@ -217,7 +217,7 @@ boards, we say we have two, but don't display a message if we find only one. */ | BR_PS_16 \ | BR_MS_GPCM \ | BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_16MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
include/configs/MPC837XEMDS.h +1 -1
@@ -166,7 +166,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_32MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
include/configs/MPC837XERDB.h +1 -1
@@ -192,7 +192,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ | OR_GPCM_XACS \ | OR_GPCM_SCY_9 \ | OR_GPCM_EHTR_SET \
include/configs/caddy2.h +1 -1
@@ -74,7 +74,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_4MB \ | OR_GPCM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
include/configs/hrcon.h +2 -2
@@ -174,7 +174,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
@@ -200,7 +200,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_FPGA0_SIZE) \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_1MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
include/configs/ids8313.h +5 -5
@@ -147,7 +147,7 @@ BR_MS_GPCM |\ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) |\ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB |\ OR_GPCM_SCY_10 |\ OR_GPCM_EHTR |\ OR_GPCM_TRLX |\
@@ -171,12 +171,12 @@#define NAND_CACHE_PAGES 64#define CONFIG_SYS_BR1_PRELIM ((CONFIG_SYS_NAND_BASE) |\ - (2<<BR_DECC_SHIFT) |\ + BR_DECC_CHK_GEN |\ BR_PS_8 |\ BR_MS_FCM |\ BR_V) -#define CONFIG_SYS_OR1_PRELIM (0xFFFF8000 |\ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB |\ OR_FCM_PGS |\ OR_FCM_CSCT |\ OR_FCM_CST |\
@@ -199,7 +199,7 @@ BR_MS_GPCM |\ BR_V) -#define CONFIG_SYS_OR2_PRELIM 0xFFFE0C74 +#define CONFIG_SYS_OR2_PRELIM (OR_AM_128KB | OR_GPCM_CSNT | OR_GPCM_ACS_DIV4 | OR_GPCM_SCY_7 | OR_GPCM_TRLX_SET)/* * CPLD setup
@@ -214,7 +214,7 @@ BR_MS_GPCM |\ BR_V) -#define CONFIG_SYS_OR3_PRELIM 0xFFFF8814 +#define CONFIG_SYS_OR3_PRELIM (OR_AM_32KB | OR_GPCM_CSNT | OR_GPCM_SCY_1 | OR_GPCM_TRLX_SET)/* * HW-Watchdog
include/configs/kmcoge5ne.h +6 -6
@@ -113,7 +113,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -130,7 +130,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_64MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -349,11 +349,11 @@#define CONFIG_SYS_BR3_PRELIM (\ CONFIG_SYS_PAXE_BASE | \ - (1 << BR_PS_SHIFT) | \ + BR_PS_8 | \ BR_V)#define CONFIG_SYS_OR3_PRELIM (\ - MEG_TO_AM(CONFIG_SYS_PAXE_SIZE) | \ + OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \
@@ -368,11 +368,11 @@#define CONFIG_SYS_BR4_PRELIM (\ CONFIG_SYS_BFTIC3_BASE |\ - (1 << BR_PS_SHIFT) | \ + BR_PS_8 | \ BR_V)#define CONFIG_SYS_OR4_PRELIM (\ - MEG_TO_AM(CONFIG_SYS_BFTIC3_SIZE) |\ + OR_AM_256MB|\ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV2 |\ OR_GPCM_SCY_2 |\
include/configs/kmeter1.h +4 -4
@@ -98,7 +98,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -115,7 +115,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_64MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -329,11 +329,11 @@#define CONFIG_SYS_BR3_PRELIM (\ CONFIG_SYS_PAXE_BASE | \ - (1 << BR_PS_SHIFT) | \ + BR_PS_8 | \ BR_V)#define CONFIG_SYS_OR3_PRELIM (\ - MEG_TO_AM(CONFIG_SYS_PAXE_SIZE) | \ + OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \
include/configs/kmopti2.h +4 -4
@@ -118,7 +118,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -135,7 +135,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -366,7 +366,7 @@ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_APP1_SIZE) | \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV4 | \ OR_GPCM_SCY_2 | \
@@ -381,7 +381,7 @@ BR_PS_16 | \ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR3_PRELIM (MEG_TO_AM(CONFIG_SYS_APP2_SIZE) | \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | \ OR_GPCM_SCY_4 | \ OR_GPCM_TRLX_CLEAR | \ OR_GPCM_EHTR_CLEAR)
include/configs/kmsupx5.h +3 -3
@@ -118,7 +118,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -135,7 +135,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -364,7 +364,7 @@ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_APP1_SIZE) | \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV4 | \ OR_GPCM_SCY_2 | \
include/configs/kmtegr1.h +3 -3
@@ -125,7 +125,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -142,7 +142,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -416,7 +416,7 @@ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR3_PRELIM (MEG_TO_AM(CONFIG_SYS_APP2_SIZE) | \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_CLEAR | \ OR_GPCM_EHTR_CLEAR)
include/configs/kmtepr2.h +4 -4
@@ -118,7 +118,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -135,7 +135,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -366,7 +366,7 @@ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_APP1_SIZE) | \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV4 | \ OR_GPCM_SCY_2 | \
@@ -381,7 +381,7 @@ BR_PS_16 | \ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR3_PRELIM (MEG_TO_AM(CONFIG_SYS_APP2_SIZE) | \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | \ OR_GPCM_SCY_4 | \ OR_GPCM_TRLX_CLEAR | \ OR_GPCM_EHTR_CLEAR)
include/configs/kmvect1.h +4 -4
@@ -117,7 +117,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -134,7 +134,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -407,13 +407,13 @@ BR_PS_16 | \ BR_MS_UPMA | \ BR_V) -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_APP1_SIZE)) +#define CONFIG_SYS_OR2_PRELIM (OR_AM_256MB)#define CONFIG_SYS_BR3_PRELIM (CONFIG_SYS_APP2_BASE | \ BR_PS_16 | \ BR_V) -#define CONFIG_SYS_OR3_PRELIM (MEG_TO_AM(CONFIG_SYS_APP2_SIZE) | \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV4 | \ OR_GPCM_SCY_3 | \
include/configs/mpc8308_p1m.h +1 -1
@@ -184,7 +184,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_64MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
include/configs/sbc8349.h +2 -2
@@ -103,7 +103,7 @@ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ | OR_GPCM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
@@ -190,7 +190,7 @@* 1111 1100 0000 0000 0110 1001 0000 0001 = FC006901 */ -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_LBC_SDRAM_SIZE) \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_64MB \ | OR_SDRAM_XAM \ | ((9 - OR_SDRAM_MIN_COLS) << OR_SDRAM_COLS_SHIFT) \ | ((13 - OR_SDRAM_MIN_ROWS) << OR_SDRAM_ROWS_SHIFT) \
include/configs/strider.h +2 -2
@@ -172,7 +172,7 @@ | BR_PS_16 /* 16 bit port */ \ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
@@ -199,7 +199,7 @@ | BR_MS_GPCM /* MSEL = GPCM */ \ | BR_V) /* valid */ -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_FPGA0_SIZE) \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_1MB \ | OR_UPM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_SCY_5 \
include/configs/suvd3.h +4 -4
@@ -115,7 +115,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -132,7 +132,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -360,13 +360,13 @@ BR_PS_16 | \ BR_MS_UPMA | \ BR_V) -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_APP1_SIZE)) +#define CONFIG_SYS_OR2_PRELIM (OR_AM_256MB)#define CONFIG_SYS_BR3_PRELIM (CONFIG_SYS_APP2_BASE | \ BR_PS_16 | \ BR_V) -#define CONFIG_SYS_OR3_PRELIM (MEG_TO_AM(CONFIG_SYS_APP2_SIZE) | \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV4 | \ OR_GPCM_SCY_3 | \
include/configs/tuge1.h +3 -3
@@ -118,7 +118,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -135,7 +135,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -364,7 +364,7 @@ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_APP1_SIZE) | \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV4 | \ OR_GPCM_SCY_2 | \
include/configs/tuxx1.h +4 -4
@@ -118,7 +118,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) | \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_5 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -135,7 +135,7 @@ BR_PS_8 | /* 8 bit port size */ \ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) -#define CONFIG_SYS_OR1_PRELIM (MEG_TO_AM(CONFIG_SYS_KMBEC_FPGA_SIZE) | \ +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \ OR_GPCM_TRLX_SET | OR_GPCM_EAD)
@@ -366,7 +366,7 @@ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_APP1_SIZE) | \ +#define CONFIG_SYS_OR2_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV4 | \ OR_GPCM_SCY_2 | \
@@ -382,7 +382,7 @@ BR_MS_GPCM | \ BR_V) -#define CONFIG_SYS_OR3_PRELIM (MEG_TO_AM(CONFIG_SYS_APP2_SIZE) | \ +#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | \ OR_GPCM_CSNT | \ OR_GPCM_ACS_DIV2 | \ OR_GPCM_SCY_2 | \
include/configs/vme8349.h +1 -1
@@ -74,7 +74,7 @@ BR_MS_GPCM | /* MSEL = GPCM */ \ BR_V) /* valid */ -#define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ +#define CONFIG_SYS_OR0_PRELIM (OR_AM_128MB \ | OR_GPCM_XAM \ | OR_GPCM_CSNT \ | OR_GPCM_ACS_DIV2 \
Signature · 1 line
2.20.1
PATCH v3 37/60 tqm834x: Expand CONFIG_SYS_OR_TIMING_FLASH macro
In reply to Mario SixWe want to normalize all BR/OR config lines as much as possible.
The TQM834x board uses CONFIG_SYS_OR_TIMING_FLASH in a OR definition, which we want to remove. But CONFIG_SYS_OR_TIMING_FLASH is also used outside of the config file.
Replace these usages with the definition of the variable, so we can remove the variable in the next patch.
---
v2 -> v3:
No changes
v1 -> v2:
No changes
--- board/tqc/tqm834x/tqm834x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
board/tqc/tqm834x/tqm834x.c +2 -2
@@ -235,8 +235,8 @@ static int detect_num_flash_banks(void)debug ("Number of flash banks detected: %d\n" , cfi_flash_num_flash_banks);/* set OR0 and BR0 */ -set_lbc_or (0 ,CONFIG_SYS_OR_TIMING_FLASH | - (-(total_size) &OR_GPCM_AM )); +set_lbc_or (0 ,OR_GPCM_CSNT |OR_GPCM_ACS_DIV4 |OR_GPCM_SCY_5 | +OR_GPCM_TRLX | (-(total_size) &OR_GPCM_AM ));set_lbc_br (0 , (CONFIG_SYS_FLASH_BASE &BR_BA ) | (BR_MS_GPCM |BR_PS_32 |BR_V ));
Signature · 1 line
2.20.1
PATCH v3 38/60 mpc83xx: Simplify BR,OR lines
In reply to Mario SixRe-format all BR,OR #define lines into single lines. This makes them harder to read, but accessible to semi-automatic replacement.
---
v2 -> v3:
No changes
v1 -> v2:
No changes
--- include/configs/MPC8308RDB.h | 46 ++++--------------- include/configs/MPC8313ERDB_NAND.h | 67 +++++++-------------------- include/configs/MPC8313ERDB_NOR.h | 66 ++++++--------------------- include/configs/MPC8315ERDB.h | 34 +++----------- include/configs/MPC8323ERDB.h | 17 ++----- include/configs/MPC832XEMDS.h | 70 ++++++----------------------- include/configs/MPC8349EMDS.h | 32 +++---------- include/configs/MPC8349EMDS_SDRAM.h | 45 ++++--------------- include/configs/MPC8349ITX.h | 60 +++++++------------------ include/configs/MPC837XEMDS.h | 52 +++++---------------- include/configs/MPC837XERDB.h | 48 +++++--------------- include/configs/TQM834x.h | 19 ++------ include/configs/caddy2.h | 31 ++++--------- include/configs/hrcon.h | 32 +++---------- include/configs/ids8313.h | 47 +++++-------------- include/configs/kmcoge5ne.h | 55 ++++++----------------- include/configs/kmeter1.h | 40 +++++------------ include/configs/kmopti2.h | 53 +++++++--------------- include/configs/kmsupx5.h | 43 +++++------------- include/configs/kmtegr1.h | 37 +++++---------- include/configs/kmtepr2.h | 57 ++++++----------------- include/configs/kmvect1.h | 46 +++++-------------- include/configs/mpc8308_p1m.h | 40 +++++------------ include/configs/sbc8349.h | 18 ++------ include/configs/strider.h | 31 +++---------- include/configs/suvd3.h | 46 +++++-------------- include/configs/tuge1.h | 43 +++++------------- include/configs/tuxx1.h | 60 ++++++------------------- include/configs/ve8313.h | 64 ++++++-------------------- include/configs/vme8349.h | 31 ++++--------- 30 files changed, 302 insertions(+), 1028 deletions(-)
include/configs/MPC8308RDB.h +9 -37
@@ -175,19 +175,9 @@#define CONFIG_SYS_FLASH_BASE 0xFE000000/* FLASH base address */ #define CONFIG_SYS_FLASH_SIZE 8/* FLASH size is 8M */ -/* Window base at flash base */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ - | OR_UPM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET) +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFE000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB | OR_UPM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ /* 127 64KB sectors and 8 8KB top sectors per device */
@@ -201,18 +191,9 @@*/ #define CONFIG_SYS_NAND_BASE 0xE0600000/* 0xE0600000 */ #define CONFIG_SYS_NAND_WINDOW_SIZE (32 * 1024)/* 0x00008000 */ -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_NAND_BASE \ - | BR_DECC_CHK_GEN /* Use HW ECC */ \ - | BR_PS_8 /* 8 bit Port */ \ - | BR_MS_FCM /* MSEL = FCM */ \ - | BR_V) /* valid */ -#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB \ - | OR_FCM_CSCT \ - | OR_FCM_CST \ - | OR_FCM_CHT \ - | OR_FCM_SCY_1 \ - | OR_FCM_TRLX \ - | OR_FCM_EHTR) +/* NAND */ +#define CONFIG_SYS_BR1_PRELIM (0xE0600000 | BR_DECC_CHK_GEN | BR_PS_8 | BR_MS_FCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB | OR_FCM_CSCT | OR_FCM_CST | OR_FCM_CHT | OR_FCM_SCY_1 | OR_FCM_TRLX | OR_FCM_EHTR)/* 0xFFFF8396 */ #ifdef CONFIG_VSC7385_ENET
@@ -220,18 +201,9 @@/* VSC7385 Base address on CS2 */ #define CONFIG_SYS_VSC7385_BASE 0xF0000000#define CONFIG_SYS_VSC7385_SIZE (128 * 1024)/* 0x00020000 */ -#define CONFIG_SYS_BR2_PRELIM (CONFIG_SYS_VSC7385_BASE \ - | BR_PS_8 /* 8-bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -/* 0xF0000801 */ -#define CONFIG_SYS_OR2_PRELIM (OR_AM_128KB \ - | OR_GPCM_CSNT \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_SETA \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET) +/* VSC7385_BASE */ +#define CONFIG_SYS_BR2_PRELIM (0xF0000000 | BR_PS_8 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR2_PRELIM (OR_AM_128KB | OR_GPCM_CSNT | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_SETA | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET)/* 0xFFFE09FF */ /* The flash address and size of the VSC7385 firmware image */ #define CONFIG_VSC7385_IMAGE 0xFE7FE000
include/configs/MPC8313ERDB_NAND.h +15 -52
91 lines not on this page · raw message
include/configs/MPC8313ERDB_NOR.h +14 -52
90 lines not on this page · raw message
include/configs/MPC8315ERDB.h +7 -27
@@ -177,33 +177,13 @@#define CONFIG_SYS_NAND_U_BOOT_OFFS 16384#define CONFIG_SYS_NAND_U_BOOT_RELOC 0x00010000 -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ - | OR_UPM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET \ - | OR_GPCM_EAD) -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_NAND_BASE \ - | BR_DECC_CHK_GEN /* Use HW ECC */ \ - | BR_PS_8 /* 8 bit port */ \ - | BR_MS_FCM /* MSEL = FCM */ \ - | BR_V) /* valid */ -#define CONFIG_SYS_OR1_PRELIM \ - (OR_AM_32KB \ - | OR_FCM_CSCT \ - | OR_FCM_CST \ - | OR_FCM_CHT \ - | OR_FCM_SCY_1 \ - | OR_FCM_TRLX \ - | OR_FCM_EHTR) -/* 0xFFFF8396 */ +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFE000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB | OR_UPM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET | OR_GPCM_EAD) + +/* NAND */ +#define CONFIG_SYS_BR1_PRELIM (0xE0600000 | BR_DECC_CHK_GEN | BR_PS_8 | BR_MS_FCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB | OR_FCM_CSCT | OR_FCM_CST | OR_FCM_CHT | OR_FCM_SCY_1 | OR_FCM_TRLX | OR_FCM_EHTR)/* Still needed for spl_minimal.c */ #define CONFIG_SYS_NAND_BR_PRELIM CONFIG_SYS_BR1_PRELIM
include/configs/MPC8323ERDB.h +3 -14
@@ -142,20 +142,9 @@#define CONFIG_SYS_FLASH_SIZE 16/* FLASH size is 16M */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR0_PRELIM (OR_AM_16MB \ - | OR_GPCM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET \ - | OR_GPCM_EAD) -/* 0xFE006FF7 */ +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFE000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_16MB | OR_GPCM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET | OR_GPCM_EAD)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 128/* sectors per device */
include/configs/MPC832XEMDS.h +14 -56
92 lines not on this page · raw message
include/configs/MPC8349EMDS.h +7 -25
@@ -123,19 +123,9 @@#define CONFIG_SYS_FLASH_BASE 0xFE000000/* start of FLASH */ #define CONFIG_SYS_FLASH_SIZE 32/* max flash size in MB */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR0_PRELIM (OR_AM_32MB \ - | OR_UPM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET \ - | OR_GPCM_EAD) +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFE000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_32MB | OR_UPM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET | OR_GPCM_EAD)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 256/* max sectors per device */
@@ -157,18 +147,10 @@*/ #define CONFIG_SYS_BCSR 0xE2400000/* Access window base at BCSR base */ -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_BCSR \ - | BR_PS_8 \ - | BR_MS_GPCM \ - | BR_V) -/* 0x00000801 */ -#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB \ - | OR_GPCM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_CLEAR \ - | OR_GPCM_EHTR_CLEAR) -/* 0xFFFFE8F0 */ + +/* BCSR */ +#define CONFIG_SYS_BR1_PRELIM (0xE2400000 | BR_PS_8 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB | OR_GPCM_XAM | OR_GPCM_CSNT | OR_GPCM_SCY_15 | OR_GPCM_TRLX_CLEAR | OR_GPCM_EHTR_CLEAR)#define CONFIG_SYS_INIT_RAM_LOCK 1#define CONFIG_SYS_INIT_RAM_ADDR 0xFD000000/* Initial RAM addr */
include/configs/MPC8349EMDS_SDRAM.h +9 -36
69 lines not on this page · raw message
include/configs/MPC8349ITX.h +15 -45
82 lines not on this page · raw message
include/configs/MPC837XEMDS.h +10 -42
70 lines not on this page · raw message
include/configs/MPC837XERDB.h +12 -36
66 lines not on this page · raw message
include/configs/TQM834x.h +3 -16
@@ -76,22 +76,9 @@#define CONFIG_SYS_MAX_FLASH_SECT 512/* max sectors per device */ -/* 32 bit device at 0x80000000 via GPCM (0x8000_1801) */ -#define CONFIG_SYS_BR0_PRELIM ((CONFIG_SYS_FLASH_BASE & BR_BA) \ - | BR_MS_GPCM \ - | BR_PS_32 \ - | BR_V) - -/* FLASH timing (0x0000_0c54) */ -#define CONFIG_SYS_OR_TIMING_FLASH (OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV4 \ - | OR_GPCM_SCY_5 \ - | OR_GPCM_TRLX) - -#define CONFIG_SYS_PRELIM_OR_AM OR_AM_1GB/* OR addr mask: 1 GiB */ - -#define CONFIG_SYS_OR0_PRELIM (CONFIG_SYS_PRELIM_OR_AM \ - | CONFIG_SYS_OR_TIMING_FLASH) +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0x80000000 | BR_MS_GPCM | BR_PS_32 | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_1GB | OR_GPCM_CSNT | OR_GPCM_ACS_DIV4 | OR_GPCM_SCY_5 | OR_GPCM_TRLX_SET)/* disable remaining mappings */ #define CONFIG_SYS_BR1_PRELIM 0x00000000
include/configs/caddy2.h +8 -23
@@ -69,31 +69,16 @@*/ #define CONFIG_SYS_FLASH_BASE 0xffc00000/* start of FLASH */ #define CONFIG_SYS_FLASH_SIZE 4/* flash size in MB */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE | \ - BR_PS_16 |/* 16bit */ \ - BR_MS_GPCM | /* MSEL = GPCM */ \ - BR_V) /* valid */ - -#define CONFIG_SYS_OR0_PRELIM (OR_AM_4MB \ - | OR_GPCM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET \ - | OR_GPCM_EAD) -/* 0xffc06ff7 */ + +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFFC00000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_4MB | OR_GPCM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET | OR_GPCM_EAD)#define CONFIG_SYS_WINDOW1_BASE 0xf0000000 -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_WINDOW1_BASE \ - | BR_PS_32 \ - | BR_MS_GPCM \ - | BR_V) -/* 0xF0001801 */ -#define CONFIG_SYS_OR1_PRELIM (OR_AM_256KB \ - | OR_GPCM_SETA) -/* 0xfffc0208 */ + +/* WINDOW1 */ +#define CONFIG_SYS_BR1_PRELIM (0xF0000000 | BR_PS_32 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_256KB | OR_GPCM_SETA)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 1024/* sectors per device*/
include/configs/hrcon.h +6 -26
@@ -169,19 +169,9 @@#define CONFIG_SYS_FLASH_BASE 0xFE000000/* FLASH base address */ #define CONFIG_SYS_FLASH_SIZE 8/* FLASH size is up to 8M */ -/* Window base at flash base */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ - | OR_UPM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET) +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFE000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB | OR_UPM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 135
@@ -195,19 +185,9 @@#define CONFIG_SYS_FPGA0_BASE 0xE0600000#define CONFIG_SYS_FPGA0_SIZE 1/* FPGA size is 1M */ -/* Window base at FPGA base */ -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_FPGA0_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR1_PRELIM (OR_AM_1MB \ - | OR_UPM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET) +/* FPGA */ +#define CONFIG_SYS_BR1_PRELIM (0xE0600000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_1MB | OR_UPM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET)#define CONFIG_SYS_FPGA_BASE (k) CONFIG_SYS_FPGA0_BASE#define CONFIG_SYS_FPGA_DONE (k) 0x0010
include/configs/ids8313.h +11 -36
71 lines not on this page · raw message
include/configs/kmcoge5ne.h +13 -42
79 lines not on this page · raw message
include/configs/kmeter1.h +10 -30
@@ -93,15 +93,9 @@*/ #define CONFIG_SYS_FLASH_SIZE 256/* max FLASH size is 256M */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE | \ - BR_PS_16 |/* 16 bit port size */ \ - BR_MS_GPCM | /* MSEL = GPCM */ \ - BR_V) - -#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ - OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ - OR_GPCM_SCY_5 | \ - OR_GPCM_TRLX_SET | OR_GPCM_EAD) +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xF0000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_SCY_5 | OR_GPCM_TRLX_SET | OR_GPCM_EAD)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* max num of flash banks */ #define CONFIG_SYS_MAX_FLASH_SECT 512/* max num of sects on one chip */
@@ -110,15 +104,10 @@/* * PRIO1/PIGGY on the local bus CS1 */ -/* Window base at flash base */ -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_KMBEC_FPGA_BASE | \ - BR_PS_8 |/* 8 bit port size */ \ - BR_MS_GPCM | /* MSEL = GPCM */ \ - BR_V) -#define CONFIG_SYS_OR1_PRELIM (OR_AM_64MB | \ - OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ - OR_GPCM_SCY_2 | \ - OR_GPCM_TRLX_SET | OR_GPCM_EAD) + +/* KMBEC_FPGA */ +#define CONFIG_SYS_BR1_PRELIM (0xE8000000 | BR_PS_8 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_64MB | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_SCY_2 | OR_GPCM_TRLX_SET | OR_GPCM_EAD)/* * Serial Port
@@ -327,17 +316,8 @@#define CONFIG_SYS_PAXE_BASE 0xA0000000#define CONFIG_SYS_PAXE_SIZE 256 -#define CONFIG_SYS_BR3_PRELIM (\ - CONFIG_SYS_PAXE_BASE | \ - BR_PS_8 | \ - BR_V) - -#define CONFIG_SYS_OR3_PRELIM (\ - OR_AM_256MB | \ - OR_GPCM_CSNT | \ - OR_GPCM_ACS_DIV2 | \ - OR_GPCM_SCY_2 | \ - OR_GPCM_TRLX | \ - OR_GPCM_EAD) +/* PAXE */ +#define CONFIG_SYS_BR3_PRELIM (0xA0000000 | BR_PS_8 | BR_V) +#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_SCY_2 | OR_GPCM_TRLX_SET | OR_GPCM_EAD)#endif /* CONFIG */
include/configs/kmopti2.h +15 -38
74 lines not on this page · raw message
include/configs/kmsupx5.h +10 -33
60 lines not on this page · raw message
include/configs/kmtegr1.h +10 -27
@@ -120,15 +120,9 @@*/ #define CONFIG_SYS_FLASH_SIZE 256/* max FLASH size is 256M */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE | \ - BR_PS_16 |/* 16 bit port size */ \ - BR_MS_GPCM | /* MSEL = GPCM */ \ - BR_V) - -#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | \ - OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ - OR_GPCM_SCY_5 | \ - OR_GPCM_TRLX_SET | OR_GPCM_EAD) +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xF0000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_256MB | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_SCY_5 | OR_GPCM_TRLX_SET | OR_GPCM_EAD)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* max num of flash banks */ #define CONFIG_SYS_MAX_FLASH_SECT 512/* max num of sects on one chip */
@@ -137,15 +131,10 @@/* * PRIO1/PIGGY on the local bus CS1 */ -/* Window base at flash base */ -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_KMBEC_FPGA_BASE | \ - BR_PS_8 |/* 8 bit port size */ \ - BR_MS_GPCM | /* MSEL = GPCM */ \ - BR_V) -#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | \ - OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | \ - OR_GPCM_SCY_2 | \ - OR_GPCM_TRLX_SET | OR_GPCM_EAD) + +/* KMBEC_FPGA */ +#define CONFIG_SYS_BR1_PRELIM (0xE8000000 | BR_PS_8 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_128MB | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_SCY_2 | OR_GPCM_TRLX_SET | OR_GPCM_EAD)/* * Serial Port
@@ -411,15 +400,9 @@* */ -#define CONFIG_SYS_BR3_PRELIM (CONFIG_SYS_APP2_BASE | \ - BR_PS_16 | \ - BR_MS_GPCM | \ - BR_V) - -#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | \ - OR_GPCM_SCY_5 | \ - OR_GPCM_TRLX_CLEAR | \ - OR_GPCM_EHTR_CLEAR) +/* APP2 */ +#define CONFIG_SYS_BR3_PRELIM (0xB0000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR3_PRELIM (OR_AM_256MB | OR_GPCM_SCY_5 | OR_GPCM_TRLX_CLEAR | OR_GPCM_EHTR_CLEAR)/* ethernet port connected to piggy (UEC2) */ #define CONFIG_HAS_ETH1
include/configs/kmtepr2.h +13 -44
75 lines not on this page · raw message
include/configs/kmvect1.h +12 -34
66 lines not on this page · raw message
include/configs/mpc8308_p1m.h +11 -29
@@ -179,19 +179,9 @@#define CONFIG_SYS_FLASH_BASE 0xFC000000/* FLASH base address */ #define CONFIG_SYS_FLASH_SIZE 64/* FLASH size is 64M */ -/* Window base at flash base */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR0_PRELIM (OR_AM_64MB \ - | OR_UPM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_4 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET) +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFC000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_64MB | OR_UPM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_4 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 512
@@ -205,27 +195,19 @@* SJA1000 CAN controller on Local Bus */ #define CONFIG_SYS_SJA1000_BASE 0xFBFF0000 -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_SJA1000_BASE \ - | BR_PS_8 /* 8 bit port size */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB \ - | OR_GPCM_SCY_5 \ - | OR_GPCM_EHTR_SET) -/* 0xFFFF8052 */ + +/* SJA1000 */ +#define CONFIG_SYS_BR1_PRELIM (0xFBFF0000 | BR_PS_8 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_32KB | OR_GPCM_SCY_5 | OR_GPCM_EHTR_SET)/* * CPLD on Local Bus */ #define CONFIG_SYS_CPLD_BASE 0xFBFF8000 -#define CONFIG_SYS_BR2_PRELIM (CONFIG_SYS_CPLD_BASE \ - | BR_PS_8 /* 8 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR2_PRELIM (OR_AM_32KB \ - | OR_GPCM_SCY_4 \ - | OR_GPCM_EHTR_SET) -/* 0xFFFF8042 */ + +/* CPLD */ +#define CONFIG_SYS_BR2_PRELIM (0xFBFF8000 | BR_PS_8 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR2_PRELIM (OR_AM_32KB | OR_GPCM_SCY_4 | OR_GPCM_EHTR_SET)/* * Serial Port
include/configs/sbc8349.h +3 -15
@@ -98,21 +98,9 @@#define CONFIG_SYS_FLASH_BASE 0xFF800000/* start of FLASH */ #define CONFIG_SYS_FLASH_SIZE 8/* flash size in MB */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ - -#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ - | OR_GPCM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET \ - | OR_GPCM_EAD) -/* 0xFF806FF7 */ +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFF800000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB | OR_GPCM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET | OR_GPCM_EAD)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 64/* sectors per device */
include/configs/strider.h +6 -25
@@ -167,19 +167,9 @@#define CONFIG_SYS_FLASH_BASE 0xFE000000/* FLASH base address */ #define CONFIG_SYS_FLASH_SIZE 8/* FLASH size is up to 8M */ -/* Window base at flash base */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ -#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB \ - | OR_UPM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET) +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xFE000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_8MB | OR_UPM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 135
@@ -193,18 +183,9 @@#define CONFIG_SYS_FPGA0_BASE 0xE0600000#define CONFIG_SYS_FPGA0_SIZE 1/* FPGA size is 1M */ -/* Window base at FPGA base */ -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_FPGA0_BASE \ - | BR_PS_16 /* 16 bit port */ \ - | BR_MS_GPCM /* MSEL = GPCM */ \ - | BR_V)/* valid */ - -#define CONFIG_SYS_OR1_PRELIM (OR_AM_1MB \ - | OR_UPM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_SCY_5 \ - | OR_GPCM_TRLX_CLEAR \ - | OR_GPCM_EHTR_CLEAR) +/* FPGA */ +#define CONFIG_SYS_BR1_PRELIM (0xE0600000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_1MB | OR_UPM_XAM | OR_GPCM_CSNT | OR_GPCM_SCY_5 | OR_GPCM_TRLX_CLEAR | OR_GPCM_EHTR_CLEAR)#define CONFIG_SYS_FPGA_BASE (k) CONFIG_SYS_FPGA0_BASE#define CONFIG_SYS_FPGA_DONE (k) 0x0010
include/configs/suvd3.h +12 -34
66 lines not on this page · raw message
include/configs/tuge1.h +10 -33
60 lines not on this page · raw message
include/configs/tuxx1.h +13 -47
79 lines not on this page · raw message
include/configs/ve8313.h +13 -51
76 lines not on this page · raw message
include/configs/vme8349.h +8 -23
@@ -69,31 +69,16 @@*/ #define CONFIG_SYS_FLASH_BASE 0xf8000000/* start of FLASH */ #define CONFIG_SYS_FLASH_SIZE 128/* flash size in MB */ -#define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE | \ - BR_PS_16 |/* 16bit */ \ - BR_MS_GPCM | /* MSEL = GPCM */ \ - BR_V) /* valid */ - -#define CONFIG_SYS_OR0_PRELIM (OR_AM_128MB \ - | OR_GPCM_XAM \ - | OR_GPCM_CSNT \ - | OR_GPCM_ACS_DIV2 \ - | OR_GPCM_XACS \ - | OR_GPCM_SCY_15 \ - | OR_GPCM_TRLX_SET \ - | OR_GPCM_EHTR_SET \ - | OR_GPCM_EAD) -/* 0xf8006ff7 */ + +/* FLASH */ +#define CONFIG_SYS_BR0_PRELIM (0xF8000000 | BR_PS_16 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR0_PRELIM (OR_AM_128MB | OR_GPCM_XAM | OR_GPCM_CSNT | OR_GPCM_ACS_DIV2 | OR_GPCM_XACS | OR_GPCM_SCY_15 | OR_GPCM_TRLX_SET | OR_GPCM_EHTR_SET | OR_GPCM_EAD)#define CONFIG_SYS_WINDOW1_BASE 0xf0000000 -#define CONFIG_SYS_BR1_PRELIM (CONFIG_SYS_WINDOW1_BASE \ - | BR_PS_32 \ - | BR_MS_GPCM \ - | BR_V) -/* 0xF0001801 */ -#define CONFIG_SYS_OR1_PRELIM (OR_AM_256KB \ - | OR_GPCM_SETA) -/* 0xfffc0208 */ + +/* WINDOW1 */ +#define CONFIG_SYS_BR1_PRELIM (0xF0000000 | BR_PS_32 | BR_MS_GPCM | BR_V) +#define CONFIG_SYS_OR1_PRELIM (OR_AM_256KB | OR_GPCM_SETA)#define CONFIG_SYS_MAX_FLASH_BANKS 1/* number of banks */ #define CONFIG_SYS_MAX_FLASH_SECT 1024/* sectors per device*/
Signature · 1 line
2.20.1
PATCH v3 39/60 sbc8349: Remove SDRAM functionality
In reply to Mario SixThe MPC8349EMDS configuration was the basis for the sbc8349, so it also contains its SDRAM option.
Since
* the SDRAM has to be soldered onto the board,
* the sbc8349 never used the support, and
* the support never worked (see previous patch fixing it),
we can assume that the support on the sbc8349 is an artifact created by copying the MPC8349EMDS config wholesome.
Hence, instead of creating a separate sbc8349 config that supports SDRAM, we can remove the SDRAM option for this board.
Should it be needed in the future, it can be copied from the new MPC8349EMDS_SDRAM board.
---
v2 -> v3:
No changes
v1 -> v2:
No changes
--- include/configs/sbc8349.h | 67 --------------------------------------- 1 file changed, 67 deletions(-)
include/configs/sbc8349.h +0 -67
@@ -142,73 +142,6 @@#undef CONFIG_SYS_LB_SDRAM/* if board has SDRAM on local bus */ -#ifdef CONFIG_SYS_LB_SDRAM -/* Local bus BR2, OR2 definition for SDRAM if soldered on the board*/ -/* -* Base Register 2 and Option Register 2 configure SDRAM. -* The SDRAM base address, CONFIG_SYS_LBC_SDRAM_BASE, is 0xf0000000. -* -* For BR2, need: -* Base address of 0xf0000000 = BR[0:16] = 1111 0000 0000 0000 0 -* port-size = 32-bits = BR2[19:20] = 11 -* no parity checking = BR2[21:22] = 00 -* SDRAM for MSEL = BR2[24:26] = 011 -* Valid = BR[31] = 1 -* -* 0 4 8 12 16 20 24 28 -* 1111 0000 0000 0000 0001 1000 0110 0001 = F0001861 -*/ - -#define CONFIG_SYS_BR2_PRELIM (CONFIG_SYS_LBC_SDRAM_BASE \ - | BR_PS_32 \ - | BR_MS_SDRAM \ - | BR_V) -/* 0xF0001861 */ -/* -* The SDRAM size in MB, CONFIG_SYS_LBC_SDRAM_SIZE, is 64. -* -* For OR2, need: -* 64MB mask for AM, OR2[0:7] = 1111 1100 -* XAM, OR2[17:18] = 11 -* 9 columns OR2[19-21] = 010 -* 13 rows OR2[23-25] = 100 -* EAD set for extra time OR[31] = 1 -* -* 0 4 8 12 16 20 24 28 -* 1111 1100 0000 0000 0110 1001 0000 0001 = FC006901 -*/ - -#define CONFIG_SYS_OR2_PRELIM (OR_AM_64MB \ - | OR_SDRAM_XAM \ - | ((9 - OR_SDRAM_MIN_COLS) << OR_SDRAM_COLS_SHIFT) \ - | ((13 - OR_SDRAM_MIN_ROWS) << OR_SDRAM_ROWS_SHIFT) \ - | OR_SDRAM_EAD) -/* 0xFC006901 */ - -/* LB sdram refresh timer, about 6us */ -#define CONFIG_SYS_LBC_LSRT 0x32000000 -/* LB refresh timer prescal, 266MHz/32 */ -#define CONFIG_SYS_LBC_MRTPR 0x20000000 - -#define CONFIG_SYS_LBC_LSDMR_COMMON (LSDMR_RFEN \ - | LSDMR_BSMA1516 \ - | LSDMR_RFCR8 \ - | LSDMR_PRETOACT6 \ - | LSDMR_ACTTORW3 \ - | LSDMR_BL8 \ - | LSDMR_WRC3 \ - | LSDMR_CL3) - -/* -* SDRAM Controller configuration sequence. -*/ -#define CONFIG_SYS_LBC_LSDMR_1 (CONFIG_SYS_LBC_LSDMR_COMMON | LSDMR_OP_PCHALL) -#define CONFIG_SYS_LBC_LSDMR_2 (CONFIG_SYS_LBC_LSDMR_COMMON | LSDMR_OP_ARFRSH) -#define CONFIG_SYS_LBC_LSDMR_3 (CONFIG_SYS_LBC_LSDMR_COMMON | LSDMR_OP_ARFRSH) -#define CONFIG_SYS_LBC_LSDMR_4 (CONFIG_SYS_LBC_LSDMR_COMMON | LSDMR_OP_MRW) -#define CONFIG_SYS_LBC_LSDMR_5 (CONFIG_SYS_LBC_LSDMR_COMMON | LSDMR_OP_NORMAL) -#endif -/* * Serial Port */
Signature · 1 line
2.20.1
PATCH v3 40/60 mpc83xx: Migrate CONFIG_SYS_{BR, OR}*_PRELIM to Kconfig
In reply to Mario SixMigrate the BR/OR settings to Kconfig. These must be known at compile time, so cannot be configured via DT.
Configuration of this crucial variable should still be somewhat comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these.
---
v2 -> v3:
No changes
v1 -> v2:
No changes
--- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/cpu_init.c | 1 + arch/powerpc/cpu/mpc83xx/elbc/Kconfig | 32 + arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0 | 733 ++++++++++++++++++++ arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1 | 733 ++++++++++++++++++++ arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2 | 733 ++++++++++++++++++++ arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3 | 733 ++++++++++++++++++++ arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4 | 733 ++++++++++++++++++++ arch/powerpc/cpu/mpc83xx/elbc/elbc.h | 186 +++++ arch/powerpc/cpu/mpc83xx/spl_minimal.c | 1 + arch/powerpc/cpu/mpc8xxx/fsl_lbc.c | 4 + board/freescale/mpc8349itx/mpc8349itx.c | 1 + configs/MPC8308RDB_defconfig | 38 + configs/MPC8313ERDB_33_defconfig | 50 ++ configs/MPC8313ERDB_66_defconfig | 50 ++ configs/MPC8313ERDB_NAND_33_defconfig | 50 ++ configs/MPC8313ERDB_NAND_66_defconfig | 50 ++ configs/MPC8315ERDB_defconfig | 27 + configs/MPC8323ERDB_defconfig | 14 + configs/MPC832XEMDS_ATM_defconfig | 53 ++ configs/MPC832XEMDS_HOST_33_defconfig | 53 ++ configs/MPC832XEMDS_HOST_66_defconfig | 53 ++ configs/MPC832XEMDS_SLAVE_defconfig | 53 ++ configs/MPC832XEMDS_defconfig | 53 ++ configs/MPC8349EMDS_PCI64_defconfig | 24 + configs/MPC8349EMDS_SDRAM_defconfig | 27 + configs/MPC8349EMDS_SLAVE_defconfig | 24 + configs/MPC8349EMDS_defconfig | 24 + configs/MPC8349ITXGP_defconfig | 47 ++ configs/MPC8349ITX_LOWBOOT_defconfig | 47 ++ configs/MPC8349ITX_defconfig | 47 ++ configs/MPC837XEMDS_HOST_defconfig | 41 ++ configs/MPC837XEMDS_SLAVE_defconfig | 41 ++ configs/MPC837XEMDS_defconfig | 41 ++ configs/MPC837XERDB_SLAVE_defconfig | 36 + configs/MPC837XERDB_defconfig | 36 + configs/TQM834x_defconfig | 10 + configs/caddy2_defconfig | 21 + configs/hrcon_defconfig | 26 + configs/hrcon_dh_defconfig | 26 + configs/ids8313_defconfig | 45 ++ configs/kmcoge5ne_defconfig | 42 ++ configs/kmeter1_defconfig | 32 + configs/kmopti2_defconfig | 42 ++ configs/kmsupx5_defconfig | 34 + configs/kmtegr1_defconfig | 30 + configs/kmtepr2_defconfig | 42 ++ configs/kmvect1_defconfig | 37 + configs/mpc8308_p1m_defconfig | 29 + configs/sbc8349_PCI_33_defconfig | 14 + configs/sbc8349_PCI_66_defconfig | 14 + configs/sbc8349_defconfig | 14 + configs/strider_con_defconfig | 23 + configs/strider_con_dp_defconfig | 23 + configs/strider_cpu_defconfig | 23 + configs/strider_cpu_dp_defconfig | 23 + configs/suvd3_defconfig | 37 + configs/tuge1_defconfig | 34 + configs/tuxx1_defconfig | 45 ++ configs/ve8313_defconfig | 45 ++ configs/vme8349_defconfig | 21 + drivers/mtd/nand/raw/fsl_elbc_spl.c | 4 + include/configs/MPC8308RDB.h | 9 - include/configs/MPC8313ERDB_NAND.h | 14 - include/configs/MPC8313ERDB_NOR.h | 14 - include/configs/MPC8315ERDB.h | 6 - include/configs/MPC8323ERDB.h | 3 - include/configs/MPC832XEMDS.h | 12 - include/configs/MPC8349EMDS.h | 6 - include/configs/MPC8349EMDS_SDRAM.h | 12 - include/configs/MPC8349ITX.h | 12 - include/configs/MPC837XEMDS.h | 9 - include/configs/MPC837XERDB.h | 9 - include/configs/TQM834x.h | 3 - include/configs/caddy2.h | 6 - include/configs/hrcon.h | 6 - include/configs/ids8313.h | 12 - include/configs/kmcoge5ne.h | 12 - include/configs/kmeter1.h | 9 - include/configs/kmopti2.h | 12 - include/configs/kmsupx5.h | 9 - include/configs/kmtegr1.h | 9 - include/configs/kmtepr2.h | 12 - include/configs/kmvect1.h | 12 - include/configs/mpc8308_p1m.h | 9 - include/configs/sbc8349.h | 3 - include/configs/strider.h | 6 - include/configs/suvd3.h | 12 - include/configs/tuge1.h | 9 - include/configs/tuxx1.h | 12 - include/configs/ve8313.h | 12 - include/configs/vme8349.h | 6 - 92 files changed, 5606 insertions(+), 277 deletions(-) create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4 create mode 100644 arch/powerpc/cpu/mpc83xx/elbc/elbc.h
arch/powerpc/cpu/mpc83xx/Kconfig +1 -0
@@ -285,6 +285,7 @@ config ARCH_MPC837X source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig" source "arch/powerpc/cpu/mpc83xx/bats/Kconfig" source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig" +source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig" menu "Legacy options"
arch/powerpc/cpu/mpc83xx/cpu_init.c +1 -0
@@ -13,6 +13,7 @@#endif #include "lblaw/lblaw.h" +#include "elbc/elbc.h" DECLARE_GLOBAL_DATA_PTR ;
arch/powerpc/cpu/mpc83xx/elbc/Kconfig new file +32 -0
@@ -0,0 +1,32 @@ +menu "ELBC register setup" + +choice + prompt "OR/BR for NAND SPL" + +config ELBC_BR_OR_NAND_PRELIM_NONE + bool "None" + +config ELBC_BR_OR_NAND_PRELIM_0 + bool "0" + +config ELBC_BR_OR_NAND_PRELIM_1 + bool "1" + +config ELBC_BR_OR_NAND_PRELIM_2 + bool "2" + +config ELBC_BR_OR_NAND_PRELIM_3 + bool "3" + +config ELBC_BR_OR_NAND_PRELIM_4 + bool "4" + +endchoice + +source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0" +source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1" +source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2" +source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3" +source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4" + +endmenu
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc0 new file +733 -0
733 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc1 new file +733 -0
733 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc2 new file +733 -0
733 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc3 new file +733 -0
733 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/elbc/Kconfig.elbc4 new file +733 -0
22 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/elbc/elbc.h new file +186 -0
186 lines not on this page · raw message
board/freescale/mpc8349itx/mpc8349itx.c +1 -0
Lines of this file are not shown. View the raw message.
configs/MPC8313ERDB_33_defconfig +50 -0
50 lines not on this page · raw message
configs/MPC8313ERDB_66_defconfig +50 -0
50 lines not on this page · raw message
configs/MPC8313ERDB_NAND_33_defconfig +50 -0
50 lines not on this page · raw message
configs/MPC8313ERDB_NAND_66_defconfig +50 -0
50 lines not on this page · raw message
configs/MPC832XEMDS_ATM_defconfig +53 -0
53 lines not on this page · raw message
configs/MPC832XEMDS_HOST_33_defconfig +53 -0
53 lines not on this page · raw message
configs/MPC832XEMDS_HOST_66_defconfig +53 -0
53 lines not on this page · raw message
configs/MPC832XEMDS_SLAVE_defconfig +53 -0
53 lines not on this page · raw message
configs/MPC832XEMDS_defconfig +53 -0
53 lines not on this page · raw message
configs/MPC8349ITXGP_defconfig +47 -0
47 lines not on this page · raw message
configs/MPC8349ITX_LOWBOOT_defconfig +47 -0
47 lines not on this page · raw message
configs/MPC8349ITX_defconfig +47 -0
47 lines not on this page · raw message
configs/MPC837XEMDS_HOST_defconfig +41 -0
41 lines not on this page · raw message
configs/MPC837XEMDS_SLAVE_defconfig +41 -0
41 lines not on this page · raw message
configs/MPC837XEMDS_defconfig +41 -0
41 lines not on this page · raw message
configs/ids8313_defconfig +45 -0
45 lines not on this page · raw message
configs/kmcoge5ne_defconfig +42 -0
42 lines not on this page · raw message
configs/kmopti2_defconfig +42 -0
42 lines not on this page · raw message
configs/kmtepr2_defconfig +42 -0
42 lines not on this page · raw message
configs/tuxx1_defconfig +45 -0
45 lines not on this page · raw message
configs/ve8313_defconfig +45 -0
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.20.1
Part of the diff is not shown here. View the raw message.
PATCH v3 41/60 powerpc: mpc83xx: Fix MPC8308 IMMR memory layout
In reply to Mario SixThe MPC8308 has two I2C controllers, but no PCI controller.
Fix the register map layout for this SoC.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/Makefile | 2 ++ arch/powerpc/include/asm/immap_83xx.h | 42 +++++++++++++++++++++++++-- 2 files changed, 41 insertions(+), 3 deletions(-)
arch/powerpc/cpu/mpc83xx/Makefile +2 -0
@@ -29,7 +29,9 @@ obj-y += interrupts.o obj-y += ecc.o obj-$(CONFIG_QE) += qe_io.o obj-$(CONFIG_FSL_SERDES) += serdes.o +ifndef CONFIG_ARCH_MPC8308 obj-$(CONFIG_PCI) += pci.o +endif obj-$(CONFIG_PCIE) += pcie.o obj-$(CONFIG_OF_LIBFDT) += fdt.o
arch/powerpc/include/asm/immap_83xx.h +39 -3
60 lines not on this page · raw message
Signature · 1 line
2.20.1
PATCH v3 42/60 powerpc: mpc83xx: Implement get_serial_clock()
In reply to Mario SixDM serial drivers on PowerPC determine their clock frequency via the get_serial_clock function. This function is not Implemented yet for MPC83xx.
This patch Implements the function so that DM serial drivers work on MPC83xx.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/speed.c | 5 +++++ 1 file changed, 5 insertions(+)
arch/powerpc/cpu/mpc83xx/speed.c +5 -0
@@ -516,6 +516,11 @@ ulong get_ddr_freq(ulong dummy)return gd->mem_clk; } +int get_serial_clock (void ) +{ +return get_bus_freq (0 ); +} +static int do_clocks (cmd_tbl_t *cmdtp,int flag,int argc,char *const argv[]) {char buf[32 ];
Signature · 1 line
2.20.1
PATCH v3 43/60 powerpc: mpc83xx: fdt: Use get_serial_clock()
In reply to Mario SixReplace the hard-coded CONFIG_SYS_NS16550_CLK value for the FDT fixup with the previously introduced get_serial_clock function
This will make it possible to activate DM for serial devices on MPC83xx later on.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/fdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/cpu/mpc83xx/fdt.c +2 -2
@@ -116,8 +116,8 @@ void ft_cpu_setup(void *blob, bd_t *bd)#endif #ifdef CONFIG_SYS_NS16550 -do_fixup_by_compat_u32 (blob,"ns16550" , -"clock-frequency" ,CONFIG_SYS_NS16550_CLK ,1 ); +do_fixup_by_compat_u32 (blob,"ns16550" , +"clock-frequency" ,get_serial_clock (),1 );#endif fdt_fixup_memory (blob, (u64 )bd->bi_memstart, (u64 )bd->bi_memsize);
Signature · 1 line
2.20.1
PATCH v3 44/60 mpc83xx: Remove last CONFIG_MPC83xx
In reply to Mario SixRemove the last instances of the CONFIG_MPC83xx symbol.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- include/configs/hrcon.h | 1 - include/configs/strider.h | 1 - 2 files changed, 2 deletions(-)
include/configs/hrcon.h +0 -1
@@ -12,7 +12,6 @@* High Level Configuration Options */ #define CONFIG_E300 1/* E300 family */ -#define CONFIG_MPC83xx 1/* MPC83xx family */ #define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC83xx_ESDHC_ADDR
include/configs/strider.h +0 -1
@@ -12,7 +12,6 @@* High Level Configuration Options */ #define CONFIG_E300 1/* E300 family */ -#define CONFIG_MPC83xx 1/* MPC83xx family */ #define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC83xx_ESDHC_ADDR
Signature · 1 line
2.20.1
PATCH v3 45/60 mpc83xx: Prepare usage of DM gpio driver
In reply to Mario SixThe MPC85xx GPIO driver was converted to handle a broader range of SoCs.
Prepare the MPC83xx code for usage of this driver.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/powerpc/include/asm/arch-mpc83xx/gpio.h +8 -0
@@ -17,7 +17,15 @@#define MAX_NUM_GPIOS (32 * MPC83XX_GPIO_CTRLRS) +struct mpc8xxx_gpio_plat { +ulong addr; +unsigned long size; +uint ngpios; +}; + +#ifndef DM_GPIO void mpc83xx_gpio_init_f (void );void mpc83xx_gpio_init_r (void ); +#endif /* DM_GPIO */ #endif /* MPC83XX_GPIO_H_ */
Signature · 1 line
2.20.1
PATCH v3 46/60 mpc83xx: Migrate HID config to Kconfig
In reply to Mario SixMirate the HID configuration settings to Kconfig.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/hid/Kconfig | 565 ++++++++++++++++++++++++++ arch/powerpc/cpu/mpc83xx/hid/hid.h | 72 ++++ arch/powerpc/cpu/mpc83xx/start.S | 1 + configs/MPC8308RDB_defconfig | 4 + configs/MPC8313ERDB_33_defconfig | 4 + configs/MPC8313ERDB_66_defconfig | 4 + configs/MPC8313ERDB_NAND_33_defconfig | 4 + configs/MPC8313ERDB_NAND_66_defconfig | 4 + configs/MPC8315ERDB_defconfig | 4 + configs/MPC8323ERDB_defconfig | 3 + configs/MPC832XEMDS_ATM_defconfig | 3 + configs/MPC832XEMDS_HOST_33_defconfig | 3 + configs/MPC832XEMDS_HOST_66_defconfig | 3 + configs/MPC832XEMDS_SLAVE_defconfig | 3 + configs/MPC832XEMDS_defconfig | 3 + configs/MPC8349EMDS_PCI64_defconfig | 3 + configs/MPC8349EMDS_SDRAM_defconfig | 3 + configs/MPC8349EMDS_SLAVE_defconfig | 3 + configs/MPC8349EMDS_defconfig | 3 + configs/MPC8349ITXGP_defconfig | 2 + configs/MPC8349ITX_LOWBOOT_defconfig | 2 + configs/MPC8349ITX_defconfig | 2 + configs/MPC837XEMDS_HOST_defconfig | 3 + configs/MPC837XEMDS_SLAVE_defconfig | 3 + configs/MPC837XEMDS_defconfig | 3 + configs/MPC837XERDB_SLAVE_defconfig | 3 + configs/MPC837XERDB_defconfig | 3 + configs/TQM834x_defconfig | 2 + configs/caddy2_defconfig | 3 + configs/hrcon_defconfig | 4 + configs/hrcon_dh_defconfig | 4 + configs/ids8313_defconfig | 3 + configs/kmcoge5ne_defconfig | 3 + configs/kmeter1_defconfig | 3 + configs/kmopti2_defconfig | 3 + configs/kmsupx5_defconfig | 3 + configs/kmtegr1_defconfig | 3 + configs/kmtepr2_defconfig | 3 + configs/kmvect1_defconfig | 3 + configs/mpc8308_p1m_defconfig | 4 + configs/sbc8349_PCI_33_defconfig | 3 + configs/sbc8349_PCI_66_defconfig | 3 + configs/sbc8349_defconfig | 3 + configs/strider_con_defconfig | 4 + configs/strider_con_dp_defconfig | 4 + configs/strider_cpu_defconfig | 4 + configs/strider_cpu_dp_defconfig | 4 + configs/suvd3_defconfig | 3 + configs/tuge1_defconfig | 3 + configs/tuxx1_defconfig | 3 + configs/ve8313_defconfig | 3 + configs/vme8349_defconfig | 3 + include/configs/MPC8308RDB.h | 9 - include/configs/MPC8313ERDB_NAND.h | 7 - include/configs/MPC8313ERDB_NOR.h | 7 - include/configs/MPC8315ERDB.h | 9 - include/configs/MPC8323ERDB.h | 8 - include/configs/MPC832XEMDS.h | 8 - include/configs/MPC8349EMDS.h | 11 - include/configs/MPC8349EMDS_SDRAM.h | 11 - include/configs/MPC8349ITX.h | 5 - include/configs/MPC837XEMDS.h | 8 - include/configs/MPC837XERDB.h | 8 - include/configs/TQM834x.h | 6 - include/configs/caddy2.h | 6 - include/configs/hrcon.h | 9 - include/configs/ids8313.h | 7 - include/configs/kmcoge5ne.h | 8 - include/configs/kmeter1.h | 8 - include/configs/kmopti2.h | 8 - include/configs/kmsupx5.h | 8 - include/configs/kmtegr1.h | 8 - include/configs/kmtepr2.h | 8 - include/configs/kmvect1.h | 8 - include/configs/mpc8308_p1m.h | 9 - include/configs/sbc8349.h | 11 - include/configs/strider.h | 9 - include/configs/suvd3.h | 8 - include/configs/tuge1.h | 8 - include/configs/tuxx1.h | 8 - include/configs/ve8313.h | 6 - include/configs/vme8349.h | 6 - scripts/config_whitelist.txt | 3 - 84 files changed, 795 insertions(+), 243 deletions(-) create mode 100644 arch/powerpc/cpu/mpc83xx/hid/Kconfig create mode 100644 arch/powerpc/cpu/mpc83xx/hid/hid.h
arch/powerpc/cpu/mpc83xx/Kconfig +1 -0
@@ -286,6 +286,7 @@ source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig" source "arch/powerpc/cpu/mpc83xx/bats/Kconfig" source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig" source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig" +source "arch/powerpc/cpu/mpc83xx/hid/Kconfig" menu "Legacy options"
arch/powerpc/cpu/mpc83xx/hid/Kconfig new file +565 -0
565 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/hid/hid.h new file +72 -0
72 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/start.S +1 -0
@@ -26,6 +26,7 @@ #include "hrcw/hrcw.h" #include "bats/bats.h" +#include "hid/hid.h" /* We don't want the MMU yet. */
configs/MPC8308RDB_defconfig +4 -0
@@ -58,6 +58,10 @@ CONFIG_LBLAW2=y CONFIG_LBLAW2_BASE=0xF0000000 CONFIG_LBLAW2_NAME="VSC7385" CONFIG_LBLAW2_LENGTH_128_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y
configs/MPC8313ERDB_33_defconfig +4 -0
@@ -73,6 +73,10 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xFA000000 CONFIG_LBLAW3_NAME="BCSR" CONFIG_LBLAW3_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_33MHZ"
configs/MPC8313ERDB_66_defconfig +4 -0
@@ -72,6 +72,10 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xFA000000 CONFIG_LBLAW3_NAME="BCSR" CONFIG_LBLAW3_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_66MHZ"
configs/MPC8313ERDB_NAND_33_defconfig +4 -0
@@ -75,6 +75,10 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xFA000000 CONFIG_LBLAW3_NAME="BCSR" CONFIG_LBLAW3_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_33MHZ"
configs/MPC8313ERDB_NAND_66_defconfig +4 -0
@@ -74,6 +74,10 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xFA000000 CONFIG_LBLAW3_NAME="BCSR" CONFIG_LBLAW3_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_66MHZ"
configs/MPC8315ERDB_defconfig +4 -0
@@ -76,6 +76,10 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE0600000 CONFIG_LBLAW1_NAME="NAND" CONFIG_LBLAW1_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8323ERDB_defconfig +3 -0
@@ -70,6 +70,9 @@ CONFIG_LBLAW0=y CONFIG_LBLAW0_BASE=0xFE000000 CONFIG_LBLAW0_NAME="FLASH" CONFIG_LBLAW0_LENGTH_32_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC832XEMDS_ATM_defconfig +3 -0
@@ -68,6 +68,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xF8008000 CONFIG_LBLAW3_NAME="PIB" CONFIG_LBLAW3_LENGTH_64_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PQ_MDS_PIB=1,PQ_MDS_PIB_ATM=1"
configs/MPC832XEMDS_HOST_33_defconfig +3 -0
@@ -88,6 +88,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xF8008000 CONFIG_LBLAW3_NAME="PIB" CONFIG_LBLAW3_LENGTH_64_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCI_33M,PQ_MDS_PIB=1"
configs/MPC832XEMDS_HOST_66_defconfig +3 -0
@@ -88,6 +88,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xF8008000 CONFIG_LBLAW3_NAME="PIB" CONFIG_LBLAW3_LENGTH_64_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCI_66M,PQ_MDS_PIB=1"
configs/MPC832XEMDS_SLAVE_defconfig +3 -0
@@ -85,6 +85,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xF8008000 CONFIG_LBLAW3_NAME="PIB" CONFIG_LBLAW3_LENGTH_64_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCISLAVE"
configs/MPC832XEMDS_defconfig +3 -0
@@ -68,6 +68,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xF8008000 CONFIG_LBLAW3_NAME="PIB" CONFIG_LBLAW3_LENGTH_64_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349EMDS_PCI64_defconfig +3 -0
@@ -53,6 +53,9 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE2400000 CONFIG_LBLAW1_NAME="BCSR" CONFIG_LBLAW1_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349EMDS_SDRAM_defconfig +3 -0
@@ -57,6 +57,9 @@ CONFIG_LBLAW2=y CONFIG_LBLAW2_BASE=0xF0000000 CONFIG_LBLAW2_NAME="SDRAM" CONFIG_LBLAW2_LENGTH_64_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_ELBC_BR0_OR0=y CONFIG_BR0_OR0_NAME="FLASH" CONFIG_BR0_OR0_BASE=0xFE000000
configs/MPC8349EMDS_SLAVE_defconfig +3 -0
@@ -51,6 +51,9 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE2400000 CONFIG_LBLAW1_NAME="BCSR" CONFIG_LBLAW1_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_PCI_ONE_PCI1=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/MPC8349EMDS_defconfig +3 -0
@@ -53,6 +53,9 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE2400000 CONFIG_LBLAW1_NAME="BCSR" CONFIG_LBLAW1_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_PCI_ONE_PCI1=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/MPC8349ITXGP_defconfig +2 -0
@@ -97,6 +97,8 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xF0000000 CONFIG_LBLAW3_NAME="CF" CONFIG_LBLAW3_LENGTH_64_KBYTES=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xFE000000"
configs/MPC8349ITX_LOWBOOT_defconfig +2 -0
@@ -97,6 +97,8 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xF0000000 CONFIG_LBLAW3_NAME="CF" CONFIG_LBLAW3_LENGTH_64_KBYTES=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349ITX_defconfig +2 -0
@@ -96,6 +96,8 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xF0000000 CONFIG_LBLAW3_NAME="CF" CONFIG_LBLAW3_LENGTH_64_KBYTES=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XEMDS_HOST_defconfig +3 -0
@@ -101,6 +101,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xE0600000 CONFIG_LBLAW3_NAME="NAND" CONFIG_LBLAW3_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XEMDS_SLAVE_defconfig +3 -0
@@ -61,6 +61,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xE0600000 CONFIG_LBLAW3_NAME="NAND" CONFIG_LBLAW3_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCISLAVE"
configs/MPC837XEMDS_defconfig +3 -0
@@ -81,6 +81,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xE0600000 CONFIG_LBLAW3_NAME="NAND" CONFIG_LBLAW3_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XERDB_SLAVE_defconfig +3 -0
@@ -61,6 +61,9 @@ CONFIG_LBLAW2=y CONFIG_LBLAW2_BASE=0xF0000000 CONFIG_LBLAW2_NAME="VSC7385" CONFIG_LBLAW2_LENGTH_128_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCISLAVE,PCIE"
configs/MPC837XERDB_defconfig +3 -0
@@ -101,6 +101,9 @@ CONFIG_LBLAW2=y CONFIG_LBLAW2_BASE=0xF0000000 CONFIG_LBLAW2_NAME="VSC7385" CONFIG_LBLAW2_LENGTH_128_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCIE"
configs/TQM834x_defconfig +2 -0
@@ -102,6 +102,8 @@ CONFIG_LBLAW2=y # CONFIG_LBLAW2_ENABLE is not set CONFIG_LBLAW3=y # CONFIG_LBLAW3_ENABLE is not set +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/caddy2_defconfig +3 -0
@@ -71,6 +71,9 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xF0000000 CONFIG_LBLAW1_NAME="WINDOW1" CONFIG_LBLAW1_LENGTH_256_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/hrcon_defconfig +4 -0
@@ -54,6 +54,10 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE0600000 CONFIG_LBLAW1_NAME="FPGA0" CONFIG_LBLAW1_LENGTH_1_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/hrcon_dh_defconfig +4 -0
@@ -54,6 +54,10 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE0600000 CONFIG_LBLAW1_NAME="FPGA0" CONFIG_LBLAW1_LENGTH_1_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/ids8313_defconfig +3 -0
@@ -70,6 +70,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xE3000000 CONFIG_LBLAW3_NAME="CPLD" CONFIG_LBLAW3_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_IMAGE_FORMAT_LEGACY=y
configs/kmcoge5ne_defconfig +3 -0
@@ -104,6 +104,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xA0000000 CONFIG_LBLAW3_NAME="PAXE" CONFIG_LBLAW3_LENGTH_512_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmeter1_defconfig +3 -0
@@ -77,6 +77,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xA0000000 CONFIG_LBLAW3_NAME="PAXE" CONFIG_LBLAW3_LENGTH_512_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmopti2_defconfig +3 -0
@@ -92,6 +92,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xB0000000 CONFIG_LBLAW3_NAME="APP2" CONFIG_LBLAW3_LENGTH_256_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmsupx5_defconfig +3 -0
@@ -78,6 +78,9 @@ CONFIG_LBLAW2=y CONFIG_LBLAW2_BASE=0xA0000000 CONFIG_LBLAW2_NAME="APP1" CONFIG_LBLAW2_LENGTH_256_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmtegr1_defconfig +3 -0
@@ -79,6 +79,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xB0000000 CONFIG_LBLAW3_NAME="APP2" CONFIG_LBLAW3_LENGTH_256_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="KMTEGR1"
configs/kmtepr2_defconfig +3 -0
@@ -92,6 +92,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xB0000000 CONFIG_LBLAW3_NAME="APP2" CONFIG_LBLAW3_LENGTH_256_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmvect1_defconfig +3 -0
@@ -93,6 +93,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xB0000000 CONFIG_LBLAW3_NAME="APP2" CONFIG_LBLAW3_LENGTH_256_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="KMVECT1"
configs/mpc8308_p1m_defconfig +4 -0
@@ -56,6 +56,10 @@ CONFIG_LBLAW2=y CONFIG_LBLAW2_BASE=0xFBFF8000 CONFIG_LBLAW2_NAME="CPLD" CONFIG_LBLAW2_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=5
configs/sbc8349_PCI_33_defconfig +3 -0
@@ -69,6 +69,9 @@ CONFIG_LBLAW0=y CONFIG_LBLAW0_BASE=0xFF800000 CONFIG_LBLAW0_NAME="FLASH" CONFIG_LBLAW0_LENGTH_8_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_PCI_64BIT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/sbc8349_PCI_66_defconfig +3 -0
@@ -69,6 +69,9 @@ CONFIG_LBLAW0=y CONFIG_LBLAW0_BASE=0xFF800000 CONFIG_LBLAW0_NAME="FLASH" CONFIG_LBLAW0_LENGTH_8_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_PCI_64BIT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/sbc8349_defconfig +3 -0
@@ -49,6 +49,9 @@ CONFIG_LBLAW0=y CONFIG_LBLAW0_BASE=0xFF800000 CONFIG_LBLAW0_NAME="FLASH" CONFIG_LBLAW0_LENGTH_8_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/strider_con_defconfig +4 -0
@@ -53,6 +53,10 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE0600000 CONFIG_LBLAW1_NAME="FPGA0" CONFIG_LBLAW1_LENGTH_1_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_con_dp_defconfig +4 -0
@@ -53,6 +53,10 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE0600000 CONFIG_LBLAW1_NAME="FPGA0" CONFIG_LBLAW1_LENGTH_1_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_cpu_defconfig +4 -0
@@ -53,6 +53,10 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE0600000 CONFIG_LBLAW1_NAME="FPGA0" CONFIG_LBLAW1_LENGTH_1_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_cpu_dp_defconfig +4 -0
@@ -53,6 +53,10 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xE0600000 CONFIG_LBLAW1_NAME="FPGA0" CONFIG_LBLAW1_LENGTH_1_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_DPM=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/suvd3_defconfig +3 -0
@@ -92,6 +92,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xB0000000 CONFIG_LBLAW3_NAME="APP2" CONFIG_LBLAW3_LENGTH_256_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SUVD3"
configs/tuge1_defconfig +3 -0
@@ -78,6 +78,9 @@ CONFIG_LBLAW2=y CONFIG_LBLAW2_BASE=0xA0000000 CONFIG_LBLAW2_NAME="APP1" CONFIG_LBLAW2_LENGTH_256_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/tuxx1_defconfig +3 -0
@@ -92,6 +92,9 @@ CONFIG_LBLAW3=y CONFIG_LBLAW3_BASE=0xB0000000 CONFIG_LBLAW3_NAME="APP2" CONFIG_LBLAW3_LENGTH_256_MBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/ve8313_defconfig +3 -0
@@ -74,6 +74,9 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0x61000000 CONFIG_LBLAW1_NAME="NAND" CONFIG_LBLAW1_LENGTH_32_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/vme8349_defconfig +3 -0
@@ -71,6 +71,9 @@ CONFIG_LBLAW1=y CONFIG_LBLAW1_BASE=0xF0000000 CONFIG_LBLAW1_NAME="WINDOW1" CONFIG_LBLAW1_LENGTH_256_KBYTES=y +CONFIG_HID0_FINAL_EMCP=y +CONFIG_HID0_FINAL_ICE=y +CONFIG_HID2_HBE=y CONFIG_PCI_64BIT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
include/configs/MPC8308RDB.h +0 -9
@@ -331,15 +331,6 @@#define CONFIG_SYS_BOOTMAPSZ (256 << 20)/* Initial Memory map for Linux */ #define CONFIG_SYS_BOOTM_LEN (64 << 20)/* Increase max gunzip size */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE | \ - HID0_ENABLE_DYNAMIC_POWER_MANAGMENT) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Environment Configuration */
include/configs/MPC8313ERDB_NAND.h +0 -7
@@ -362,13 +362,6 @@/* Enable Internal USB Phy and GPIO on LCD Connector */ #define CONFIG_SYS_SICRL (SICRL_USBDR_10 | SICRL_LBC) -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE | \ - HID0_ENABLE_DYNAMIC_POWER_MANAGMENT) - -#define CONFIG_SYS_HID2 HID2_HBE -/* * Environment Configuration */
include/configs/MPC8313ERDB_NOR.h +0 -7
@@ -335,13 +335,6 @@/* Enable Internal USB Phy and GPIO on LCD Connector */ #define CONFIG_SYS_SICRL (SICRL_USBDR_10 | SICRL_LBC) -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE | \ - HID0_ENABLE_DYNAMIC_POWER_MANAGMENT) - -#define CONFIG_SYS_HID2 HID2_HBE -/* * Environment Configuration */
include/configs/MPC8315ERDB.h +0 -9
@@ -356,15 +356,6 @@#define CONFIG_SYS_BOOTMAPSZ (256 << 20)/* Initial Memory map for Linux */ #define CONFIG_SYS_BOOTM_LEN (64 << 20)/* Increase max gunzip size */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE | \ - HID0_ENABLE_DYNAMIC_POWER_MANAGMENT) -#define CONFIG_SYS_HID2 HID2_HBE -/* * MMU Setup */
include/configs/MPC8323ERDB.h +0 -8
@@ -272,14 +272,6 @@#define CONFIG_SYS_BOOTMAPSZ (256 << 20)#define CONFIG_SYS_BOOTM_LEN (64 << 20)/* Increase max gunzip size */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -#if (CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed of kgdb serial port */ #endif
include/configs/MPC832XEMDS.h +0 -8
@@ -290,14 +290,6 @@#define CONFIG_SYS_BOOTMAPSZ (256 << 20)#define CONFIG_SYS_BOOTM_LEN (64 << 20)/* Increase max gunzip size */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -#if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed of kgdb serial port */ #endif
include/configs/MPC8349EMDS.h +0 -11
@@ -341,17 +341,6 @@#define CONFIG_SYS_SICRH 0#define CONFIG_SYS_SICRL SICRL_LDP_A -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK \ - | HID0_ENABLE_INSTRUCTION_CACHE) - -/* #define CONFIG_SYS_HID0_FINAL (\ -HID0_ENABLE_INSTRUCTION_CACHE |\ -HID0_ENABLE_M_BIT |\ -HID0_ENABLE_ADDRESS_BROADCAST) */ - -#define CONFIG_SYS_HID2 HID2_HBE -#ifdef CONFIG_PCI #define CONFIG_PCI_INDIRECT_BRIDGE #endif
include/configs/MPC8349EMDS_SDRAM.h +0 -11
@@ -396,17 +396,6 @@#define CONFIG_SYS_SICRH 0#define CONFIG_SYS_SICRL SICRL_LDP_A -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK \ - | HID0_ENABLE_INSTRUCTION_CACHE) - -/* #define CONFIG_SYS_HID0_FINAL (\ -HID0_ENABLE_INSTRUCTION_CACHE |\ -HID0_ENABLE_M_BIT |\ -HID0_ENABLE_ADDRESS_BROADCAST) */ - -#define CONFIG_SYS_HID2 HID2_HBE -#ifdef CONFIG_PCI #define CONFIG_PCI_INDIRECT_BRIDGE #endif
include/configs/MPC8349ITX.h +0 -5
@@ -425,11 +425,6 @@ boards, we say we have two, but don't display a message if we find only one. *//* USB DR as device + USB MPH as host */ #define CONFIG_SYS_SICRL (SICRL_LDP_A | SICRL_USB1) -#define CONFIG_SYS_HID0_INIT 0x00000000 -#define CONFIG_SYS_HID0_FINAL HID0_ENABLE_INSTRUCTION_CACHE - -#define CONFIG_SYS_HID2 HID2_HBE -#if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed of kgdb serial port */ #endif
include/configs/MPC837XEMDS.h +0 -8
@@ -361,14 +361,6 @@ extern int board_pci_host_broken(void);#define CONFIG_SYS_BOOTMAPSZ (256 << 20)/* Initial Memory map for Linux */ #define CONFIG_SYS_BOOTM_LEN (64 << 20)/* Increase max gunzip size */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -#if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed of kgdb serial port */ #endif
include/configs/MPC837XERDB.h +0 -8
@@ -382,14 +382,6 @@#define CONFIG_SYS_BOOTMAPSZ (256 << 20)/* Initial Memory map for Linux */ #define CONFIG_SYS_BOOTM_LEN (64 << 20)/* Increase max gunzip size */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK \ - | HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -#if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed of kgdb serial port */ #endif
include/configs/TQM834x.h +0 -6
@@ -237,12 +237,6 @@#define CONFIG_SYS_SICRH 0#define CONFIG_SYS_SICRL SICRL_LDP_A -/* i-cache and d-cache disabled */ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (CONFIG_SYS_HID0_INIT | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* PCI */ #ifdef CONFIG_PCI #define CONFIG_PCI_INDIRECT_BRIDGE
include/configs/caddy2.h +0 -6
@@ -263,12 +263,6 @@#define CONFIG_SYS_SICRH 0#define CONFIG_SYS_SICRL SICRL_LDP_A -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) - -#define CONFIG_SYS_HID2 HID2_HBE -#define CONFIG_SYS_GPIO1_PRELIM #define CONFIG_SYS_GPIO1_DIR 0x00100000#define CONFIG_SYS_GPIO1_DAT 0x00100000
include/configs/hrcon.h +0 -9
@@ -440,15 +440,6 @@ void fpga_control_clear(unsigned int bus, int pin);*/ #define CONFIG_SYS_BOOTMAPSZ (256 << 20)/* Initial Memory map for Linux */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE | \ - HID0_ENABLE_DYNAMIC_POWER_MANAGMENT) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Environment Configuration */
include/configs/ids8313.h +0 -7
@@ -30,13 +30,6 @@#define CONFIG_HWCONFIG -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK |\ - HID0_ENABLE_INSTRUCTION_CACHE |\ - HID0_DISABLE_DYNAMIC_POWER_MANAGMENT) - -#define CONFIG_SYS_HID2 (HID2_HBE | 0x00020000) -/* * Definitions for initial stack pointer and data area (in DCACHE ) */
include/configs/kmcoge5ne.h +0 -8
@@ -203,14 +203,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/kmeter1.h +0 -8
@@ -189,14 +189,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/kmopti2.h +0 -8
@@ -208,14 +208,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/kmsupx5.h +0 -8
@@ -208,14 +208,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/kmtegr1.h +0 -8
@@ -212,14 +212,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/kmtepr2.h +0 -8
@@ -208,14 +208,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/kmvect1.h +0 -8
@@ -204,14 +204,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/mpc8308_p1m.h +0 -9
@@ -309,15 +309,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (256 << 20)/* Initial Memory map for Linux */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE | \ - HID0_ENABLE_DYNAMIC_POWER_MANAGMENT) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Environment Configuration */
include/configs/sbc8349.h +0 -11
@@ -283,17 +283,6 @@#define CONFIG_SYS_SICRH 0#define CONFIG_SYS_SICRL SICRL_LDP_A -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK \ - | HID0_ENABLE_INSTRUCTION_CACHE) - -/* #define CONFIG_SYS_HID0_FINAL (\ -HID0_ENABLE_INSTRUCTION_CACHE |\ -HID0_ENABLE_M_BIT |\ -HID0_ENABLE_ADDRESS_BROADCAST) */ - -#define CONFIG_SYS_HID2 HID2_HBE -#ifdef CONFIG_PCI #define CONFIG_PCI_INDIRECT_BRIDGE #endif
include/configs/strider.h +0 -9
@@ -473,15 +473,6 @@ void fpga_control_clear(unsigned int bus, int pin);*/ #define CONFIG_SYS_BOOTMAPSZ (256 << 20)/* Initial Memory map for Linux */ -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE | \ - HID0_ENABLE_DYNAMIC_POWER_MANAGMENT) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Environment Configuration */
include/configs/suvd3.h +0 -8
@@ -205,14 +205,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/tuge1.h +0 -8
@@ -208,14 +208,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/tuxx1.h +0 -8
@@ -208,14 +208,6 @@*/ #define CONFIG_SYS_BOOTMAPSZ (8 << 20) -/* -* Core HID Setup -*/ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) -#define CONFIG_SYS_HID2 HID2_HBE -/* * Internal Definitions */
include/configs/ve8313.h +0 -6
@@ -268,12 +268,6 @@ SICRL_ETSEC2_A)/* 0x33fc0003) */ -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) - -#define CONFIG_SYS_HID2 HID2_HBE -#define CONFIG_NETDEV eth0#define CONFIG_HOSTNAME "ve8313"
include/configs/vme8349.h +0 -6
@@ -263,12 +263,6 @@#define CONFIG_SYS_SICRH 0#define CONFIG_SYS_SICRL SICRL_LDP_A -#define CONFIG_SYS_HID0_INIT 0x000000000 -#define CONFIG_SYS_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \ - HID0_ENABLE_INSTRUCTION_CACHE) - -#define CONFIG_SYS_HID2 HID2_HBE -#define CONFIG_SYS_GPIO1_PRELIM #define CONFIG_SYS_GPIO1_DIR 0x00100000#define CONFIG_SYS_GPIO1_DAT 0x00100000
scripts/config_whitelist.txt +0 -3
@@ -2973,9 +2973,6 @@ CONFIG_SYS_GPSR2_VAL CONFIG_SYS_GPSR3_VAL CONFIG_SYS_HALT_BEFOR_RAM_JUMP CONFIG_SYS_HELP_CMD_WIDTH -CONFIG_SYS_HID0_FINAL -CONFIG_SYS_HID0_INIT -CONFIG_SYS_HID2 CONFIG_SYS_HIGH CONFIG_SYS_HMI_BASE CONFIG_SYS_HOSTNAME
Signature · 1 line
2.20.1
PATCH v3 47/60 mpc83xx: Migrate CONFIG_SYS_IMMR to Kconfig
In reply to Mario SixMigrate CONFIG_SYS_IMMR to Kconfig for MPC83xx.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/Kconfig | 7 +++++++ configs/TQM834x_defconfig | 1 + configs/ids8313_defconfig | 1 + include/configs/MPC8308RDB.h | 5 ----- include/configs/MPC8313ERDB_NAND.h | 2 -- include/configs/MPC8313ERDB_NOR.h | 2 -- include/configs/MPC8315ERDB.h | 5 ----- include/configs/MPC8323ERDB.h | 5 ----- include/configs/MPC832XEMDS.h | 5 ----- include/configs/MPC8349EMDS.h | 2 -- include/configs/MPC8349EMDS_SDRAM.h | 2 -- include/configs/MPC8349ITX.h | 5 ----- include/configs/MPC837XEMDS.h | 5 ----- include/configs/MPC837XERDB.h | 5 ----- include/configs/TQM834x.h | 3 --- include/configs/caddy2.h | 2 -- include/configs/hrcon.h | 5 ----- include/configs/ids8313.h | 2 -- include/configs/kmcoge5ne.h | 5 ----- include/configs/kmeter1.h | 5 ----- include/configs/kmopti2.h | 5 ----- include/configs/kmsupx5.h | 5 ----- include/configs/kmtegr1.h | 5 ----- include/configs/kmtepr2.h | 5 ----- include/configs/kmvect1.h | 5 ----- include/configs/mpc8308_p1m.h | 5 ----- include/configs/sbc8349.h | 2 -- include/configs/strider.h | 5 ----- include/configs/suvd3.h | 5 ----- include/configs/tuge1.h | 5 ----- include/configs/tuxx1.h | 5 ----- include/configs/ve8313.h | 2 -- include/configs/vme8349.h | 2 -- 33 files changed, 9 insertions(+), 121 deletions(-)
arch/powerpc/cpu/mpc83xx/Kconfig +7 -0
@@ -282,6 +282,13 @@ config ARCH_MPC837X select MPC83XX_LDP_PIN select MPC83XX_SECOND_I2C_SUPPORT +config SYS_IMMR + hex "Value for IMMR" + default 0xE0000000 + help + Address for the Internal Memory-Mapped Registers (IMMR) window used + to configure the features of the SoC. + source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig" source "arch/powerpc/cpu/mpc83xx/bats/Kconfig" source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
configs/TQM834x_defconfig +1 -0
@@ -4,6 +4,7 @@ CONFIG_SYS_CLK_FREQ=66666000 CONFIG_MPC83xx=y CONFIG_HIGH_BATS=y CONFIG_TARGET_TQM834X=y +CONFIG_SYS_IMMR=0xff400000 CONFIG_DDR_MC_CLOCK_MODE_1_1=y CONFIG_SYSTEM_PLL_FACTOR_4_1=y CONFIG_CORE_PLL_RATIO_2_1=y
configs/ids8313_defconfig +1 -0
@@ -4,6 +4,7 @@ CONFIG_SYS_CLK_FREQ=66000000 CONFIG_MPC83xx=y CONFIG_HIGH_BATS=y CONFIG_TARGET_IDS8313=y +CONFIG_SYS_IMMR=0xF0000000 CONFIG_CORE_PLL_RATIO_2_1=y CONFIG_PCI_HOST_MODE_ENABLE=y CONFIG_BOOT_ROM_INTERFACE_GPCM_8BIT=y
include/configs/MPC8308RDB.h +0 -5
@@ -52,11 +52,6 @@SICRL_I2C2_PF0 |\ SICRL_ETSEC1_GTX_CLK125) /* 0x00000040 */ -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * SERDES */
include/configs/MPC8313ERDB_NAND.h +0 -2
@@ -54,8 +54,6 @@#define CONFIG_VSC7385_ENET #define CONFIG_TSEC2 -#define CONFIG_SYS_IMMR 0xE0000000 -#if !defined(CONFIG_SPL_BUILD )#define CONFIG_DEFAULT_IMMR CONFIG_SYS_IMMR#endif
include/configs/MPC8313ERDB_NOR.h +0 -2
@@ -30,8 +30,6 @@#define CONFIG_VSC7385_ENET #define CONFIG_TSEC2 -#define CONFIG_SYS_IMMR 0xE0000000 -#define CONFIG_SYS_MEMTEST_START 0x00001000#define CONFIG_SYS_MEMTEST_END 0x07f00000
include/configs/MPC8315ERDB.h +0 -5
@@ -31,11 +31,6 @@#define CONFIG_HWCONFIG -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Arbiter Setup */
include/configs/MPC8323ERDB.h +0 -5
@@ -20,11 +20,6 @@*/ #define CONFIG_SYS_SICRL 0x00000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * System performance */
include/configs/MPC832XEMDS.h +0 -5
@@ -17,11 +17,6 @@*/ #define CONFIG_SYS_SICRL 0x00000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * DDR Setup */
include/configs/MPC8349EMDS.h +0 -2
@@ -17,8 +17,6 @@*/ #define CONFIG_E300 1/* E300 Family */ -#define CONFIG_SYS_IMMR 0xE0000000 -#undef CONFIG_SYS_DRAM_TEST/* memory test, takes time */ #define CONFIG_SYS_MEMTEST_START 0x00000000/* memtest region */ #define CONFIG_SYS_MEMTEST_END 0x00100000
include/configs/MPC8349EMDS_SDRAM.h +0 -2
@@ -17,8 +17,6 @@*/ #define CONFIG_E300 1/* E300 Family */ -#define CONFIG_SYS_IMMR 0xE0000000 -#undef CONFIG_SYS_DRAM_TEST/* memory test, takes time */ #define CONFIG_SYS_MEMTEST_START 0x00000000/* memtest region */ #define CONFIG_SYS_MEMTEST_END 0x00100000
include/configs/MPC8349ITX.h +0 -5
@@ -39,11 +39,6 @@#ifndef __CONFIG_H#define __CONFIG_H -/* -* High Level Configuration Options -*/ -#define CONFIG_SYS_IMMR 0xE0000000/* The IMMR is relocated to here */ -#define CONFIG_MISC_INIT_F /*
include/configs/MPC837XEMDS.h +0 -5
@@ -39,11 +39,6 @@#define CONFIG_HWCONFIG -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * DDR Setup */
include/configs/MPC837XERDB.h +0 -5
@@ -46,11 +46,6 @@*/ #define CONFIG_SYS_OBIR 0x30100000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Device configurations */
include/configs/TQM834x.h +0 -3
@@ -16,9 +16,6 @@*/ #define CONFIG_E300 1/* E300 Family */ -/* IMMR Base Address Register, use Freescale default: 0xff400000 */ -#define CONFIG_SYS_IMMR 0xff400000 -/* * Local Bus LCRR * LCRR: DLL bypass, Clock divider is 8
include/configs/caddy2.h +0 -2
@@ -25,8 +25,6 @@/* Don't enable PCI2 on vme834x - it doesn't exist physically. */ #undef CONFIG_MPC83XX_PCI2/* support for 2nd PCI controller */ -#define CONFIG_SYS_IMMR 0xE0000000 -#undef CONFIG_SYS_DRAM_TEST/* memory test, takes time */ #define CONFIG_SYS_MEMTEST_START 0x00000000/* memtest region */ #define CONFIG_SYS_MEMTEST_END 0x00100000
include/configs/hrcon.h +0 -5
@@ -40,11 +40,6 @@SICRL_I2C2_PF0 |\ SICRL_ETSEC1_GTX_CLK125) /* 0x00000000 */ -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * SERDES */
include/configs/ids8313.h +0 -2
@@ -20,8 +20,6 @@#define CONFIG_BOOT_RETRY_MIN 30#define CONFIG_RESET_TO_RETRY -#define CONFIG_SYS_IMMR 0xF0000000 -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ #define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */
include/configs/kmcoge5ne.h +0 -5
@@ -40,11 +40,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/kmeter1.h +0 -5
@@ -25,11 +25,6 @@#include "km/keymile-common.h" #include "km/km-powerpc.h" -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/kmopti2.h +0 -5
@@ -45,11 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/kmsupx5.h +0 -5
@@ -45,11 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/kmtegr1.h +0 -5
@@ -52,11 +52,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/kmtepr2.h +0 -5
@@ -45,11 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/kmvect1.h +0 -5
@@ -44,11 +44,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/mpc8308_p1m.h +0 -5
@@ -55,11 +55,6 @@*/ #define CONFIG_SYS_GPIO1_DAT 0x08008C00 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * SERDES */
include/configs/sbc8349.h +0 -2
@@ -22,8 +22,6 @@/* Don't enable PCI2 on sbc834x - it doesn't exist physically. */ #undef CONFIG_MPC83XX_PCI2/* support for 2nd PCI controller */ -#define CONFIG_SYS_IMMR 0xE0000000 -#undef CONFIG_SYS_DRAM_TEST/* memory test, takes time */ #define CONFIG_SYS_MEMTEST_START 0x00000000/* memtest region */ #define CONFIG_SYS_MEMTEST_END 0x00100000
include/configs/strider.h +0 -5
@@ -40,11 +40,6 @@SICRL_I2C2_PF0 |\ SICRL_ETSEC1_TX_CLK) /* 0x00000000 */ -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * SERDES */
include/configs/suvd3.h +0 -5
@@ -42,11 +42,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/tuge1.h +0 -5
@@ -45,11 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/tuxx1.h +0 -5
@@ -45,11 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* IMMR new address -*/ -#define CONFIG_SYS_IMMR 0xE0000000 -/* * Bus Arbitration Configuration Register (ACR) */
include/configs/ve8313.h +0 -2
@@ -24,8 +24,6 @@* On-board devices * */ -#define CONFIG_SYS_IMMR 0xE0000000 -#define CONFIG_SYS_MEMTEST_START 0x00001000#define CONFIG_SYS_MEMTEST_END 0x07000000
include/configs/vme8349.h +0 -2
@@ -25,8 +25,6 @@/* Don't enable PCI2 on vme834x - it doesn't exist physically. */ #undef CONFIG_MPC83XX_PCI2/* support for 2nd PCI controller */ -#define CONFIG_SYS_IMMR 0xE0000000 -#undef CONFIG_SYS_DRAM_TEST/* memory test, takes time */ #define CONFIG_SYS_MEMTEST_START 0x00000000/* memtest region */ #define CONFIG_SYS_MEMTEST_END 0x00100000
Signature · 1 line
2.20.1
PATCH v3 48/60 mpc8308: Migrate system io config to Kconfig
In reply to Mario SixMigrate the system IO configuration setting to Kconfig.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/cpu_init.c | 1 + arch/powerpc/cpu/mpc83xx/sysio/Kconfig | 7 + .../powerpc/cpu/mpc83xx/sysio/Kconfig.mpc8308 | 323 ++++++++++++++++++ arch/powerpc/cpu/mpc83xx/sysio/sysio.h | 32 ++ configs/MPC8308RDB_defconfig | 8 + configs/hrcon_defconfig | 9 + configs/hrcon_dh_defconfig | 9 + configs/mpc8308_p1m_defconfig | 8 + configs/strider_con_defconfig | 9 + configs/strider_con_dp_defconfig | 9 + configs/strider_cpu_defconfig | 9 + configs/strider_cpu_dp_defconfig | 9 + include/configs/MPC8308RDB.h | 25 -- include/configs/hrcon.h | 25 -- include/configs/mpc8308_p1m.h | 25 -- include/configs/strider.h | 25 -- 17 files changed, 434 insertions(+), 100 deletions(-) create mode 100644 arch/powerpc/cpu/mpc83xx/sysio/Kconfig create mode 100644 arch/powerpc/cpu/mpc83xx/sysio/Kconfig.mpc8308 create mode 100644 arch/powerpc/cpu/mpc83xx/sysio/sysio.h
arch/powerpc/cpu/mpc83xx/Kconfig +1 -0
@@ -294,6 +294,7 @@ source "arch/powerpc/cpu/mpc83xx/bats/Kconfig" source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig" source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig" source "arch/powerpc/cpu/mpc83xx/hid/Kconfig" +source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig" menu "Legacy options"
arch/powerpc/cpu/mpc83xx/cpu_init.c +1 -0
@@ -14,6 +14,7 @@#include "lblaw/lblaw.h" #include "elbc/elbc.h" +#include "sysio/sysio.h" DECLARE_GLOBAL_DATA_PTR ;
arch/powerpc/cpu/mpc83xx/sysio/Kconfig new file +7 -0
@@ -0,0 +1,7 @@ +menu "System I/O configuration" + +if ARCH_MPC8308 +source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig.mpc8308" +endif + +endmenu
arch/powerpc/cpu/mpc83xx/sysio/Kconfig.mpc8308 new file +323 -0
323 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/sysio/sysio.h new file +32 -0
@@ -0,0 +1,32 @@ +#ifdef CONFIG_ARCH_MPC8308 + +#ifndef CONFIG_SYS_SICRL +#define CONFIG_SYS_SICRL (\ + CONFIG_SICRL_SPI |\ + CONFIG_SICRL_UART |\ + CONFIG_SICRL_IRQ |\ + CONFIG_SICRL_I2C2 |\ + CONFIG_SICRL_ETSEC1_A \ +) +#endif + +#ifndef CONFIG_SYS_SICRH +#define CONFIG_SYS_SICRH (\ + CONFIG_SICRH_ESDHC_A |\ + CONFIG_SICRH_ESDHC_B |\ + CONFIG_SICRH_ESDHC_C |\ + CONFIG_SICRH_GPIO_A |\ + CONFIG_SICRH_GPIO_B |\ + CONFIG_SICRH_IEEE1588_A |\ + CONFIG_SICRH_USB |\ + CONFIG_SICRH_GTM |\ + CONFIG_SICRH_IEEE1588_B |\ + CONFIG_SICRH_ETSEC2 |\ + CONFIG_SICRH_GPIOSEL |\ + CONFIG_SICRH_TMROBI |\ + CONFIG_SICRH_TMSOBI1 |\ + CONFIG_SICRH_TMSOBI2 \ +) +#endif + +#endif
configs/MPC8308RDB_defconfig +8 -0
@@ -62,6 +62,14 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_SICR_ETSEC1_A_TSEC_GTX_CLK125=y +CONFIG_SICR_GPIO_A_TSEC2=y +CONFIG_SICR_GPIO_B_TSEC_GTX_CLK125=y +CONFIG_SICR_IEEE1588_A_GPIO=y +CONFIG_SICR_GTM_GPIO=y +CONFIG_SICR_GPIOSEL_IEEE1588=y +CONFIG_SICR_TMSOBI1_2_5_V=y +CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y
configs/hrcon_defconfig +9 -0
@@ -58,6 +58,15 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_SICR_ETSEC1_A_TSEC_GTX_CLK125=y +CONFIG_SICR_GPIO_A_GPIO=y +CONFIG_SICR_GPIO_B_GPIO=y +CONFIG_SICR_IEEE1588_A_GPIO=y +CONFIG_SICR_GTM_GPIO=y +CONFIG_SICR_ETSEC2_GPIO=y +CONFIG_SICR_GPIOSEL_IEEE1588=y +CONFIG_SICR_TMSOBI1_2_5_V=y +CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/hrcon_dh_defconfig +9 -0
@@ -58,6 +58,15 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_SICR_ETSEC1_A_TSEC_GTX_CLK125=y +CONFIG_SICR_GPIO_A_GPIO=y +CONFIG_SICR_GPIO_B_GPIO=y +CONFIG_SICR_IEEE1588_A_GPIO=y +CONFIG_SICR_GTM_GPIO=y +CONFIG_SICR_ETSEC2_GPIO=y +CONFIG_SICR_GPIOSEL_IEEE1588=y +CONFIG_SICR_TMSOBI1_2_5_V=y +CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/mpc8308_p1m_defconfig +8 -0
@@ -60,6 +60,14 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_SICR_ESDHC_A_GPIO=y +CONFIG_SICR_ESDHC_B_GPIO=y +CONFIG_SICR_ESDHC_C_GTM=y +CONFIG_SICR_GPIO_A_TSEC2=y +CONFIG_SICR_GPIO_B_TSEC2=y +CONFIG_SICR_IEEE1588_A_GPIO=y +CONFIG_SICR_GTM_GPIO=y +CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=5
configs/strider_con_defconfig +9 -0
@@ -57,6 +57,15 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_SICR_ETSEC1_A_TSEC2=y +CONFIG_SICR_GPIO_A_GPIO=y +CONFIG_SICR_GPIO_B_GPIO=y +CONFIG_SICR_IEEE1588_A_GPIO=y +CONFIG_SICR_GTM_GPIO=y +CONFIG_SICR_ETSEC2_GPIO=y +CONFIG_SICR_GPIOSEL_IEEE1588=y +CONFIG_SICR_TMSOBI1_2_5_V=y +CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_con_dp_defconfig +9 -0
@@ -57,6 +57,15 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_SICR_ETSEC1_A_TSEC2=y +CONFIG_SICR_GPIO_A_GPIO=y +CONFIG_SICR_GPIO_B_GPIO=y +CONFIG_SICR_IEEE1588_A_GPIO=y +CONFIG_SICR_GTM_GPIO=y +CONFIG_SICR_ETSEC2_GPIO=y +CONFIG_SICR_GPIOSEL_IEEE1588=y +CONFIG_SICR_TMSOBI1_2_5_V=y +CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_cpu_defconfig +9 -0
@@ -57,6 +57,15 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_SICR_ETSEC1_A_TSEC2=y +CONFIG_SICR_GPIO_A_GPIO=y +CONFIG_SICR_GPIO_B_GPIO=y +CONFIG_SICR_IEEE1588_A_GPIO=y +CONFIG_SICR_GTM_GPIO=y +CONFIG_SICR_ETSEC2_GPIO=y +CONFIG_SICR_GPIOSEL_IEEE1588=y +CONFIG_SICR_TMSOBI1_2_5_V=y +CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_cpu_dp_defconfig +9 -0
@@ -57,6 +57,15 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_SICR_ETSEC1_A_TSEC2=y +CONFIG_SICR_GPIO_A_GPIO=y +CONFIG_SICR_GPIO_B_GPIO=y +CONFIG_SICR_IEEE1588_A_GPIO=y +CONFIG_SICR_GTM_GPIO=y +CONFIG_SICR_ETSEC2_GPIO=y +CONFIG_SICR_GPIOSEL_IEEE1588=y +CONFIG_SICR_TMSOBI1_2_5_V=y +CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
include/configs/MPC8308RDB.h +0 -25
@@ -27,31 +27,6 @@#define CONFIG_TSEC1 #define CONFIG_VSC7385_ENET -/* -* System IO Config -*/ -#define CONFIG_SYS_SICRH (\ - SICRH_ESDHC_A_SD |\ - SICRH_ESDHC_B_SD |\ - SICRH_ESDHC_C_SD |\ - SICRH_GPIO_A_TSEC2 |\ - SICRH_GPIO_B_TSEC2_GTX_CLK125 |\ - SICRH_IEEE1588_A_GPIO |\ - SICRH_USB |\ - SICRH_GTM_GPIO |\ - SICRH_IEEE1588_B_GPIO |\ - SICRH_ETSEC2_CRS |\ - SICRH_GPIOSEL_1 |\ - SICRH_TMROBI_V3P3 |\ - SICRH_TSOBI1_V2P5 |\ - SICRH_TSOBI2_V2P5)/* 0x01b7d103 */ -#define CONFIG_SYS_SICRL (\ - SICRL_SPI_PF0 |\ - SICRL_UART_PF0 |\ - SICRL_IRQ_PF0 |\ - SICRL_I2C2_PF0 |\ - SICRL_ETSEC1_GTX_CLK125)/* 0x00000040 */ -/* * SERDES */
include/configs/hrcon.h +0 -25
@@ -15,31 +15,6 @@#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC83xx_ESDHC_ADDR -/* -* System IO Config -*/ -#define CONFIG_SYS_SICRH (\ - SICRH_ESDHC_A_SD |\ - SICRH_ESDHC_B_SD |\ - SICRH_ESDHC_C_SD |\ - SICRH_GPIO_A_GPIO |\ - SICRH_GPIO_B_GPIO |\ - SICRH_IEEE1588_A_GPIO |\ - SICRH_USB |\ - SICRH_GTM_GPIO |\ - SICRH_IEEE1588_B_GPIO |\ - SICRH_ETSEC2_GPIO |\ - SICRH_GPIOSEL_1 |\ - SICRH_TMROBI_V3P3 |\ - SICRH_TSOBI1_V2P5 |\ - SICRH_TSOBI2_V2P5)/* 0x0037f103 */ -#define CONFIG_SYS_SICRL (\ - SICRL_SPI_PF0 |\ - SICRL_UART_PF0 |\ - SICRL_IRQ_PF0 |\ - SICRL_I2C2_PF0 |\ - SICRL_ETSEC1_GTX_CLK125)/* 0x00000000 */ -/* * SERDES */
include/configs/mpc8308_p1m.h +0 -25
@@ -21,31 +21,6 @@#define CONFIG_TSEC1 #define CONFIG_TSEC2 -/* -* System IO Config -*/ -#define CONFIG_SYS_SICRH (\ - SICRH_ESDHC_A_GPIO |\ - SICRH_ESDHC_B_GPIO |\ - SICRH_ESDHC_C_GTM |\ - SICRH_GPIO_A_TSEC2 |\ - SICRH_GPIO_B_TSEC2_TX_CLK |\ - SICRH_IEEE1588_A_GPIO |\ - SICRH_USB |\ - SICRH_GTM_GPIO |\ - SICRH_IEEE1588_B_GPIO |\ - SICRH_ETSEC2_CRS |\ - SICRH_GPIOSEL_1 |\ - SICRH_TMROBI_V3P3 |\ - SICRH_TSOBI1_V3P3 |\ - SICRH_TSOBI2_V3P3)/* 0xf577d100 */ -#define CONFIG_SYS_SICRL (\ - SICRL_SPI_PF0 |\ - SICRL_UART_PF0 |\ - SICRL_IRQ_PF0 |\ - SICRL_I2C2_PF0 |\ - SICRL_ETSEC1_TX_CLK)/* 0x00000000 */ -#define CONFIG_SYS_GPIO1_PRELIM /* GPIO Default input/output settings */ #define CONFIG_SYS_GPIO1_DIR 0x7AAF8C00
include/configs/strider.h +0 -25
@@ -15,31 +15,6 @@#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC83xx_ESDHC_ADDR -/* -* System IO Config -*/ -#define CONFIG_SYS_SICRH (\ - SICRH_ESDHC_A_SD |\ - SICRH_ESDHC_B_SD |\ - SICRH_ESDHC_C_SD |\ - SICRH_GPIO_A_GPIO |\ - SICRH_GPIO_B_GPIO |\ - SICRH_IEEE1588_A_GPIO |\ - SICRH_USB |\ - SICRH_GTM_GPIO |\ - SICRH_IEEE1588_B_GPIO |\ - SICRH_ETSEC2_GPIO |\ - SICRH_GPIOSEL_1 |\ - SICRH_TMROBI_V3P3 |\ - SICRH_TSOBI1_V2P5 |\ - SICRH_TSOBI2_V2P5)/* 0x0037f103 */ -#define CONFIG_SYS_SICRL (\ - SICRL_SPI_PF0 |\ - SICRL_UART_PF0 |\ - SICRL_IRQ_PF0 |\ - SICRL_I2C2_PF0 |\ - SICRL_ETSEC1_TX_CLK)/* 0x00000000 */ -/* * SERDES */
Signature · 1 line
2.20.1
PATCH v3 49/60 mpc83xx: Migrate arbiter config to Kconfig
In reply to Mario SixMigrate the arbiter configuration to Kconfig.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/arbiter/Kconfig | 139 +++++++++++++++++++++ arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h | 28 +++++ arch/powerpc/cpu/mpc83xx/cpu_init.c | 29 +---- arch/powerpc/cpu/mpc83xx/spl_minimal.c | 8 +- configs/MPC8308RDB_defconfig | 2 + configs/MPC8313ERDB_33_defconfig | 2 + configs/MPC8313ERDB_66_defconfig | 2 + configs/MPC8313ERDB_NAND_33_defconfig | 2 + configs/MPC8313ERDB_NAND_66_defconfig | 2 + configs/MPC8315ERDB_defconfig | 2 + configs/MPC8323ERDB_defconfig | 2 + configs/MPC8349EMDS_PCI64_defconfig | 2 + configs/MPC8349EMDS_SDRAM_defconfig | 2 + configs/MPC8349EMDS_SLAVE_defconfig | 2 + configs/MPC8349EMDS_defconfig | 2 + configs/MPC8349ITXGP_defconfig | 2 + configs/MPC8349ITX_LOWBOOT_defconfig | 2 + configs/MPC8349ITX_defconfig | 2 + configs/MPC837XEMDS_HOST_defconfig | 2 + configs/MPC837XEMDS_SLAVE_defconfig | 2 + configs/MPC837XEMDS_defconfig | 2 + configs/MPC837XERDB_SLAVE_defconfig | 2 + configs/MPC837XERDB_defconfig | 2 + configs/hrcon_defconfig | 2 + configs/hrcon_dh_defconfig | 2 + configs/ids8313_defconfig | 2 + configs/kmcoge5ne_defconfig | 4 + configs/kmeter1_defconfig | 4 + configs/kmopti2_defconfig | 4 + configs/kmsupx5_defconfig | 4 + configs/kmtegr1_defconfig | 4 + configs/kmtepr2_defconfig | 4 + configs/kmvect1_defconfig | 4 + configs/mpc8308_p1m_defconfig | 2 + configs/strider_con_defconfig | 2 + configs/strider_con_dp_defconfig | 2 + configs/strider_cpu_defconfig | 2 + configs/strider_cpu_dp_defconfig | 2 + configs/suvd3_defconfig | 4 + configs/tuge1_defconfig | 4 + configs/tuxx1_defconfig | 4 + configs/ve8313_defconfig | 2 + include/configs/MPC8308RDB.h | 5 - include/configs/MPC8313ERDB_NAND.h | 3 - include/configs/MPC8313ERDB_NOR.h | 3 - include/configs/MPC8315ERDB.h | 5 - include/configs/MPC8323ERDB.h | 5 - include/configs/MPC8349EMDS.h | 2 - include/configs/MPC8349EMDS_SDRAM.h | 2 - include/configs/MPC8349ITX.h | 2 - include/configs/MPC837XEMDS.h | 4 - include/configs/MPC837XERDB.h | 4 - include/configs/hrcon.h | 5 - include/configs/ids8313.h | 3 - include/configs/kmcoge5ne.h | 8 -- include/configs/kmeter1.h | 8 -- include/configs/kmopti2.h | 8 -- include/configs/kmsupx5.h | 8 -- include/configs/kmtegr1.h | 8 -- include/configs/kmtepr2.h | 8 -- include/configs/kmvect1.h | 8 -- include/configs/mpc8308_p1m.h | 5 - include/configs/strider.h | 5 - include/configs/suvd3.h | 8 -- include/configs/tuge1.h | 8 -- include/configs/tuxx1.h | 8 -- include/configs/ve8313.h | 3 - scripts/config_whitelist.txt | 4 - 69 files changed, 269 insertions(+), 172 deletions(-) create mode 100644 arch/powerpc/cpu/mpc83xx/arbiter/Kconfig create mode 100644 arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h
arch/powerpc/cpu/mpc83xx/Kconfig +1 -0
@@ -295,6 +295,7 @@ source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig" source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig" source "arch/powerpc/cpu/mpc83xx/hid/Kconfig" source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig" +source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig" menu "Legacy options"
arch/powerpc/cpu/mpc83xx/arbiter/Kconfig new file +139 -0
139 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h new file +28 -0
@@ -0,0 +1,28 @@ + const __be32 acr_mask = +#ifndef CONFIG_ACR_PIPE_DEP_UNSET + ACR_PIPE_DEP | +#endif +#ifndef CONFIG_ACR_RPTCNT_UNSET + ACR_RPTCNT | +#endif +#ifndef CONFIG_ACR_APARK_UNSET + ACR_APARK | +#endif +#ifndef CONFIG_ACR_PARKM_UNSET + ACR_PARKM | +#endif + 0; + const __be32 acr_val = +#ifndef CONFIG_ACR_PIPE_DEP_UNSET + CONFIG_ACR_PIPE_DEP | +#endif +#ifndef CONFIG_ACR_RPTCNT_UNSET + CONFIG_ACR_RPTCNT | +#endif +#ifndef CONFIG_ACR_APARK_UNSET + CONFIG_ACR_APARK | +#endif +#ifndef CONFIG_ACR_PARKM_UNSET + CONFIG_ACR_PARKM | +#endif + 0;
arch/powerpc/cpu/mpc83xx/cpu_init.c +1 -28
@@ -15,6 +15,7 @@#include "lblaw/lblaw.h" #include "elbc/elbc.h" #include "sysio/sysio.h" +#include "arbiter/arbiter.h" DECLARE_GLOBAL_DATA_PTR ;
@@ -51,34 +52,6 @@ static void config_qe_ioports(void)*/ void cpu_init_f (volatile immap_t * im) { - __be32 acr_mask = -#ifdef CONFIG_SYS_ACR_PIPE_DEP /* Arbiter pipeline depth */ - ACR_PIPE_DEP | -#endif -#ifdef CONFIG_SYS_ACR_RPTCNT /* Arbiter repeat count */ - ACR_RPTCNT | -#endif -#ifdef CONFIG_SYS_ACR_APARK /* Arbiter address parking mode */ - ACR_APARK | -#endif -#ifdef CONFIG_SYS_ACR_PARKM /* Arbiter parking master */ -ACR_PARKM | -#endif -0 ; -__be32 acr_val = -#ifdef CONFIG_SYS_ACR_PIPE_DEP /* Arbiter pipeline depth */ - (CONFIG_SYS_ACR_PIPE_DEP <<ACR_PIPE_DEP_SHIFT ) | -#endif -#ifdef CONFIG_SYS_ACR_RPTCNT /* Arbiter repeat count */ - (CONFIG_SYS_ACR_RPTCNT <<ACR_RPTCNT_SHIFT ) | -#endif -#ifdef CONFIG_SYS_ACR_APARK /* Arbiter address parking mode */ - (CONFIG_SYS_ACR_APARK <<ACR_APARK_SHIFT ) | -#endif -#ifdef CONFIG_SYS_ACR_PARKM /* Arbiter parking master */ - (CONFIG_SYS_ACR_PARKM <<ACR_PARKM_SHIFT ) | -#endif -0 ; __be32 spcr_mask =#ifdef CONFIG_SYS_SPCR_OPT /* Optimize transactions between CSB and other dev */ SPCR_OPT |
arch/powerpc/cpu/mpc83xx/spl_minimal.c +4 -4
@@ -27,16 +27,16 @@ void cpu_init_f (volatile immap_t * im)/* system performance tweaking */ -#ifdef CONFIG_SYS_ACR_PIPE_DEP +#ifndef CONFIG_ACR_PIPE_DEP_UNSET /* Arbiter pipeline depth */ im->arbiter.acr = (im->arbiter.acr & ~ACR_PIPE_DEP ) | - (CONFIG_SYS_ACR_PIPE_DEP <<ACR_PIPE_DEP_SHIFT ); +CONFIG_ACR_PIPE_DEP ;#endif -#ifdef CONFIG_SYS_ACR_RPTCNT +#ifndef CONFIG_ACR_RPTCNT_UNSET /* Arbiter repeat count */ im->arbiter.acr = (im->arbiter.acr & ~(ACR_RPTCNT )) | - (CONFIG_SYS_ACR_RPTCNT <<ACR_RPTCNT_SHIFT ); +CONFIG_ACR_RPTCNT ;#endif #ifdef CONFIG_SYS_SPCR_OPT
configs/MPC8308RDB_defconfig +2 -0
@@ -70,6 +70,8 @@ CONFIG_SICR_GTM_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y
configs/MPC8313ERDB_33_defconfig +2 -0
@@ -77,6 +77,8 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_33MHZ"
configs/MPC8313ERDB_66_defconfig +2 -0
@@ -76,6 +76,8 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_66MHZ"
configs/MPC8313ERDB_NAND_33_defconfig +2 -0
@@ -79,6 +79,8 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_33MHZ"
configs/MPC8313ERDB_NAND_66_defconfig +2 -0
@@ -78,6 +78,8 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_66MHZ"
configs/MPC8315ERDB_defconfig +2 -0
@@ -80,6 +80,8 @@ CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_DPM=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8323ERDB_defconfig +2 -0
@@ -73,6 +73,8 @@ CONFIG_LBLAW0_LENGTH_32_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349EMDS_PCI64_defconfig +2 -0
@@ -56,6 +56,8 @@ CONFIG_LBLAW1_LENGTH_32_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349EMDS_SDRAM_defconfig +2 -0
@@ -60,6 +60,8 @@ CONFIG_LBLAW2_LENGTH_64_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_ELBC_BR0_OR0=y CONFIG_BR0_OR0_NAME="FLASH" CONFIG_BR0_OR0_BASE=0xFE000000
configs/MPC8349EMDS_SLAVE_defconfig +2 -0
@@ -54,6 +54,8 @@ CONFIG_LBLAW1_LENGTH_32_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_PCI_ONE_PCI1=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/MPC8349EMDS_defconfig +2 -0
@@ -56,6 +56,8 @@ CONFIG_LBLAW1_LENGTH_32_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_PCI_ONE_PCI1=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/MPC8349ITXGP_defconfig +2 -0
@@ -99,6 +99,8 @@ CONFIG_LBLAW3_NAME="CF" CONFIG_LBLAW3_LENGTH_64_KBYTES=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xFE000000"
configs/MPC8349ITX_LOWBOOT_defconfig +2 -0
@@ -99,6 +99,8 @@ CONFIG_LBLAW3_NAME="CF" CONFIG_LBLAW3_LENGTH_64_KBYTES=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349ITX_defconfig +2 -0
@@ -98,6 +98,8 @@ CONFIG_LBLAW3_NAME="CF" CONFIG_LBLAW3_LENGTH_64_KBYTES=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XEMDS_HOST_defconfig +2 -0
@@ -104,6 +104,8 @@ CONFIG_LBLAW3_LENGTH_32_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XEMDS_SLAVE_defconfig +2 -0
@@ -64,6 +64,8 @@ CONFIG_LBLAW3_LENGTH_32_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCISLAVE"
configs/MPC837XEMDS_defconfig +2 -0
@@ -84,6 +84,8 @@ CONFIG_LBLAW3_LENGTH_32_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XERDB_SLAVE_defconfig +2 -0
@@ -64,6 +64,8 @@ CONFIG_LBLAW2_LENGTH_128_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCISLAVE,PCIE"
configs/MPC837XERDB_defconfig +2 -0
@@ -104,6 +104,8 @@ CONFIG_LBLAW2_LENGTH_128_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCIE"
configs/hrcon_defconfig +2 -0
@@ -67,6 +67,8 @@ CONFIG_SICR_ETSEC2_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/hrcon_dh_defconfig +2 -0
@@ -67,6 +67,8 @@ CONFIG_SICR_ETSEC2_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/ids8313_defconfig +2 -0
@@ -74,6 +74,8 @@ CONFIG_LBLAW3_LENGTH_32_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_IMAGE_FORMAT_LEGACY=y
configs/kmcoge5ne_defconfig +4 -0
@@ -107,6 +107,10 @@ CONFIG_LBLAW3_LENGTH_512_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmeter1_defconfig +4 -0
@@ -80,6 +80,10 @@ CONFIG_LBLAW3_LENGTH_512_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmopti2_defconfig +4 -0
@@ -95,6 +95,10 @@ CONFIG_LBLAW3_LENGTH_256_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmsupx5_defconfig +4 -0
@@ -81,6 +81,10 @@ CONFIG_LBLAW2_LENGTH_256_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmtegr1_defconfig +4 -0
@@ -82,6 +82,10 @@ CONFIG_LBLAW3_LENGTH_256_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="KMTEGR1"
configs/kmtepr2_defconfig +4 -0
@@ -95,6 +95,10 @@ CONFIG_LBLAW3_LENGTH_256_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/kmvect1_defconfig +4 -0
@@ -96,6 +96,10 @@ CONFIG_LBLAW3_LENGTH_256_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="KMVECT1"
configs/mpc8308_p1m_defconfig +2 -0
@@ -68,6 +68,8 @@ CONFIG_SICR_GPIO_B_TSEC2=y CONFIG_SICR_IEEE1588_A_GPIO=y CONFIG_SICR_GTM_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=5
configs/strider_con_defconfig +2 -0
@@ -66,6 +66,8 @@ CONFIG_SICR_ETSEC2_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_con_dp_defconfig +2 -0
@@ -66,6 +66,8 @@ CONFIG_SICR_ETSEC2_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_cpu_defconfig +2 -0
@@ -66,6 +66,8 @@ CONFIG_SICR_ETSEC2_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_cpu_dp_defconfig +2 -0
@@ -66,6 +66,8 @@ CONFIG_SICR_ETSEC2_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/suvd3_defconfig +4 -0
@@ -95,6 +95,10 @@ CONFIG_LBLAW3_LENGTH_256_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SUVD3"
configs/tuge1_defconfig +4 -0
@@ -81,6 +81,10 @@ CONFIG_LBLAW2_LENGTH_256_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/tuxx1_defconfig +4 -0
@@ -95,6 +95,10 @@ CONFIG_LBLAW3_LENGTH_256_MBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y +CONFIG_ACR_APARK_MASTER=y +CONFIG_ACR_PARKM_USB_I2C1_BOOT=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_MISC_INIT_R=y
configs/ve8313_defconfig +2 -0
@@ -77,6 +77,8 @@ CONFIG_LBLAW1_LENGTH_32_KBYTES=y CONFIG_HID0_FINAL_EMCP=y CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y +CONFIG_ACR_PIPE_DEP_4=y +CONFIG_ACR_RPTCNT_4=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
include/configs/MPC8308RDB.h +0 -5
@@ -33,11 +33,6 @@#define CONFIG_FSL_SERDES #define CONFIG_FSL_SERDES1 0xe3000 -/* -* Arbiter Setup -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth is 4 */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count is 4 */ #define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ /*
include/configs/MPC8313ERDB_NAND.h +0 -3
@@ -67,9 +67,6 @@*/ #define CONFIG_SYS_8313ERDB_BROKEN_PMC 1 -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */ -/* * Device configurations */
include/configs/MPC8313ERDB_NOR.h +0 -3
@@ -39,9 +39,6 @@*/ #define CONFIG_SYS_8313ERDB_BROKEN_PMC 1 -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */ -/* * Device configurations */
include/configs/MPC8315ERDB.h +0 -5
@@ -31,11 +31,6 @@#define CONFIG_HWCONFIG -/* -* Arbiter Setup -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth is 4 */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count is 4 */ #define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ /*
include/configs/MPC8323ERDB.h +0 -5
@@ -20,11 +20,6 @@*/ #define CONFIG_SYS_SICRL 0x00000000 -/* -* System performance -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */ /* (0-1) Optimize transactions between CSB and the SEC and QUICC Engine block */ #define CONFIG_SYS_SPCR_OPT 1
include/configs/MPC8349EMDS.h +0 -2
@@ -328,8 +328,6 @@/* * System performance */ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */ #define CONFIG_SYS_SPCR_TSEC1EP 3/* TSEC1 emergency priority (0-3) */ #define CONFIG_SYS_SPCR_TSEC2EP 3/* TSEC2 emergency priority (0-3) */ #define CONFIG_SYS_SCCR_TSEC1CM 1/* TSEC1 clock mode (0-3) */
include/configs/MPC8349EMDS_SDRAM.h +0 -2
@@ -383,8 +383,6 @@/* * System performance */ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */ #define CONFIG_SYS_SPCR_TSEC1EP 3/* TSEC1 emergency priority (0-3) */ #define CONFIG_SYS_SPCR_TSEC2EP 3/* TSEC2 emergency priority (0-3) */ #define CONFIG_SYS_SCCR_TSEC1CM 1/* TSEC1 clock mode (0-3) */
include/configs/MPC8349ITX.h +0 -2
@@ -403,8 +403,6 @@ boards, we say we have two, but don't display a message if we find only one. *//* * System performance */ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */ #define CONFIG_SYS_SPCR_TSEC1EP 3/* TSEC1 emergency priority (0-3) */ #define CONFIG_SYS_SPCR_TSEC2EP 3/* TSEC2 emergency priority (0-3) */ #define CONFIG_SYS_SCCR_TSEC1CM 1/* TSEC1 clock mode (0-3) */
include/configs/MPC837XEMDS.h +0 -4
@@ -12,10 +12,6 @@*/ #define CONFIG_E300 1/* E300 family */ -/* Arbiter Configuration Register */ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth is 4 */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count is 4 */ -/* System Priority Control Register */ #define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC1/2 emergency has highest priority */
include/configs/MPC837XERDB.h +0 -4
@@ -23,10 +23,6 @@/* System performance - define the value i.e. CONFIG_SYS_XXX */ -/* Arbiter Configuration Register */ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */ -/* System Priority Control Regsiter */ #define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC1&2 emergency priority (0-3) */
include/configs/hrcon.h +0 -5
@@ -21,11 +21,6 @@#define CONFIG_FSL_SERDES #define CONFIG_FSL_SERDES1 0xe3000 -/* -* Arbiter Setup -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth is 4 */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count is 4 */ #define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ /*
include/configs/ids8313.h +0 -3
@@ -20,9 +20,6 @@#define CONFIG_BOOT_RETRY_MIN 30#define CONFIG_RESET_TO_RETRY -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth (0-3) */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count (0-7) */ -#define CONFIG_SYS_SICRH 0x00000000#define CONFIG_SYS_SICRL (SICRL_LBC | SICRL_SPI_D)
include/configs/kmcoge5ne.h +0 -8
@@ -40,14 +40,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/kmeter1.h +0 -8
@@ -25,14 +25,6 @@#include "km/keymile-common.h" #include "km/km-powerpc.h" -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/kmopti2.h +0 -8
@@ -45,14 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/kmsupx5.h +0 -8
@@ -45,14 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/kmtegr1.h +0 -8
@@ -52,14 +52,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/kmtepr2.h +0 -8
@@ -45,14 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/kmvect1.h +0 -8
@@ -44,14 +44,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/mpc8308_p1m.h +0 -5
@@ -36,11 +36,6 @@#define CONFIG_FSL_SERDES #define CONFIG_FSL_SERDES1 0xe3000 -/* -* Arbiter Setup -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth is 4 */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count is 4 */ #define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ /*
include/configs/strider.h +0 -5
@@ -21,11 +21,6 @@#define CONFIG_FSL_SERDES #define CONFIG_FSL_SERDES1 0xe3000 -/* -* Arbiter Setup -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth is 4 */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count is 4 */ #define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ /*
include/configs/suvd3.h +0 -8
@@ -42,14 +42,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/tuge1.h +0 -8
@@ -45,14 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/tuxx1.h +0 -8
@@ -45,14 +45,6 @@#define CONFIG_SYS_CLK_FREQ 66000000#define CONFIG_83XX_PCICLK 66000000 -/* -* Bus Arbitration Configuration Register (ACR) -*/ -#define CONFIG_SYS_ACR_PIPE_DEP 3/* pipeline depth 4 transactions */ -#define CONFIG_SYS_ACR_RPTCNT 3/* 4 consecutive transactions */ -#define CONFIG_SYS_ACR_APARK 0/* park bus to master (below) */ -#define CONFIG_SYS_ACR_PARKM 3/* parking master = QuiccEngine */ -/* * DDR Setup */
include/configs/ve8313.h +0 -3
@@ -27,9 +27,6 @@#define CONFIG_SYS_MEMTEST_START 0x00001000#define CONFIG_SYS_MEMTEST_END 0x07000000 -#define CONFIG_SYS_ACR_PIPE_DEP 3/* Arbiter pipeline depth */ -#define CONFIG_SYS_ACR_RPTCNT 3/* Arbiter repeat count */ -/* * Device configurations */
scripts/config_whitelist.txt +0 -4
@@ -1960,10 +1960,6 @@ CONFIG_SYS_64BIT_VSPRINTF CONFIG_SYS_66MHZ CONFIG_SYS_8313ERDB_BROKEN_PMC CONFIG_SYS_83XX_DDR_USES_CS0 -CONFIG_SYS_ACR_APARK -CONFIG_SYS_ACR_PARKM -CONFIG_SYS_ACR_PIPE_DEP -CONFIG_SYS_ACR_RPTCNT CONFIG_SYS_ADDRESS_MAP_A CONFIG_SYS_ADV7611_I2C CONFIG_SYS_ALT_BOOT
Signature · 1 line
2.20.1
PATCH v3 50/60 mpc83xx: Migrate SPCR to Kconfig
In reply to Mario SixMigrate the SPCR setting to Kconfig.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/cpu_init.c | 29 +---- arch/powerpc/cpu/mpc83xx/initreg/Kconfig | 5 + arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr | 115 ++++++++++++++++++ arch/powerpc/cpu/mpc83xx/initreg/initreg.h | 43 +++++++ configs/MPC8308RDB_defconfig | 1 + configs/MPC8315ERDB_defconfig | 1 + configs/MPC8323ERDB_defconfig | 1 + configs/MPC8349EMDS_PCI64_defconfig | 2 + configs/MPC8349EMDS_SLAVE_defconfig | 2 + configs/MPC8349EMDS_defconfig | 2 + configs/MPC8349ITXGP_defconfig | 2 + configs/MPC8349ITX_LOWBOOT_defconfig | 2 + configs/MPC8349ITX_defconfig | 2 + configs/MPC837XEMDS_HOST_defconfig | 1 + configs/MPC837XEMDS_SLAVE_defconfig | 1 + configs/MPC837XEMDS_defconfig | 1 + configs/MPC837XERDB_SLAVE_defconfig | 1 + configs/MPC837XERDB_defconfig | 1 + configs/hrcon_defconfig | 1 + configs/hrcon_dh_defconfig | 1 + configs/mpc8308_p1m_defconfig | 1 + configs/strider_con_defconfig | 1 + configs/strider_con_dp_defconfig | 1 + configs/strider_cpu_defconfig | 1 + configs/strider_cpu_dp_defconfig | 1 + include/configs/MPC8308RDB.h | 2 - include/configs/MPC8315ERDB.h | 2 - include/configs/MPC8323ERDB.h | 3 - include/configs/MPC8349EMDS.h | 2 - include/configs/MPC8349ITX.h | 2 - include/configs/MPC837XEMDS.h | 3 - include/configs/MPC837XERDB.h | 3 - include/configs/hrcon.h | 2 - include/configs/mpc8308_p1m.h | 2 - include/configs/strider.h | 2 - scripts/config_whitelist.txt | 1 - 37 files changed, 192 insertions(+), 52 deletions(-) create mode 100644 arch/powerpc/cpu/mpc83xx/initreg/Kconfig create mode 100644 arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr create mode 100644 arch/powerpc/cpu/mpc83xx/initreg/initreg.h
arch/powerpc/cpu/mpc83xx/Kconfig +1 -0
@@ -296,6 +296,7 @@ source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig" source "arch/powerpc/cpu/mpc83xx/hid/Kconfig" source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig" source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig" +source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig" menu "Legacy options"
arch/powerpc/cpu/mpc83xx/cpu_init.c +1 -28
@@ -16,6 +16,7 @@#include "elbc/elbc.h" #include "sysio/sysio.h" #include "arbiter/arbiter.h" +#include "initreg/initreg.h" DECLARE_GLOBAL_DATA_PTR ;
@@ -52,34 +53,6 @@ static void config_qe_ioports(void)*/ void cpu_init_f (volatile immap_t * im) { - __be32 spcr_mask = -#ifdef CONFIG_SYS_SPCR_OPT /* Optimize transactions between CSB and other dev */ - SPCR_OPT | -#endif -#ifdef CONFIG_SYS_SPCR_TSECEP /* all eTSEC's Emergency priority */ - SPCR_TSECEP | -#endif -#ifdef CONFIG_SYS_SPCR_TSEC1EP /* TSEC1 Emergency priority */ - SPCR_TSEC1EP | -#endif -#ifdef CONFIG_SYS_SPCR_TSEC2EP /* TSEC2 Emergency priority */ -SPCR_TSEC2EP | -#endif -0 ; -__be32 spcr_val = -#ifdef CONFIG_SYS_SPCR_OPT - (CONFIG_SYS_SPCR_OPT <<SPCR_OPT_SHIFT ) | -#endif -#ifdef CONFIG_SYS_SPCR_TSECEP /* all eTSEC's Emergency priority */ - (CONFIG_SYS_SPCR_TSECEP <<SPCR_TSECEP_SHIFT ) | -#endif -#ifdef CONFIG_SYS_SPCR_TSEC1EP /* TSEC1 Emergency priority */ - (CONFIG_SYS_SPCR_TSEC1EP <<SPCR_TSEC1EP_SHIFT ) | -#endif -#ifdef CONFIG_SYS_SPCR_TSEC2EP /* TSEC2 Emergency priority */ - (CONFIG_SYS_SPCR_TSEC2EP <<SPCR_TSEC2EP_SHIFT ) | -#endif -0 ; __be32 sccr_mask =#ifdef CONFIG_SYS_SCCR_ENCCM /* Encryption clock mode */ SCCR_ENCCM |
arch/powerpc/cpu/mpc83xx/initreg/Kconfig new file +5 -0
@@ -0,0 +1,5 @@ +menu "Initial register configuration" + +source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr" + +endmenu
arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr new file +115 -0
115 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/initreg/initreg.h new file +43 -0
43 lines not on this page · raw message
configs/MPC8308RDB_defconfig +1 -0
@@ -72,6 +72,7 @@ CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y
configs/MPC8315ERDB_defconfig +1 -0
@@ -82,6 +82,7 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8323ERDB_defconfig +1 -0
@@ -75,6 +75,7 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_OPT_SPEC_READ=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349EMDS_PCI64_defconfig +2 -0
@@ -58,6 +58,8 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSEC1EP_3=y +CONFIG_SPCR_TSEC2EP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349EMDS_SLAVE_defconfig +2 -0
@@ -56,6 +56,8 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSEC1EP_3=y +CONFIG_SPCR_TSEC2EP_3=y CONFIG_PCI_ONE_PCI1=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/MPC8349EMDS_defconfig +2 -0
@@ -58,6 +58,8 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSEC1EP_3=y +CONFIG_SPCR_TSEC2EP_3=y CONFIG_PCI_ONE_PCI1=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/MPC8349ITXGP_defconfig +2 -0
@@ -101,6 +101,8 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSEC1EP_3=y +CONFIG_SPCR_TSEC2EP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xFE000000"
configs/MPC8349ITX_LOWBOOT_defconfig +2 -0
@@ -101,6 +101,8 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSEC1EP_3=y +CONFIG_SPCR_TSEC2EP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC8349ITX_defconfig +2 -0
@@ -100,6 +100,8 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSEC1EP_3=y +CONFIG_SPCR_TSEC2EP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XEMDS_HOST_defconfig +1 -0
@@ -106,6 +106,7 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XEMDS_SLAVE_defconfig +1 -0
@@ -66,6 +66,7 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCISLAVE"
configs/MPC837XEMDS_defconfig +1 -0
@@ -86,6 +86,7 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=6
configs/MPC837XERDB_SLAVE_defconfig +1 -0
@@ -66,6 +66,7 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCISLAVE,PCIE"
configs/MPC837XERDB_defconfig +1 -0
@@ -106,6 +106,7 @@ CONFIG_HID0_FINAL_ICE=y CONFIG_HID2_HBE=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_SYS_EXTRA_OPTIONS="PCIE"
configs/hrcon_defconfig +1 -0
@@ -69,6 +69,7 @@ CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/hrcon_dh_defconfig +1 -0
@@ -69,6 +69,7 @@ CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/mpc8308_p1m_defconfig +1 -0
@@ -70,6 +70,7 @@ CONFIG_SICR_GTM_GPIO=y CONFIG_SICR_GPIOSEL_IEEE1588=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_BOOTDELAY=5
configs/strider_con_defconfig +1 -0
@@ -68,6 +68,7 @@ CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_con_dp_defconfig +1 -0
@@ -68,6 +68,7 @@ CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_cpu_defconfig +1 -0
@@ -68,6 +68,7 @@ CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
configs/strider_cpu_dp_defconfig +1 -0
@@ -68,6 +68,7 @@ CONFIG_SICR_TMSOBI1_2_5_V=y CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y +CONFIG_SPCR_TSECEP_3=y CONFIG_CMD_IOLOOP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y
include/configs/MPC8308RDB.h +0 -2
@@ -33,8 +33,6 @@#define CONFIG_FSL_SERDES #define CONFIG_FSL_SERDES1 0xe3000 -#define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ -/* * DDR Setup */
include/configs/MPC8315ERDB.h +0 -2
@@ -31,8 +31,6 @@#define CONFIG_HWCONFIG -#define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ -/* * DDR Setup */
include/configs/MPC8323ERDB.h +0 -3
@@ -20,9 +20,6 @@*/ #define CONFIG_SYS_SICRL 0x00000000 -/* (0-1) Optimize transactions between CSB and the SEC and QUICC Engine block */ -#define CONFIG_SYS_SPCR_OPT 1 -/* * DDR Setup */
include/configs/MPC8349EMDS.h +0 -2
@@ -328,8 +328,6 @@/* * System performance */ -#define CONFIG_SYS_SPCR_TSEC1EP 3/* TSEC1 emergency priority (0-3) */ -#define CONFIG_SYS_SPCR_TSEC2EP 3/* TSEC2 emergency priority (0-3) */ #define CONFIG_SYS_SCCR_TSEC1CM 1/* TSEC1 clock mode (0-3) */ #define CONFIG_SYS_SCCR_TSEC2CM 1/* TSEC2 & I2C0 clock mode (0-3) */
include/configs/MPC8349ITX.h +0 -2
@@ -403,8 +403,6 @@ boards, we say we have two, but don't display a message if we find only one. *//* * System performance */ -#define CONFIG_SYS_SPCR_TSEC1EP 3/* TSEC1 emergency priority (0-3) */ -#define CONFIG_SYS_SPCR_TSEC2EP 3/* TSEC2 emergency priority (0-3) */ #define CONFIG_SYS_SCCR_TSEC1CM 1/* TSEC1 clock mode (0-3) */ #define CONFIG_SYS_SCCR_TSEC2CM 1/* TSEC2 & I2C0 clock mode (0-3) */ #define CONFIG_SYS_SCCR_USBMPHCM 3/* USB MPH controller's clock */
include/configs/MPC837XEMDS.h +0 -3
@@ -12,9 +12,6 @@*/ #define CONFIG_E300 1/* E300 family */ -/* System Priority Control Register */ -#define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC1/2 emergency has highest priority */ -/* * IP blocks clock configuration */
include/configs/MPC837XERDB.h +0 -3
@@ -23,9 +23,6 @@/* System performance - define the value i.e. CONFIG_SYS_XXX */ -/* System Priority Control Regsiter */ -#define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC1&2 emergency priority (0-3) */ -/* System Clock Configuration Register */ #define CONFIG_SYS_SCCR_TSEC1CM 1/* eTSEC1 clock mode (0-3) */ #define CONFIG_SYS_SCCR_TSEC2CM 1/* eTSEC2 clock mode (0-3) */
include/configs/hrcon.h +0 -2
@@ -21,8 +21,6 @@#define CONFIG_FSL_SERDES #define CONFIG_FSL_SERDES1 0xe3000 -#define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ -/* * DDR Setup */
include/configs/mpc8308_p1m.h +0 -2
@@ -36,8 +36,6 @@#define CONFIG_FSL_SERDES #define CONFIG_FSL_SERDES1 0xe3000 -#define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ -/* * DDR Setup */
include/configs/strider.h +0 -2
@@ -21,8 +21,6 @@#define CONFIG_FSL_SERDES #define CONFIG_FSL_SERDES1 0xe3000 -#define CONFIG_SYS_SPCR_TSECEP 3/* eTSEC emergency priority is highest */ -/* * DDR Setup */
scripts/config_whitelist.txt +0 -1
@@ -4129,7 +4129,6 @@ CONFIG_SYS_SPANSION_BOOT CONFIG_SYS_SPCR_OPT CONFIG_SYS_SPCR_TSEC1EP CONFIG_SYS_SPCR_TSEC2EP -CONFIG_SYS_SPCR_TSECEP CONFIG_SYS_SPD_BUS_NUM CONFIG_SYS_SPI0 CONFIG_SYS_SPI0_NUM_CS
Signature · 1 line
2.20.1
PATCH v3 51/60 mpc83xx: Migrate CONFIG_LCRR_* to Kconfig
In reply to Mario SixMigrate the CONFIG_LCRR_* settings to Kconfig.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/cpu_init.c | 22 --- arch/powerpc/cpu/mpc83xx/initreg/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr | 139 ++++++++++++++++++ arch/powerpc/cpu/mpc83xx/initreg/initreg.h | 36 +++++ configs/MPC8308RDB_defconfig | 2 + configs/MPC8313ERDB_33_defconfig | 2 + configs/MPC8313ERDB_66_defconfig | 2 + configs/MPC8313ERDB_NAND_33_defconfig | 2 + configs/MPC8313ERDB_NAND_66_defconfig | 2 + configs/MPC8315ERDB_defconfig | 2 + configs/MPC8323ERDB_defconfig | 2 + configs/MPC832XEMDS_ATM_defconfig | 2 + configs/MPC832XEMDS_HOST_33_defconfig | 2 + configs/MPC832XEMDS_HOST_66_defconfig | 2 + configs/MPC832XEMDS_SLAVE_defconfig | 2 + configs/MPC832XEMDS_defconfig | 2 + configs/MPC8349EMDS_PCI64_defconfig | 2 + configs/MPC8349EMDS_SDRAM_defconfig | 2 + configs/MPC8349EMDS_SLAVE_defconfig | 2 + configs/MPC8349EMDS_defconfig | 2 + configs/MPC8349ITXGP_defconfig | 2 + configs/MPC8349ITX_LOWBOOT_defconfig | 2 + configs/MPC8349ITX_defconfig | 2 + configs/MPC837XEMDS_HOST_defconfig | 2 + configs/MPC837XEMDS_SLAVE_defconfig | 2 + configs/MPC837XEMDS_defconfig | 2 + configs/MPC837XERDB_SLAVE_defconfig | 2 + configs/MPC837XERDB_defconfig | 2 + configs/TQM834x_defconfig | 2 + configs/hrcon_defconfig | 2 + configs/hrcon_dh_defconfig | 2 + configs/ids8313_defconfig | 2 + configs/kmcoge5ne_defconfig | 3 + configs/kmeter1_defconfig | 3 + configs/kmopti2_defconfig | 3 + configs/kmsupx5_defconfig | 3 + configs/kmtegr1_defconfig | 3 + configs/kmtepr2_defconfig | 3 + configs/kmvect1_defconfig | 3 + configs/mpc8308_p1m_defconfig | 2 + configs/sbc8349_PCI_33_defconfig | 2 + configs/sbc8349_PCI_66_defconfig | 2 + configs/sbc8349_defconfig | 2 + configs/strider_con_defconfig | 2 + configs/strider_con_dp_defconfig | 2 + configs/strider_cpu_defconfig | 2 + configs/strider_cpu_dp_defconfig | 2 + configs/suvd3_defconfig | 3 + configs/tuge1_defconfig | 3 + configs/tuxx1_defconfig | 3 + configs/ve8313_defconfig | 2 + configs/vme8349_defconfig | 1 + include/configs/MPC8308RDB.h | 2 - include/configs/MPC8313ERDB_NAND.h | 2 - include/configs/MPC8313ERDB_NOR.h | 2 - include/configs/MPC8315ERDB.h | 2 - include/configs/MPC8323ERDB.h | 2 - include/configs/MPC832XEMDS.h | 2 - include/configs/MPC8349EMDS.h | 2 - include/configs/MPC8349EMDS_SDRAM.h | 2 - include/configs/MPC8349ITX.h | 2 - include/configs/MPC837XEMDS.h | 2 - include/configs/MPC837XERDB.h | 2 - include/configs/TQM834x.h | 12 -- include/configs/caddy2.h | 1 - include/configs/hrcon.h | 2 - include/configs/ids8313.h | 2 - include/configs/kmcoge5ne.h | 7 - include/configs/kmeter1.h | 7 - include/configs/kmopti2.h | 4 - include/configs/kmsupx5.h | 4 - include/configs/kmtegr1.h | 4 - include/configs/kmtepr2.h | 4 - include/configs/kmvect1.h | 4 - include/configs/mpc8308_p1m.h | 2 - include/configs/sbc8349.h | 2 - include/configs/strider.h | 2 - include/configs/suvd3.h | 4 - include/configs/tuge1.h | 4 - include/configs/tuxx1.h | 4 - include/configs/ve8313.h | 3 - include/configs/vme8349.h | 1 - scripts/config_whitelist.txt | 3 - 83 files changed, 281 insertions(+), 120 deletions(-) create mode 100644 arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr
arch/powerpc/cpu/mpc83xx/cpu_init.c +0 -22
@@ -127,28 +127,6 @@ void cpu_init_f (volatile immap_t * im)#endif #ifdef CONFIG_SYS_SCCR_SATACM /* SATA controller clock mode */ (CONFIG_SYS_SCCR_SATACM << SCCR_SATACM_SHIFT) | -#endif - 0; - __be32 lcrr_mask = -#ifdef CONFIG_SYS_LCRR_DBYP /* PLL bypass */ - LCRR_DBYP | -#endif -#ifdef CONFIG_SYS_LCRR_EADC /* external address delay */ - LCRR_EADC | -#endif -#ifdef CONFIG_SYS_LCRR_CLKDIV /* system clock divider */ - LCRR_CLKDIV | -#endif - 0; - __be32 lcrr_val = -#ifdef CONFIG_SYS_LCRR_DBYP /* PLL bypass */ - CONFIG_SYS_LCRR_DBYP | -#endif -#ifdef CONFIG_SYS_LCRR_EADC - CONFIG_SYS_LCRR_EADC | -#endif -#ifdef CONFIG_SYS_LCRR_CLKDIV /* system clock divider */ - CONFIG_SYS_LCRR_CLKDIV |#endif 0 ;
arch/powerpc/cpu/mpc83xx/initreg/Kconfig +1 -0
@@ -1,5 +1,6 @@ menu "Initial register configuration" source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig.spcr" +source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr" endmenu
arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr new file +139 -0
139 lines not on this page · raw message
arch/powerpc/cpu/mpc83xx/initreg/initreg.h +36 -0
@@ -39,5 +39,41 @@#endif #if defined(CONFIG_SPCR_TSEC2EP) && !defined(CONFIG_SPCR_TSEC2EP_UNSET) CONFIG_SPCR_TSEC2EP | +#endif + 0; + + const __be32 lcrr_mask = +#if defined(CONFIG_LCRR_DBYP) && !defined(CONFIG_LCRR_DBYP_UNSET) + LCRR_DBYP | +#endif +#if defined(CONFIG_LCRR_BUFCMDC) && !defined(CONFIG_LCRR_BUFCMDC_UNSET) + LCRR_BUFCMDC | +#endif +#if defined(CONFIG_LCRR_ECL) && !defined(CONFIG_LCRR_ECL_UNSET) + LCRR_ECL | +#endif +#if defined(CONFIG_LCRR_EADC) && !defined(CONFIG_LCRR_EADC_UNSET) + LCRR_EADC | +#endif +#if defined(CONFIG_LCRR_CLKDIV) && !defined(CONFIG_LCRR_CLKDIV_UNSET) + LCRR_CLKDIV | +#endif + 0; + + const __be32 lcrr_val = +#if defined(CONFIG_LCRR_DBYP) && !defined(CONFIG_LCRR_DBYP_UNSET) + CONFIG_LCRR_DBYP | +#endif +#if defined(CONFIG_LCRR_BUFCMDC) && !defined(CONFIG_LCRR_BUFCMDC_UNSET) + CONFIG_LCRR_BUFCMDC | +#endif +#if defined(CONFIG_LCRR_ECL) && !defined(CONFIG_LCRR_ECL_UNSET) + CONFIG_LCRR_ECL | +#endif +#if defined(CONFIG_LCRR_EADC) && !defined(CONFIG_LCRR_EADC_UNSET) + CONFIG_LCRR_EADC | +#endif +#if defined(CONFIG_LCRR_CLKDIV) && !defined(CONFIG_LCRR_CLKDIV_UNSET) + CONFIG_LCRR_CLKDIV | #endif 0;
configs/MPC8308RDB_defconfig +2 -0
@@ -73,6 +73,8 @@ CONFIG_SICR_TMSOBI2_2_5_V=y CONFIG_ACR_PIPE_DEP_4=y CONFIG_ACR_RPTCNT_4=y CONFIG_SPCR_TSECEP_3=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y
configs/MPC8313ERDB_33_defconfig +2 -0
@@ -159,3 +159,5 @@ CONFIG_OR2_SETA_EXTERNAL=y CONFIG_OR2_XACS_EXTENDED=y CONFIG_OR2_TRLX_RELAXED=y CONFIG_OR2_EHTR_8_CYCLE=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8313ERDB_66_defconfig +2 -0
@@ -158,3 +158,5 @@ CONFIG_OR2_SETA_EXTERNAL=y CONFIG_OR2_XACS_EXTENDED=y CONFIG_OR2_TRLX_RELAXED=y CONFIG_OR2_EHTR_8_CYCLE=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8313ERDB_NAND_33_defconfig +2 -0
@@ -166,3 +166,5 @@ CONFIG_OR2_SETA_EXTERNAL=y CONFIG_OR2_XACS_EXTENDED=y CONFIG_OR2_TRLX_RELAXED=y CONFIG_OR2_EHTR_8_CYCLE=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8313ERDB_NAND_66_defconfig +2 -0
@@ -165,3 +165,5 @@ CONFIG_OR2_SETA_EXTERNAL=y CONFIG_OR2_XACS_EXTENDED=y CONFIG_OR2_TRLX_RELAXED=y CONFIG_OR2_EHTR_8_CYCLE=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8315ERDB_defconfig +2 -0
@@ -143,3 +143,5 @@ CONFIG_OR1_CHT_TWO_CLOCK=y CONFIG_OR1_CSCT_8_CYCLE=y CONFIG_OR1_CST_ONE_CLOCK=y CONFIG_OR1_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/MPC8323ERDB_defconfig +2 -0
@@ -108,3 +108,5 @@ CONFIG_OR0_XACS_EXTENDED=y CONFIG_OR0_XAM_SET=y CONFIG_OR0_TRLX_RELAXED=y CONFIG_OR0_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/MPC832XEMDS_ATM_defconfig +2 -0
@@ -143,3 +143,5 @@ CONFIG_OR3_XACS_EXTENDED=y CONFIG_OR3_XAM_SET=y CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/MPC832XEMDS_HOST_33_defconfig +2 -0
@@ -163,3 +163,5 @@ CONFIG_OR3_XACS_EXTENDED=y CONFIG_OR3_XAM_SET=y CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/MPC832XEMDS_HOST_66_defconfig +2 -0
@@ -163,3 +163,5 @@ CONFIG_OR3_XACS_EXTENDED=y CONFIG_OR3_XAM_SET=y CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/MPC832XEMDS_SLAVE_defconfig +2 -0
@@ -160,3 +160,5 @@ CONFIG_OR3_XACS_EXTENDED=y CONFIG_OR3_XAM_SET=y CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/MPC832XEMDS_defconfig +2 -0
@@ -142,3 +142,5 @@ CONFIG_OR3_XACS_EXTENDED=y CONFIG_OR3_XAM_SET=y CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/MPC8349EMDS_PCI64_defconfig +2 -0
@@ -104,3 +104,5 @@ CONFIG_OR1_CSNT_EARLIER=y CONFIG_OR1_SCY_15=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8349EMDS_SDRAM_defconfig +2 -0
@@ -113,3 +113,5 @@ CONFIG_SYS_NS16550=y CONFIG_SPI=y CONFIG_MPC8XXX_SPI=y CONFIG_OF_LIBFDT=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8349EMDS_SLAVE_defconfig +2 -0
@@ -104,3 +104,5 @@ CONFIG_OR1_CSNT_EARLIER=y CONFIG_OR1_SCY_15=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8349EMDS_defconfig +2 -0
@@ -107,3 +107,5 @@ CONFIG_OR1_CSNT_EARLIER=y CONFIG_OR1_SCY_15=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8349ITXGP_defconfig +2 -0
@@ -178,3 +178,5 @@ CONFIG_BR3_MACHINE_UPMA=y CONFIG_BR3_PORTSIZE_16BIT=y CONFIG_OR3_AM_32_KBYTES=y CONFIG_OR3_BI_BURSTINHIBIT=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8349ITX_LOWBOOT_defconfig +2 -0
@@ -186,3 +186,5 @@ CONFIG_BR3_MACHINE_UPMA=y CONFIG_BR3_PORTSIZE_16BIT=y CONFIG_OR3_AM_32_KBYTES=y CONFIG_OR3_BI_BURSTINHIBIT=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC8349ITX_defconfig +2 -0
@@ -185,3 +185,5 @@ CONFIG_BR3_MACHINE_UPMA=y CONFIG_BR3_PORTSIZE_16BIT=y CONFIG_OR3_AM_32_KBYTES=y CONFIG_OR3_BI_BURSTINHIBIT=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/MPC837XEMDS_HOST_defconfig +2 -0
@@ -178,3 +178,5 @@ CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_CHT_TWO_CLOCK=y CONFIG_OR3_CST_ONE_CLOCK=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_8=y
configs/MPC837XEMDS_SLAVE_defconfig +2 -0
@@ -131,3 +131,5 @@ CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_CHT_TWO_CLOCK=y CONFIG_OR3_CST_ONE_CLOCK=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_8=y
configs/MPC837XEMDS_defconfig +2 -0
@@ -154,3 +154,5 @@ CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_CHT_TWO_CLOCK=y CONFIG_OR3_CST_ONE_CLOCK=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_8=y
configs/MPC837XERDB_SLAVE_defconfig +2 -0
@@ -132,3 +132,5 @@ CONFIG_OR2_SETA_EXTERNAL=y CONFIG_OR2_XACS_EXTENDED=y CONFIG_OR2_TRLX_RELAXED=y CONFIG_OR2_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_8=y
configs/MPC837XERDB_defconfig +2 -0
@@ -175,3 +175,5 @@ CONFIG_OR2_SETA_EXTERNAL=y CONFIG_OR2_XACS_EXTENDED=y CONFIG_OR2_TRLX_RELAXED=y CONFIG_OR2_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_8=y
configs/TQM834x_defconfig +2 -0
@@ -147,3 +147,5 @@ CONFIG_OR0_ACS_QUARTER_CYCLE_EARLIER=y CONFIG_OR0_CSNT_EARLIER=y CONFIG_OR0_SCY_5=y CONFIG_OR0_TRLX_RELAXED=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_8=y
configs/hrcon_defconfig +2 -0
@@ -131,3 +131,5 @@ CONFIG_OR1_XACS_EXTENDED=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_TRLX_RELAXED=y CONFIG_OR1_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/hrcon_dh_defconfig +2 -0
@@ -129,3 +129,5 @@ CONFIG_OR1_XACS_EXTENDED=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_TRLX_RELAXED=y CONFIG_OR1_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/ids8313_defconfig +2 -0
@@ -170,3 +170,5 @@ CONFIG_OR3_AM_32_KBYTES=y CONFIG_OR3_CSNT_EARLIER=y CONFIG_OR3_SCY_1=y CONFIG_OR3_TRLX_RELAXED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/kmcoge5ne_defconfig +3 -0
@@ -192,3 +192,6 @@ CONFIG_OR4_CSNT_EARLIER=y CONFIG_OR4_EAD_EXTRA=y CONFIG_OR4_SCY_2=y CONFIG_OR4_TRLX_RELAXED=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y +CONFIG_LCRR_EADC_2=y
configs/kmeter1_defconfig +3 -0
@@ -154,3 +154,6 @@ CONFIG_OR3_CSNT_EARLIER=y CONFIG_OR3_EAD_EXTRA=y CONFIG_OR3_SCY_2=y CONFIG_OR3_TRLX_RELAXED=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y +CONFIG_LCRR_EADC_2=y
configs/kmopti2_defconfig +3 -0
@@ -179,3 +179,6 @@ CONFIG_BR3_PORTSIZE_16BIT=y CONFIG_OR3_AM_256_MBYTES=y CONFIG_OR3_SCY_4=y CONFIG_OR3_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/kmsupx5_defconfig +3 -0
@@ -157,3 +157,6 @@ CONFIG_OR2_EAD_EXTRA=y CONFIG_OR2_SCY_2=y CONFIG_OR2_TRLX_RELAXED=y CONFIG_OR2_EHTR_4_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/kmtegr1_defconfig +3 -0
@@ -157,3 +157,6 @@ CONFIG_BR3_PORTSIZE_16BIT=y CONFIG_OR3_AM_256_MBYTES=y CONFIG_OR3_SCY_5=y CONFIG_OR3_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/kmtepr2_defconfig +3 -0
@@ -179,3 +179,6 @@ CONFIG_BR3_PORTSIZE_16BIT=y CONFIG_OR3_AM_256_MBYTES=y CONFIG_OR3_SCY_4=y CONFIG_OR3_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/kmvect1_defconfig +3 -0
@@ -177,3 +177,6 @@ CONFIG_OR3_ACS_QUARTER_CYCLE_EARLIER=y CONFIG_OR3_CSNT_EARLIER=y CONFIG_OR3_SCY_3=y CONFIG_OR3_TRLX_RELAXED=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/mpc8308_p1m_defconfig +2 -0
@@ -122,3 +122,5 @@ CONFIG_BR2_PORTSIZE_8BIT=y CONFIG_OR2_AM_32_KBYTES=y CONFIG_OR2_SCY_4=y CONFIG_OR2_EHTR_1_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/sbc8349_PCI_33_defconfig +2 -0
@@ -106,3 +106,5 @@ CONFIG_OR0_XACS_EXTENDED=y CONFIG_OR0_XAM_SET=y CONFIG_OR0_TRLX_RELAXED=y CONFIG_OR0_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/sbc8349_PCI_66_defconfig +2 -0
@@ -106,3 +106,5 @@ CONFIG_OR0_XACS_EXTENDED=y CONFIG_OR0_XAM_SET=y CONFIG_OR0_TRLX_RELAXED=y CONFIG_OR0_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/sbc8349_defconfig +2 -0
@@ -84,3 +84,5 @@ CONFIG_OR0_XACS_EXTENDED=y CONFIG_OR0_XAM_SET=y CONFIG_OR0_TRLX_RELAXED=y CONFIG_OR0_EHTR_8_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_4=y
configs/strider_con_defconfig +2 -0
@@ -130,3 +130,5 @@ CONFIG_OR1_CSNT_EARLIER=y CONFIG_OR1_SCY_5=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/strider_con_dp_defconfig +2 -0
@@ -130,3 +130,5 @@ CONFIG_OR1_CSNT_EARLIER=y CONFIG_OR1_SCY_5=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/strider_cpu_defconfig +2 -0
@@ -130,3 +130,5 @@ CONFIG_OR1_CSNT_EARLIER=y CONFIG_OR1_SCY_5=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/strider_cpu_dp_defconfig +2 -0
@@ -130,3 +130,5 @@ CONFIG_OR1_CSNT_EARLIER=y CONFIG_OR1_SCY_5=y CONFIG_OR1_XAM_SET=y CONFIG_OR1_EHTR_NORMAL=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_CLKDIV_2=y
configs/suvd3_defconfig +3 -0
@@ -175,3 +175,6 @@ CONFIG_OR3_ACS_QUARTER_CYCLE_EARLIER=y CONFIG_OR3_CSNT_EARLIER=y CONFIG_OR3_SCY_3=y CONFIG_OR3_TRLX_RELAXED=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/tuge1_defconfig +3 -0
@@ -157,3 +157,6 @@ CONFIG_OR2_EAD_EXTRA=y CONFIG_OR2_SCY_2=y CONFIG_OR2_TRLX_RELAXED=y CONFIG_OR2_EHTR_4_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/tuxx1_defconfig +3 -0
@@ -182,3 +182,6 @@ CONFIG_OR3_CSNT_EARLIER=y CONFIG_OR3_SCY_2=y CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_EHTR_4_CYCLE=y +CONFIG_LCRR_DBYP_PLL_BYPASSED=y +CONFIG_LCRR_EADC_1=y +CONFIG_LCRR_CLKDIV_2=y
configs/ve8313_defconfig +2 -0
@@ -145,3 +145,5 @@ CONFIG_OR3_SCY_15=y CONFIG_OR3_XACS_EXTENDED=y CONFIG_OR3_TRLX_RELAXED=y CONFIG_OR3_EHTR_8_CYCLE=y +CONFIG_LCRR_EADC_3=y +CONFIG_LCRR_CLKDIV_2=y
configs/vme8349_defconfig +1 -0
@@ -118,3 +118,4 @@ CONFIG_BR1_MACHINE_GPCM=y CONFIG_BR1_PORTSIZE_32BIT=y CONFIG_OR1_AM_256_KBYTES=y CONFIG_OR1_SETA_EXTERNAL=y +CONFIG_LCRR_CLKDIV_4=y
include/configs/MPC8308RDB.h +0 -2
@@ -126,8 +126,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2#define CONFIG_SYS_LBC_LBCR 0x00040000/*
include/configs/MPC8313ERDB_NAND.h +0 -2
@@ -191,8 +191,6 @@/* * Local Bus LCRR and LBCR regs */ -#define CONFIG_SYS_LCRR_EADC LCRR_EADC_1 -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4 #define CONFIG_SYS_LBC_LBCR (0x00040000 /* TODO */ \ | (0xFF << LBCR_BMT_SHIFT) \ | 0xF) /* 0x0004ff0f */
include/configs/MPC8313ERDB_NOR.h +0 -2
@@ -164,8 +164,6 @@/* * Local Bus LCRR and LBCR regs */ -#define CONFIG_SYS_LCRR_EADC LCRR_EADC_1 -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4 #define CONFIG_SYS_LBC_LBCR (0x00040000 /* TODO */ \ | (0xFF << LBCR_BMT_SHIFT) \ | 0xF) /* 0x0004ff0f */
include/configs/MPC8315ERDB.h +0 -2
@@ -121,8 +121,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2#define CONFIG_SYS_LBC_LBCR 0x00040000#define CONFIG_FSL_ELBC 1
include/configs/MPC8323ERDB.h +0 -2
@@ -118,8 +118,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2#define CONFIG_SYS_LBC_LBCR 0x00000000/*
include/configs/MPC832XEMDS.h +0 -2
@@ -118,8 +118,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2#define CONFIG_SYS_LBC_LBCR 0x00000000/*
include/configs/MPC8349EMDS.h +0 -2
@@ -161,8 +161,6 @@* External Local Bus rate is * CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4#define CONFIG_SYS_LBC_LBCR 0x00000000/*
include/configs/MPC8349EMDS_SDRAM.h +0 -2
@@ -158,8 +158,6 @@* External Local Bus rate is * CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4#define CONFIG_SYS_LBC_LBCR 0x00000000/*
include/configs/MPC8349ITX.h +0 -2
@@ -258,8 +258,6 @@ boards, we say we have two, but don't display a message if we find only one. */* External Local Bus rate is * CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4#define CONFIG_SYS_LBC_LBCR 0x00000000/* LB sdram refresh timer, about 6us */
include/configs/MPC837XEMDS.h +0 -2
@@ -139,8 +139,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_8#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_FSL_ELBC 1
include/configs/MPC837XERDB.h +0 -2
@@ -163,8 +163,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_8#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_FSL_ELBC 1
include/configs/TQM834x.h +0 -12
@@ -16,18 +16,6 @@*/ #define CONFIG_E300 1/* E300 Family */ -/* -* Local Bus LCRR -* LCRR: DLL bypass, Clock divider is 8 -* -* for CSB = 266 MHz it gives LCB clock frequency = 33 MHz -* -* External Local Bus rate is -* CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV -*/ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_8 -/* board pre init: do not call, nothing to do */ /* detect the number of flash banks */
include/configs/caddy2.h +0 -1
@@ -104,7 +104,6 @@* External Local Bus rate is * CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV */ -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4#define CONFIG_SYS_LBC_LBCR 0x00000000#undef CONFIG_SYS_LB_SDRAM/* if board has SDRAM on local bus */
include/configs/hrcon.h +0 -2
@@ -115,8 +115,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2#define CONFIG_SYS_LBC_LBCR 0x00040000/*
include/configs/ids8313.h +0 -2
@@ -39,8 +39,6 @@/* * Local Bus LCRR and LBCR regs */ -#define CONFIG_SYS_LCRR_EADC LCRR_EADC_1 -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2#define CONFIG_SYS_LBC_LBCR (0x00040000 |\ (0xFF << LBCR_BMT_SHIFT) |\ 0xF)
include/configs/kmcoge5ne.h +0 -7
@@ -296,13 +296,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_EADC LCRR_EADC_2 -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4 -/* * PAXE on the local bus CS3 */
include/configs/kmeter1.h +0 -7
@@ -276,13 +276,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_EADC LCRR_EADC_2 -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4 -/* * PAXE on the local bus CS3 */
include/configs/kmopti2.h +0 -4
@@ -294,10 +294,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP 0x80000000 -#define CONFIG_SYS_LCRR_EADC 0x00010000 -#define CONFIG_SYS_LCRR_CLKDIV 0x00000002 -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */
include/configs/kmsupx5.h +0 -4
@@ -294,10 +294,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP 0x80000000 -#define CONFIG_SYS_LCRR_EADC 0x00010000 -#define CONFIG_SYS_LCRR_CLKDIV 0x00000002 -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */
include/configs/kmtegr1.h +0 -4
@@ -346,10 +346,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP 0x80000000 -#define CONFIG_SYS_LCRR_EADC 0x00010000 -#define CONFIG_SYS_LCRR_CLKDIV 0x00000002 -#define CONFIG_SYS_LBC_LBCR 0x00000000/* must be after the include because KMBEC_FPGA is otherwise undefined */
include/configs/kmtepr2.h +0 -4
@@ -294,10 +294,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP 0x80000000 -#define CONFIG_SYS_LCRR_EADC 0x00010000 -#define CONFIG_SYS_LCRR_CLKDIV 0x00000002 -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */
include/configs/kmvect1.h +0 -4
@@ -338,10 +338,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP 0x80000000 -#define CONFIG_SYS_LCRR_EADC 0x00010000 -#define CONFIG_SYS_LCRR_CLKDIV 0x00000002 -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_SYS_APP1_BASE 0xA0000000
include/configs/mpc8308_p1m.h +0 -2
@@ -130,8 +130,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2#define CONFIG_SYS_LBC_LBCR 0x00040000/*
include/configs/sbc8349.h +0 -2
@@ -131,8 +131,6 @@* External Local Bus rate is * CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4#define CONFIG_SYS_LBC_LBCR 0x00000000#undef CONFIG_SYS_LB_SDRAM/* if board has SDRAM on local bus */
include/configs/strider.h +0 -2
@@ -115,8 +115,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP LCRR_DBYP -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2#define CONFIG_SYS_LBC_LBCR 0x00040000/*
include/configs/suvd3.h +0 -4
@@ -291,10 +291,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP 0x80000000 -#define CONFIG_SYS_LCRR_EADC 0x00010000 -#define CONFIG_SYS_LCRR_CLKDIV 0x00000002 -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_SYS_APP1_BASE 0xA0000000
include/configs/tuge1.h +0 -4
@@ -294,10 +294,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP 0x80000000 -#define CONFIG_SYS_LCRR_EADC 0x00010000 -#define CONFIG_SYS_LCRR_CLKDIV 0x00000002 -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */
include/configs/tuxx1.h +0 -4
@@ -294,10 +294,6 @@/* * Local Bus Configuration & Clock Setup */ -#define CONFIG_SYS_LCRR_DBYP 0x80000000 -#define CONFIG_SYS_LCRR_EADC 0x00010000 -#define CONFIG_SYS_LCRR_CLKDIV 0x00000002 -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */
include/configs/ve8313.h +0 -3
@@ -133,9 +133,6 @@/* * Local Bus LCRR and LBCR regs */ -#define CONFIG_SYS_LCRR_EADC LCRR_EADC_3 -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_2 -#define CONFIG_SYS_LBC_LBCR 0x00040000#define CONFIG_SYS_LBC_MRTPR 0x20000000
include/configs/vme8349.h +0 -1
@@ -104,7 +104,6 @@* External Local Bus rate is * CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV */ -#define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4#define CONFIG_SYS_LBC_LBCR 0x00000000#undef CONFIG_SYS_LB_SDRAM/* if board has SDRAM on local bus */
scripts/config_whitelist.txt +0 -3
@@ -3245,9 +3245,6 @@ CONFIG_SYS_LBC_SDRAM_BASE_PHYS CONFIG_SYS_LBC_SDRAM_SIZE CONFIG_SYS_LB_SDRAM CONFIG_SYS_LCD_BASE -CONFIG_SYS_LCRR_CLKDIV -CONFIG_SYS_LCRR_DBYP -CONFIG_SYS_LCRR_EADC CONFIG_SYS_LDB_CLOCK CONFIG_SYS_LDSCRIPT CONFIG_SYS_LED_BASE
Signature · 1 line
2.20.1
PATCH v3 52/60 mpc83xx: Get rid of CONFIG_SYS_DDR_BASE
In reply to Mario SixCONFIG_SYS_DDR_BASE is specific to mpc83xx an is always set to the same value as CONFIG_SYS_SDRAM_BASE. Just use CONFIG_SYS_SDRAM_BASE instead.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- board/esd/vme8349/vme8349.c | 2 +- board/freescale/mpc8323erdb/mpc8323erdb.c | 2 +- board/freescale/mpc832xemds/mpc832xemds.c | 2 +- board/freescale/mpc8349emds/mpc8349emds.c | 2 +- board/freescale/mpc8349itx/mpc8349itx.c | 2 +- board/ids/ids8313/ids8313.c | 2 +- board/keymile/km83xx/km83xx.c | 4 ++-- board/sbc8349/sbc8349.c | 2 +- board/tqc/tqm834x/tqm834x.c | 6 +++--- board/ve8313/ve8313.c | 2 +- include/configs/MPC8308RDB.h | 5 ++--- include/configs/MPC8313ERDB_NAND.h | 5 ++--- include/configs/MPC8313ERDB_NOR.h | 5 ++--- include/configs/MPC8315ERDB.h | 5 ++--- include/configs/MPC8323ERDB.h | 5 ++--- include/configs/MPC832XEMDS.h | 5 ++--- include/configs/MPC8349EMDS.h | 5 ++--- include/configs/MPC8349EMDS_SDRAM.h | 5 ++--- include/configs/MPC8349ITX.h | 5 ++--- include/configs/MPC837XEMDS.h | 5 ++--- include/configs/MPC837XERDB.h | 5 ++--- include/configs/TQM834x.h | 5 ++--- include/configs/caddy2.h | 5 ++--- include/configs/hrcon.h | 5 ++--- include/configs/ids8313.h | 5 ++--- include/configs/kmcoge5ne.h | 5 ++--- include/configs/kmeter1.h | 5 ++--- include/configs/kmopti2.h | 5 ++--- include/configs/kmsupx5.h | 5 ++--- include/configs/kmtegr1.h | 5 ++--- include/configs/kmtepr2.h | 5 ++--- include/configs/kmvect1.h | 5 ++--- include/configs/mpc8308_p1m.h | 5 ++--- include/configs/sbc8349.h | 5 ++--- include/configs/strider.h | 5 ++--- include/configs/suvd3.h | 5 ++--- include/configs/tuge1.h | 5 ++--- include/configs/tuxx1.h | 5 ++--- include/configs/ve8313.h | 5 ++--- include/configs/vme8349.h | 5 ++--- scripts/config_whitelist.txt | 1 - 41 files changed, 73 insertions(+), 104 deletions(-)
board/esd/vme8349/vme8349.c +1 -1
@@ -38,7 +38,7 @@ int dram_init(void)return -ENXIO ;/* DDR SDRAM - Main memory */ - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_BASE &LAWBAR_BAR ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &LAWBAR_BAR ; msize =spd_sdram ();
board/freescale/mpc8323erdb/mpc8323erdb.c +1 -1
@@ -79,7 +79,7 @@ int dram_init(void)return -ENXIO ;/* DDR SDRAM - Main SODIMM */ - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_BASE &LAWBAR_BAR ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &LAWBAR_BAR ; msize =fixed_sdram ();
board/freescale/mpc832xemds/mpc832xemds.c +1 -1
@@ -98,7 +98,7 @@ int dram_init(void)return -ENXIO ;/* DDR SDRAM - Main SODIMM */ - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_BASE &LAWBAR_BAR ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &LAWBAR_BAR ; msize =fixed_sdram ();
board/freescale/mpc8349emds/mpc8349emds.c +1 -1
@@ -56,7 +56,7 @@ int dram_init(void)return -ENXIO ;/* DDR SDRAM - Main SODIMM */ - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_BASE &LAWBAR_BAR ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &LAWBAR_BAR ;#if defined(CONFIG_SPD_EEPROM )#ifndef CONFIG_SYS_FSL_DDR2 msize =spd_sdram () *1024 *1024 ;
board/freescale/mpc8349itx/mpc8349itx.c +1 -1
@@ -132,7 +132,7 @@ int dram_init(void)return -ENXIO ;/* DDR SDRAM - Main SODIMM */ - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_BASE &LAWBAR_BAR ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &LAWBAR_BAR ;#ifdef CONFIG_SPD_EEPROM msize =spd_sdram ();#else
board/ids/ids8313/ids8313.c +1 -1
@@ -96,7 +96,7 @@ int fixed_sdram(unsigned long config)setbits_be32 (&im->ddr.sdram_cfg,SDRAM_CFG_MEM_EN );/* now check the real size */ disable_addr_trans (); - msize =get_ram_size (CONFIG_SYS_DDR_BASE , msize); + msize =get_ram_size (CONFIG_SYS_SDRAM_BASE , msize);enable_addr_trans ();#endif return msize;
board/keymile/km83xx/km83xx.c +2 -2
@@ -311,7 +311,7 @@ static int fixed_sdram(void) msize =CONFIG_SYS_DDR_SIZE <<20 ;disable_addr_trans (); - msize =get_ram_size (CONFIG_SYS_DDR_BASE , msize); + msize =get_ram_size (CONFIG_SYS_SDRAM_BASE , msize);enable_addr_trans (); msize /= (1024 *1024 );if (CONFIG_SYS_DDR_SIZE != msize) {
@@ -338,7 +338,7 @@ int dram_init(void)return -ENXIO ;out_be32 (&im->sysconf.ddrlaw[0 ].bar, -CONFIG_SYS_DDR_BASE &LAWBAR_BAR ); +CONFIG_SYS_SDRAM_BASE &LAWBAR_BAR ); msize =fixed_sdram ();#if defined(CONFIG_DDR_ECC ) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER )
board/sbc8349/sbc8349.c +1 -1
@@ -45,7 +45,7 @@ int dram_init(void)return -1 ;/* DDR SDRAM - Main SODIMM */ - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_BASE &LAWBAR_BAR ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &LAWBAR_BAR ;#if defined(CONFIG_SPD_EEPROM ) msize =spd_sdram ();#else
board/tqc/tqm834x/tqm834x.c +3 -3
@@ -72,13 +72,13 @@ int dram_init(void)int cs;/* during size detection, set up the max DDRLAW size */ - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_BASE ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE ; im->sysconf.ddrlaw[0 ].ar = (LAWAR_EN |LAWAR_SIZE_2G );/* set CS bounds to maximum size */ for (cs =0 ; cs <4 ; ++cs) {set_cs_bounds (cs, -CONFIG_SYS_DDR_BASE + (cs *DDR_MAX_SIZE_PER_CS ), +CONFIG_SYS_SDRAM_BASE + (cs *DDR_MAX_SIZE_PER_CS ),DDR_MAX_SIZE_PER_CS );set_cs_config (cs,INITIAL_CS_CONFIG );
@@ -102,7 +102,7 @@ int dram_init(void)debug ("\nDetecting Bank%d\n" , cs); bank_size =get_ddr_bank_size (cs, - (long *)(CONFIG_SYS_DDR_BASE + size)); + (long *)(CONFIG_SYS_SDRAM_BASE + size)); size += bank_size;debug ("DDR Bank%d size: %ld MiB\n\n" , cs, bank_size >>20 );
board/ve8313/ve8313.c +1 -1
@@ -80,7 +80,7 @@ static long fixed_sdram(void)/* now check the real size */ disable_addr_trans (); - msize =get_ram_size (CONFIG_SYS_DDR_BASE , msize); + msize =get_ram_size (CONFIG_SYS_SDRAM_BASE , msize);enable_addr_trans ();#endif
include/configs/MPC8308RDB.h +2 -3
@@ -36,9 +36,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/MPC8313ERDB_NAND.h +2 -3
@@ -86,9 +86,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE/* * Manually set up DDR parameters, as this board does not
include/configs/MPC8313ERDB_NOR.h +2 -3
@@ -58,9 +58,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE/* * Manually set up DDR parameters, as this board does not
include/configs/MPC8315ERDB.h +2 -3
@@ -34,9 +34,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/MPC8323ERDB.h +2 -3
@@ -23,9 +23,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#undef CONFIG_SPD_EEPROM#if defined(CONFIG_SPD_EEPROM )
include/configs/MPC832XEMDS.h +2 -3
@@ -20,9 +20,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDRCDR 0x73000002/* DDR II voltage is 1.8V */ #undef CONFIG_SPD_EEPROM
include/configs/MPC8349EMDS.h +2 -3
@@ -52,9 +52,8 @@*/ #undef CONFIG_DDR_32BIT -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN \ | DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)#undef CONFIG_DDR_2T_TIMING
include/configs/MPC8349EMDS_SDRAM.h +2 -3
@@ -52,9 +52,8 @@*/ #undef CONFIG_DDR_32BIT -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN \ | DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)#undef CONFIG_DDR_2T_TIMING
include/configs/MPC8349ITX.h +2 -3
@@ -142,9 +142,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_83XX_DDR_USES_CS0 #define CONFIG_SYS_MEMTEST_START 0x1000/* memtest region */ #define CONFIG_SYS_MEMTEST_END 0x2000
include/configs/MPC837XEMDS.h +2 -3
@@ -35,9 +35,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_83XX_DDR_USES_CS0 #define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_DHC_EN \
include/configs/MPC837XERDB.h +2 -3
@@ -58,9 +58,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL 0x03000000#define CONFIG_SYS_83XX_DDR_USES_CS0
include/configs/TQM834x.h +2 -3
@@ -24,9 +24,8 @@* DDR Setup */ /* DDR is system memory*/ -#define CONFIG_SYS_DDR_BASE 0x00000000 -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define DDR_CASLAT_25 /* CASLAT set to 2.5 */ #undef CONFIG_DDR_ECC/* only for ECC DDR module */ #undef CONFIG_SPD_EEPROM/* do not use SPD EEPROM for DDR setup */
include/configs/caddy2.h +2 -3
@@ -51,9 +51,8 @@*/ #undef CONFIG_DDR_32BIT -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is sys memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is sys memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN \ | DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)#define CONFIG_DDR_2T_TIMING
include/configs/hrcon.h +2 -3
@@ -24,9 +24,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/ids8313.h +2 -3
@@ -51,9 +51,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000 -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000 +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE/* * Manually set up DDR parameters,
include/configs/kmcoge5ne.h +2 -3
@@ -43,11 +43,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmeter1.h +2 -3
@@ -28,11 +28,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmopti2.h +2 -3
@@ -48,11 +48,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmsupx5.h +2 -3
@@ -48,11 +48,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmtegr1.h +2 -3
@@ -55,11 +55,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmtepr2.h +2 -3
@@ -48,11 +48,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmvect1.h +2 -3
@@ -47,11 +47,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/mpc8308_p1m.h +2 -3
@@ -39,9 +39,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/sbc8349.h +2 -3
@@ -46,9 +46,8 @@*/ #undef CONFIG_DDR_32BIT -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)#define CONFIG_DDR_2T_TIMING
include/configs/strider.h +2 -3
@@ -24,9 +24,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/suvd3.h +2 -3
@@ -45,11 +45,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/tuge1.h +2 -3
@@ -48,11 +48,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/tuxx1.h +2 -3
@@ -48,11 +48,10 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/ve8313.h +2 -3
@@ -34,9 +34,8 @@/* * DDR Setup */ -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE/* * Manually set up DDR parameters, as this board does not
include/configs/vme8349.h +2 -3
@@ -51,9 +51,8 @@*/ #undef CONFIG_DDR_32BIT -#define CONFIG_SYS_DDR_BASE 0x00000000/* DDR is sys memory*/ -#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE +#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is sys memory*/ +#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN \ | DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)#define CONFIG_DDR_2T_TIMING
scripts/config_whitelist.txt +0 -1
@@ -2295,7 +2295,6 @@ CONFIG_SYS_DDRCDR_VALUE CONFIG_SYS_DDRD CONFIG_SYS_DDRTC CONFIG_SYS_DDRUA -CONFIG_SYS_DDR_BASE CONFIG_SYS_DDR_BLOCK1_SIZE CONFIG_SYS_DDR_BLOCK2_BASE CONFIG_SYS_DDR_CDR_1
Signature · 1 line
2.20.1
PATCH v3 53/60 mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE
In reply to Mario SixCONFIG_SYS_DDR_SDRAM_BASE is set to the same value as CONFIG_SYS_SDRAM_BASE on all existing boards. Just use CONFIG_SYS_SDRAM_BASE instead.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +- board/freescale/mpc8308rdb/sdram.c | 4 ++-- board/freescale/mpc8313erdb/sdram.c | 8 ++++---- board/freescale/mpc8315erdb/sdram.c | 2 +- board/freescale/mpc8349emds/mpc8349emds.c | 8 ++++---- board/freescale/mpc8349itx/mpc8349itx.c | 8 ++++---- board/freescale/mpc837xemds/mpc837xemds.c | 2 +- board/freescale/mpc837xerdb/mpc837xerdb.c | 2 +- board/gdsys/mpc8308/sdram.c | 4 ++-- board/ids/ids8313/ids8313.c | 2 +- board/mpc8308_p1m/sdram.c | 4 ++-- board/sbc8349/sbc8349.c | 8 ++++---- board/ve8313/ve8313.c | 8 ++++---- drivers/ddr/fsl/main.c | 4 ++++ include/configs/MPC8308RDB.h | 1 - include/configs/MPC8313ERDB_NAND.h | 1 - include/configs/MPC8313ERDB_NOR.h | 1 - include/configs/MPC8315ERDB.h | 1 - include/configs/MPC8323ERDB.h | 1 - include/configs/MPC832XEMDS.h | 1 - include/configs/MPC8349EMDS.h | 1 - include/configs/MPC8349EMDS_SDRAM.h | 1 - include/configs/MPC8349ITX.h | 1 - include/configs/MPC837XEMDS.h | 1 - include/configs/MPC837XERDB.h | 1 - include/configs/TQM834x.h | 1 - include/configs/caddy2.h | 1 - include/configs/hrcon.h | 1 - include/configs/ids8313.h | 1 - include/configs/kmcoge5ne.h | 1 - include/configs/kmeter1.h | 1 - include/configs/kmopti2.h | 1 - include/configs/kmsupx5.h | 1 - include/configs/kmtegr1.h | 1 - include/configs/kmtepr2.h | 1 - include/configs/kmvect1.h | 1 - include/configs/mpc8308_p1m.h | 1 - include/configs/sbc8349.h | 1 - include/configs/strider.h | 1 - include/configs/suvd3.h | 1 - include/configs/tuge1.h | 1 - include/configs/tuxx1.h | 1 - include/configs/ve8313.h | 1 - include/configs/vme8349.h | 1 - 44 files changed, 35 insertions(+), 61 deletions(-)
arch/powerpc/cpu/mpc83xx/spd_sdram.c +1 -1
@@ -281,7 +281,7 @@ long int spd_sdram()/* * Set up LAWBAR for all of DDR. */ - ecm->bar =CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ; + ecm->bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; ecm->ar = (LAWAR_EN |LAWAR_TRGT_IF_DDR | (LAWAR_SIZE & law_size));debug ("DDR:bar=0x%08x\n" , ecm->bar);debug ("DDR:ar=0x%08x\n" , ecm->ar);
board/freescale/mpc8308rdb/sdram.c +2 -2
@@ -33,7 +33,7 @@ static long fixed_sdram(void)u32 msize_log2 =__ilog2 (msize);out_be32 (&im->sysconf.ddrlaw[0 ].bar, -CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ); +CONFIG_SYS_SDRAM_BASE &0xfffff000 );out_be32 (&im->sysconf.ddrlaw[0 ].ar,LBLAWAR_EN | (msize_log2 -1 ));out_be32 (&im->sysconf.ddrcdr,CONFIG_SYS_DDRCDR_VALUE );
@@ -61,7 +61,7 @@ static long fixed_sdram(void)setbits_be32 (&im->ddr.sdram_cfg,SDRAM_CFG_MEM_EN );sync (); -return get_ram_size (CONFIG_SYS_DDR_SDRAM_BASE , msize); +return get_ram_size (CONFIG_SYS_SDRAM_BASE , msize); }int dram_init (void )
board/freescale/mpc8313erdb/sdram.c +4 -4
@@ -47,7 +47,7 @@ static long fixed_sdram(void)volatile immap_t *im = (volatile immap_t *)CONFIG_SYS_IMMR ;u32 msize_log2 =__ilog2 (msize); - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; im->sysconf.ddrlaw[0 ].ar =LBLAWAR_EN | (msize_log2 -1 ); im->sysconf.ddrcdr =CONFIG_SYS_DDRCDR_VALUE ;
@@ -57,12 +57,12 @@ static long fixed_sdram(void)*/ __udelay (50000 ); -#if ((CONFIG_SYS_DDR_SDRAM_BASE &0x00FFFFFF ) !=0 ) +#if ((CONFIG_SYS_SDRAM_BASE &0x00FFFFFF ) !=0 )#warning Chip select bounds is only configurable in 16MB increments#endif im->ddr.csbnds[0 ].csbnds = - ((CONFIG_SYS_DDR_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | - (((CONFIG_SYS_DDR_SDRAM_BASE + msize -1 ) >>CSBNDS_EA_SHIFT ) & + ((CONFIG_SYS_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | + (((CONFIG_SYS_SDRAM_BASE + msize -1 ) >>CSBNDS_EA_SHIFT ) &CSBNDS_EA ); im->ddr.cs_config[0 ] =CONFIG_SYS_DDR_CS0_CONFIG ;
board/freescale/mpc8315erdb/sdram.c +1 -1
@@ -44,7 +44,7 @@ static long fixed_sdram(void)u32 msize =CONFIG_SYS_DDR_SIZE *1024 *1024 ;u32 msize_log2 =__ilog2 (msize); - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; im->sysconf.ddrlaw[0 ].ar =LBLAWAR_EN | (msize_log2 -1 ); im->sysconf.ddrcdr =CONFIG_SYS_DDRCDR_VALUE ;
board/freescale/mpc8349emds/mpc8349emds.c +4 -4
@@ -91,7 +91,7 @@ int fixed_sdram(void)u32 ddr_size = msize <<20 ;/* DDR size in bytes */ u32 ddr_size_log2 =__ilog2 (ddr_size); - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; im->sysconf.ddrlaw[0 ].ar =LAWAR_EN | ((ddr_size_log2 -1 ) &LAWAR_SIZE );#if (CONFIG_SYS_DDR_SIZE !=256 )
@@ -112,12 +112,12 @@ int fixed_sdram(void) im->ddr.sdram_clk_cntl =CONFIG_SYS_DDR_CLK_CNTL ;#else -#if ((CONFIG_SYS_DDR_SDRAM_BASE &0x00FFFFFF ) !=0 ) +#if ((CONFIG_SYS_SDRAM_BASE &0x00FFFFFF ) !=0 )#warning Chip select bounds is only configurable in 16MB increments#endif im->ddr.csbnds[2 ].csbnds = - ((CONFIG_SYS_DDR_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | - (((CONFIG_SYS_DDR_SDRAM_BASE + ddr_size -1 ) >> + ((CONFIG_SYS_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | + (((CONFIG_SYS_SDRAM_BASE + ddr_size -1 ) >>CSBNDS_EA_SHIFT ) &CSBNDS_EA ); im->ddr.cs_config[2 ] =CONFIG_SYS_DDR_CS2_CONFIG ;
board/freescale/mpc8349itx/mpc8349itx.c +4 -4
@@ -37,14 +37,14 @@ int fixed_sdram(void) im->sysconf.ddrlaw[0 ].ar =LAWAR_EN | ((ddr_size_log2 -1 ) &LAWAR_SIZE ); - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; -#if ((CONFIG_SYS_DDR_SDRAM_BASE &0x00FFFFFF ) !=0 ) +#if ((CONFIG_SYS_SDRAM_BASE &0x00FFFFFF ) !=0 )#warning Chip select bounds is only configurable in 16MB increments#endif im->ddr.csbnds[0 ].csbnds = - ((CONFIG_SYS_DDR_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | - (((CONFIG_SYS_DDR_SDRAM_BASE + ddr_size -1 ) >> + ((CONFIG_SYS_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | + (((CONFIG_SYS_SDRAM_BASE + ddr_size -1 ) >>CSBNDS_EA_SHIFT ) &CSBNDS_EA ); im->ddr.cs_config[0 ] =CONFIG_SYS_DDR_CS0_CONFIG ;
board/freescale/mpc837xemds/mpc837xemds.c +1 -1
@@ -252,7 +252,7 @@ int fixed_sdram(void)u32 msize =CONFIG_SYS_DDR_SIZE *1024 *1024 ;u32 msize_log2 =__ilog2 (msize); - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; im->sysconf.ddrlaw[0 ].ar =LBLAWAR_EN | (msize_log2 -1 );#if (CONFIG_SYS_DDR_SIZE !=512 )
board/freescale/mpc837xerdb/mpc837xerdb.c +1 -1
@@ -95,7 +95,7 @@ int fixed_sdram(void)u32 msize =CONFIG_SYS_DDR_SIZE *1024 *1024 ;u32 msize_log2 =__ilog2 (msize); - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; im->sysconf.ddrlaw[0 ].ar =LBLAWAR_EN | (msize_log2 -1 ); im->sysconf.ddrcdr =CONFIG_SYS_DDRCDR_VALUE ;
board/gdsys/mpc8308/sdram.c +2 -2
@@ -34,7 +34,7 @@ static long fixed_sdram(void)u32 msize_log2 =__ilog2 (msize);out_be32 (&im->sysconf.ddrlaw[0 ].bar, -CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ); +CONFIG_SYS_SDRAM_BASE &0xfffff000 );out_be32 (&im->sysconf.ddrlaw[0 ].ar,LBLAWAR_EN | (msize_log2 -1 ));out_be32 (&im->sysconf.ddrcdr,CONFIG_SYS_DDRCDR_VALUE );
@@ -62,7 +62,7 @@ static long fixed_sdram(void)setbits_be32 (&im->ddr.sdram_cfg,SDRAM_CFG_MEM_EN );sync (); -return get_ram_size (CONFIG_SYS_DDR_SDRAM_BASE , msize); +return get_ram_size (CONFIG_SYS_SDRAM_BASE , msize); }int dram_init (void )
board/ids/ids8313/ids8313.c +1 -1
@@ -57,7 +57,7 @@ int fixed_sdram(unsigned long config)u32 msize_log2 =__ilog2 (msize);out_be32 (&im->sysconf.ddrlaw[0 ].bar, - (CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 )); + (CONFIG_SYS_SDRAM_BASE &0xfffff000 ));out_be32 (&im->sysconf.ddrlaw[0 ].ar,LBLAWAR_EN | (msize_log2 -1 ));out_be32 (&im->sysconf.ddrcdr,CONFIG_SYS_DDRCDR_VALUE );sync ();
board/mpc8308_p1m/sdram.c +2 -2
@@ -29,7 +29,7 @@ static long fixed_sdram(void)u32 msize_log2 =__ilog2 (msize);out_be32 (&im->sysconf.ddrlaw[0 ].bar, -CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ); +CONFIG_SYS_SDRAM_BASE &0xfffff000 );out_be32 (&im->sysconf.ddrlaw[0 ].ar,LBLAWAR_EN | (msize_log2 -1 ));out_be32 (&im->sysconf.ddrcdr,CONFIG_SYS_DDRCDR_VALUE );
@@ -57,7 +57,7 @@ static long fixed_sdram(void)setbits_be32 (&im->ddr.sdram_cfg,SDRAM_CFG_MEM_EN );sync (); -return get_ram_size (CONFIG_SYS_DDR_SDRAM_BASE , msize); +return get_ram_size (CONFIG_SYS_SDRAM_BASE , msize); }int dram_init (void )
board/sbc8349/sbc8349.c +4 -4
@@ -79,19 +79,19 @@ int fixed_sdram(void)u32 ddr_size = msize <<20 ;/* DDR size in bytes */ u32 ddr_size_log2 =__ilog2 (msize); - im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 ; + im->sysconf.ddrlaw[0 ].bar =CONFIG_SYS_SDRAM_BASE &0xfffff000 ; im->sysconf.ddrlaw[0 ].ar =LAWAR_EN | ((ddr_size_log2 -1 ) &LAWAR_SIZE );#if (CONFIG_SYS_DDR_SIZE !=256 )#warning Currently any ddr size other than 256 is not supported#endif -#if ((CONFIG_SYS_DDR_SDRAM_BASE &0x00FFFFFF ) !=0 ) +#if ((CONFIG_SYS_SDRAM_BASE &0x00FFFFFF ) !=0 )#warning Chip select bounds is only configurable in 16MB increments#endif im->ddr.csbnds[2 ].csbnds = - ((CONFIG_SYS_DDR_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | - (((CONFIG_SYS_DDR_SDRAM_BASE + ddr_size -1 ) >> + ((CONFIG_SYS_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | + (((CONFIG_SYS_SDRAM_BASE + ddr_size -1 ) >>CSBNDS_EA_SHIFT ) &CSBNDS_EA ); im->ddr.cs_config[2 ] =CONFIG_SYS_DDR_CS2_CONFIG ;
board/ve8313/ve8313.c +4 -4
@@ -38,7 +38,7 @@ static long fixed_sdram(void)u32 msize_log2 =__ilog2 (msize);out_be32 (&im->sysconf.ddrlaw[0 ].bar, - (CONFIG_SYS_DDR_SDRAM_BASE &0xfffff000 )); + (CONFIG_SYS_SDRAM_BASE &0xfffff000 ));out_be32 (&im->sysconf.ddrlaw[0 ].ar, (LBLAWAR_EN | (msize_log2 -1 )));out_be32 (&im->sysconf.ddrcdr,CONFIG_SYS_DDRCDR_VALUE );
@@ -48,12 +48,12 @@ static long fixed_sdram(void)*/ __udelay (50000 ); -#if ((CONFIG_SYS_DDR_SDRAM_BASE &0x00FFFFFF ) !=0 ) +#if ((CONFIG_SYS_SDRAM_BASE &0x00FFFFFF ) !=0 )#warning Chip select bounds is only configurable in 16MB increments#endif out_be32 (&im->ddr.csbnds[0 ].csbnds, - ((CONFIG_SYS_DDR_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | - (((CONFIG_SYS_DDR_SDRAM_BASE + msize -1 ) >>CSBNDS_EA_SHIFT ) & + ((CONFIG_SYS_SDRAM_BASE >>CSBNDS_SA_SHIFT ) &CSBNDS_SA ) | + (((CONFIG_SYS_SDRAM_BASE + msize -1 ) >>CSBNDS_EA_SHIFT ) &CSBNDS_EA ));out_be32 (&im->ddr.cs_config[0 ],CONFIG_SYS_DDR_CS0_CONFIG );
drivers/ddr/fsl/main.c +4 -0
@@ -23,8 +23,12 @@* 0x80_8000_0000 ~ 0xff_ffff_ffff */ #ifndef CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY +#ifdef CONFIG_MPC83xx +#define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_SDRAM_BASE +#else #define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY CONFIG_SYS_DDR_SDRAM_BASE#endif +#endif #ifdef CONFIG_PPC #include <asm/fsl_law.h>
include/configs/MPC8308RDB.h +0 -1
@@ -37,7 +37,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/MPC8313ERDB_NAND.h +0 -1
@@ -87,7 +87,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE/* * Manually set up DDR parameters, as this board does not
include/configs/MPC8313ERDB_NOR.h +0 -1
@@ -59,7 +59,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE/* * Manually set up DDR parameters, as this board does not
include/configs/MPC8315ERDB.h +0 -1
@@ -35,7 +35,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/MPC8323ERDB.h +0 -1
@@ -24,7 +24,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#undef CONFIG_SPD_EEPROM#if defined(CONFIG_SPD_EEPROM )
include/configs/MPC832XEMDS.h +0 -1
@@ -21,7 +21,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDRCDR 0x73000002/* DDR II voltage is 1.8V */ #undef CONFIG_SPD_EEPROM
include/configs/MPC8349EMDS.h +0 -1
@@ -53,7 +53,6 @@#undef CONFIG_DDR_32BIT#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN \ | DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)#undef CONFIG_DDR_2T_TIMING
include/configs/MPC8349EMDS_SDRAM.h +0 -1
@@ -53,7 +53,6 @@#undef CONFIG_DDR_32BIT#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN \ | DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)#undef CONFIG_DDR_2T_TIMING
include/configs/MPC8349ITX.h +0 -1
@@ -143,7 +143,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_83XX_DDR_USES_CS0 #define CONFIG_SYS_MEMTEST_START 0x1000/* memtest region */ #define CONFIG_SYS_MEMTEST_END 0x2000
include/configs/MPC837XEMDS.h +0 -1
@@ -36,7 +36,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_83XX_DDR_USES_CS0 #define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_DHC_EN \
include/configs/MPC837XERDB.h +0 -1
@@ -59,7 +59,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL 0x03000000#define CONFIG_SYS_83XX_DDR_USES_CS0
include/configs/TQM834x.h +0 -1
@@ -25,7 +25,6 @@*/ /* DDR is system memory*/ #define CONFIG_SYS_SDRAM_BASE 0x00000000 -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define DDR_CASLAT_25 /* CASLAT set to 2.5 */ #undef CONFIG_DDR_ECC/* only for ECC DDR module */ #undef CONFIG_SPD_EEPROM/* do not use SPD EEPROM for DDR setup */
include/configs/caddy2.h +0 -1
@@ -52,7 +52,6 @@#undef CONFIG_DDR_32BIT#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is sys memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN \ | DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)#define CONFIG_DDR_2T_TIMING
include/configs/hrcon.h +0 -1
@@ -25,7 +25,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/ids8313.h +0 -1
@@ -52,7 +52,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000 -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE/* * Manually set up DDR parameters,
include/configs/kmcoge5ne.h +0 -1
@@ -46,7 +46,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmeter1.h +0 -1
@@ -31,7 +31,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmopti2.h +0 -1
@@ -51,7 +51,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmsupx5.h +0 -1
@@ -51,7 +51,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmtegr1.h +0 -1
@@ -58,7 +58,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmtepr2.h +0 -1
@@ -51,7 +51,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/kmvect1.h +0 -1
@@ -50,7 +50,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/mpc8308_p1m.h +0 -1
@@ -40,7 +40,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/sbc8349.h +0 -1
@@ -47,7 +47,6 @@#undef CONFIG_DDR_32BIT#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)#define CONFIG_DDR_2T_TIMING
include/configs/strider.h +0 -1
@@ -25,7 +25,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05#define CONFIG_SYS_DDRCDR_VALUE (DDRCDR_EN \ | DDRCDR_PZ_LOZ \
include/configs/suvd3.h +0 -1
@@ -48,7 +48,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/tuge1.h +0 -1
@@ -51,7 +51,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/tuxx1.h +0 -1
@@ -51,7 +51,6 @@#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory */ #define CONFIG_SYS_SDRAM_BASE2 (CONFIG_SYS_SDRAM_BASE + 0x10000000)/* +256M */ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \ DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
include/configs/ve8313.h +0 -1
@@ -35,7 +35,6 @@* DDR Setup */ #define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is system memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE/* * Manually set up DDR parameters, as this board does not
include/configs/vme8349.h +0 -1
@@ -52,7 +52,6 @@#undef CONFIG_DDR_32BIT#define CONFIG_SYS_SDRAM_BASE 0x00000000/* DDR is sys memory*/ -#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN \ | DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)#define CONFIG_DDR_2T_TIMING
Signature · 1 line
2.20.1
PATCH v3 54/60 mpc83xx: Get rid of CONFIG_SYS_LBC_*
In reply to Mario SixExcept for one counter example, CONFIG_SYS_LBC_LBCR always has a value of either 0x00040000 or 0x00000000.
CONFIG_SYS_LBC_MRTPR always has the value 0x20000000.
CONFIG_SYS_LBC_LSDMR_{1,2,4,5} are not set for any mpc83xx board.
CONFIG_SYS_LBC_LSRT is set by one board (to 0x32000000).
To simplify the configuration files, hardcode the setting of these values for mpc83xx.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- board/freescale/mpc8313erdb/sdram.c | 5 +++-- board/freescale/mpc8349emds/mpc8349emds.c | 27 +++++++++++++++-------- board/ids/ids8313/ids8313.c | 4 ++-- board/sbc8349/sbc8349.c | 25 ++++++++++++++------- board/ve8313/ve8313.c | 4 ++-- include/configs/MPC8308RDB.h | 5 ----- include/configs/MPC8313ERDB_NAND.h | 10 --------- include/configs/MPC8313ERDB_NOR.h | 10 --------- include/configs/MPC8315ERDB.h | 6 +---- include/configs/MPC8323ERDB.h | 5 ----- include/configs/MPC832XEMDS.h | 5 ----- include/configs/MPC8349EMDS.h | 8 ------- include/configs/MPC8349EMDS_SDRAM.h | 8 ------- include/configs/MPC8349ITX.h | 13 ----------- include/configs/MPC837XEMDS.h | 4 ---- include/configs/MPC837XERDB.h | 4 ---- include/configs/caddy2.h | 8 ------- include/configs/hrcon.h | 5 ----- include/configs/ids8313.h | 9 -------- include/configs/kmopti2.h | 5 ----- include/configs/kmsupx5.h | 5 ----- include/configs/kmtegr1.h | 5 ----- include/configs/kmtepr2.h | 5 ----- include/configs/kmvect1.h | 5 ----- include/configs/mpc8308_p1m.h | 5 ----- include/configs/sbc8349.h | 8 ------- include/configs/strider.h | 5 ----- include/configs/suvd3.h | 5 ----- include/configs/tuge1.h | 5 ----- include/configs/tuxx1.h | 5 ----- include/configs/ve8313.h | 7 ------ include/configs/vme8349.h | 8 ------- 32 files changed, 43 insertions(+), 195 deletions(-)
board/freescale/mpc8313erdb/sdram.c +3 -2
@@ -109,8 +109,9 @@ int dram_init(void) msize =fixed_sdram ();/* Local Bus setup lbcr and mrtpr */ - lbc->lbcr =CONFIG_SYS_LBC_LBCR ; - lbc->mrtpr =CONFIG_SYS_LBC_MRTPR ; + lbc->lbcr = (0x00040000 | (0xFF <<LBCR_BMT_SHIFT ) |0xF ); +/* LB refresh timer prescal, 266MHz/32 */ + lbc->mrtpr =0x20000000 ;sync ();#ifndef CONFIG_SYS_8313ERDB_BROKEN_PMC
board/freescale/mpc8349emds/mpc8349emds.c +18 -9
@@ -183,28 +183,36 @@ void sdram_init(void)volatile immap_t *immap = (immap_t *)CONFIG_SYS_IMMR ;volatile fsl_lbc_t *lbc = &immap->im_lbc;uint *sdram_addr = (uint *)CONFIG_SYS_LBC_SDRAM_BASE ; - +const u32 lsdmr_common =LSDMR_RFEN |LSDMR_BSMA1516 |LSDMR_RFCR8 | +LSDMR_PRETOACT6 |LSDMR_ACTTORW3 |LSDMR_BL8 | +LSDMR_WRC3 |LSDMR_CL3 ;/* * Setup SDRAM Base and Option Registers, already done in cpu_init.c */ /* setup mtrpt, lsrt and lbcr for LB bus */ - lbc->lbcr =CONFIG_SYS_LBC_LBCR ; - lbc->mrtpr =CONFIG_SYS_LBC_MRTPR ; - lbc->lsrt =CONFIG_SYS_LBC_LSRT ; + lbc->lbcr =0x00000000 ; +/* LB refresh timer prescal, 266MHz/32 */ + lbc->mrtpr =0x20000000 ; +/* LB sdram refresh timer, about 6us */ + lbc->lsrt =0x32000000 ; asm("sync" );/* * Configure the SDRAM controller Machine Mode Register. */ - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_5 ;/* 0x40636733; normal operation */ - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_1 ;/* 0x68636733; precharge all the banks */ +/* 0x40636733; normal operation */ + lbc->lsdmr = lsdmr_common |LSDMR_OP_NORMAL ; + +/* 0x68636733; precharge all the banks */ + lbc->lsdmr = lsdmr_common |LSDMR_OP_PCHALL ; asm("sync" ); *sdram_addr =0xff ;udelay (100 ); - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_2 ;/* 0x48636733; auto refresh */ +/* 0x48636733; auto refresh */ + lbc->lsdmr = lsdmr_common |LSDMR_OP_ARFRSH ; asm("sync" );/*1 times*/ *sdram_addr =0xff ;
@@ -232,12 +240,13 @@ void sdram_init(void)udelay (100 );/* 0x58636733; mode register write operation */ - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_4 ; + lbc->lsdmr = lsdmr_common |LSDMR_OP_MRW ; asm("sync" ); *sdram_addr =0xff ;udelay (100 ); - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_5 ;/* 0x40636733; normal operation */ +/* 0x40636733; normal operation */ + lbc->lsdmr = lsdmr_common |LSDMR_OP_NORMAL ; asm("sync" ); *sdram_addr =0xff ;udelay (100 );
board/ids/ids8313/ids8313.c +2 -2
@@ -129,8 +129,8 @@ int dram_init(void) msize =setup_sdram (); -out_be32 (&lbc->lbcr,CONFIG_SYS_LBC_LBCR ); -out_be32 (&lbc->mrtpr,CONFIG_SYS_LBC_MRTPR ); +out_be32 (&lbc->lbcr, (0x00040000 | (0xFF <<LBCR_BMT_SHIFT ) |0xF )); +out_be32 (&lbc->mrtpr,0x20000000 );sync (); gd->ram_size = msize;
board/sbc8349/sbc8349.c +17 -8
@@ -147,6 +147,9 @@ void sdram_init(void)volatile immap_t *immap = (immap_t *)CONFIG_SYS_IMMR ;volatile fsl_lbc_t *lbc = &immap->im_lbc;uint *sdram_addr = (uint *)CONFIG_SYS_LBC_SDRAM_BASE ; +const u32 lsdmr_common =LSDMR_RFEN |LSDMR_BSMA1516 |LSDMR_RFCR8 | +LSDMR_PRETOACT6 |LSDMR_ACTTORW3 |LSDMR_BL8 | +LSDMR_WRC3 |LSDMR_CL3 ;puts ("\n SDRAM on Local Bus: " );print_size (CONFIG_SYS_LBC_SDRAM_SIZE *1024 *1024 ,"\n" );
@@ -156,22 +159,27 @@ void sdram_init(void)*/ /* setup mtrpt, lsrt and lbcr for LB bus */ - lbc->lbcr =CONFIG_SYS_LBC_LBCR ; - lbc->mrtpr =CONFIG_SYS_LBC_MRTPR ; - lbc->lsrt =CONFIG_SYS_LBC_LSRT ; + lbc->lbcr =0x00000000 ; +/* LB refresh timer prescal, 266MHz/32 */ + lbc->mrtpr =0x20000000 ; +/* LB sdram refresh timer, about 6us */ + lbc->lsrt =0x32000000 ; asm("sync" );/* * Configure the SDRAM controller Machine Mode Register. */ - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_5 ;/* 0x40636733; normal operation */ +/* 0x40636733; normal operation */ + lbc->lsdmr = lsdmr_common |LSDMR_OP_NORMAL ; - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_1 ;/* 0x68636733; precharge all the banks */ +/* 0x68636733; precharge all the banks */ + lbc->lsdmr = lsdmr_common |LSDMR_OP_PCHALL ; asm("sync" ); *sdram_addr =0xff ;udelay (100 ); - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_2 ;/* 0x48636733; auto refresh */ +/* 0x48636733; auto refresh */ + lbc->lsdmr = lsdmr_common |LSDMR_OP_ARFRSH ; asm("sync" );/*1 times*/ *sdram_addr =0xff ;
@@ -199,12 +207,13 @@ void sdram_init(void)udelay (100 );/* 0x58636733; mode register write operation */ - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_4 ; + lbc->lsdmr = lsdmr_common |LSDMR_OP_MRW ; asm("sync" ); *sdram_addr =0xff ;udelay (100 ); - lbc->lsdmr =CONFIG_SYS_LBC_LSDMR_5 ;/* 0x40636733; normal operation */ +/* 0x40636733; normal operation */ + lbc->lsdmr = lsdmr_common |LSDMR_OP_NORMAL ; asm("sync" ); *sdram_addr =0xff ;udelay (100 );
board/ve8313/ve8313.c +2 -2
@@ -100,8 +100,8 @@ int dram_init(void) msize =fixed_sdram ();/* Local Bus setup lbcr and mrtpr */ -out_be32 (&lbc->lbcr,CONFIG_SYS_LBC_LBCR ); -out_be32 (&lbc->mrtpr,CONFIG_SYS_LBC_MRTPR ); +out_be32 (&lbc->lbcr,0x00040000 ); +out_be32 (&lbc->mrtpr,0x20000000 );sync ();/* return total bus SDRAM size(bytes) -- DDR */
include/configs/MPC8308RDB.h +0 -5
@@ -121,11 +121,6 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00040000 -/* * FLASH on the Local Bus */
include/configs/MPC8313ERDB_NAND.h +0 -10
@@ -186,16 +186,6 @@#define CONFIG_SYS_MONITOR_LEN (512 * 1024)/* Reserve 512 kB for Mon */ #define CONFIG_SYS_MALLOC_LEN (512 * 1024)/* Reserved for malloc */ -/* -* Local Bus LCRR and LBCR regs -*/ -#define CONFIG_SYS_LBC_LBCR (0x00040000 /* TODO */ \ - | (0xFF << LBCR_BMT_SHIFT) \ - | 0xF) /* 0x0004ff0f */ - -/* LB refresh timer prescal, 266MHz/32 */ -#define CONFIG_SYS_LBC_MRTPR 0x20000000/*TODO */ -/* drivers/mtd/nand/raw/nand.c */ #if defined(CONFIG_SPL_BUILD )#define CONFIG_SYS_NAND_BASE 0xFFF00000
include/configs/MPC8313ERDB_NOR.h +0 -10
@@ -159,16 +159,6 @@#define CONFIG_SYS_MONITOR_LEN (512 * 1024)/* Reserve 512 kB for Mon */ #define CONFIG_SYS_MALLOC_LEN (512 * 1024)/* Reserved for malloc */ -/* -* Local Bus LCRR and LBCR regs -*/ -#define CONFIG_SYS_LBC_LBCR (0x00040000 /* TODO */ \ - | (0xFF << LBCR_BMT_SHIFT) \ - | 0xF) /* 0x0004ff0f */ - -/* LB refresh timer prescal, 266MHz/32 */ -#define CONFIG_SYS_LBC_MRTPR 0x20000000/*TODO */ -/* drivers/mtd/nand/nand.c */ #define CONFIG_SYS_NAND_BASE 0xE2800000
include/configs/MPC8315ERDB.h +1 -5
@@ -116,11 +116,7 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00040000 -#define CONFIG_FSL_ELBC 1 +#define CONFIG_FSL_ELBC /* * FLASH on the Local Bus
include/configs/MPC8323ERDB.h +0 -5
@@ -113,11 +113,6 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -/* * FLASH on the Local Bus */
include/configs/MPC832XEMDS.h +0 -5
@@ -113,11 +113,6 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -/* * FLASH on the Local Bus */
include/configs/MPC8349EMDS.h +0 -8
@@ -153,14 +153,6 @@#define CONFIG_SYS_MONITOR_LEN (512 * 1024)/* Reserve 512 kB for Mon */ #define CONFIG_SYS_MALLOC_LEN (256 * 1024)/* Reserved for malloc */ -/* -* Local Bus LCRR and LBCR regs -* LCRR: DLL bypass, Clock divider is 4 -* External Local Bus rate is -* CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -/* * Serial Port */
include/configs/MPC8349EMDS_SDRAM.h +0 -8
@@ -150,14 +150,6 @@#define CONFIG_SYS_MONITOR_LEN (512 * 1024)/* Reserve 512 kB for Mon */ #define CONFIG_SYS_MALLOC_LEN (256 * 1024)/* Reserved for malloc */ -/* -* Local Bus LCRR and LBCR regs -* LCRR: DLL bypass, Clock divider is 4 -* External Local Bus rate is -* CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -/* * The MPC834xEA MDS for 834xE rev3.1 may not be assembled SDRAM memory. */
include/configs/MPC8349ITX.h +0 -13
@@ -250,19 +250,6 @@ boards, we say we have two, but don't display a message if we find only one. */#define CONFIG_SYS_MONITOR_LEN (512 * 1024)/* Reserve 512 kB for Mon */ #define CONFIG_SYS_MALLOC_LEN (256 * 1024)/* Reserved for malloc */ -/* -* Local Bus LCRR and LBCR regs -* LCRR: DLL bypass, Clock divider is 4 -* External Local Bus rate is -* CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 - -/* LB sdram refresh timer, about 6us */ -#define CONFIG_SYS_LBC_LSRT 0x32000000 -/* LB refresh timer prescal, 266MHz/32*/ -#define CONFIG_SYS_LBC_MRTPR 0x20000000 -/* * Serial Port */
include/configs/MPC837XEMDS.h +0 -4
@@ -134,10 +134,6 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_FSL_ELBC 1/*
include/configs/MPC837XERDB.h +0 -4
@@ -158,10 +158,6 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000#define CONFIG_FSL_ELBC 1/*
include/configs/caddy2.h +0 -8
@@ -96,14 +96,6 @@#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB */ #define CONFIG_SYS_MALLOC_LEN (256 * 1024)/* Malloc size */ -/* -* Local Bus LCRR and LBCR regs -* LCRR: no DLL bypass, Clock divider is 4 -* External Local Bus rate is -* CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#undef CONFIG_SYS_LB_SDRAM/* if board has SDRAM on local bus */ /*
include/configs/hrcon.h +0 -5
@@ -110,11 +110,6 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00040000 -/* * FLASH on the Local Bus */
include/configs/ids8313.h +0 -9
@@ -36,15 +36,6 @@ - CONFIG_SYS_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -/* -* Local Bus LCRR and LBCR regs -*/ -#define CONFIG_SYS_LBC_LBCR (0x00040000 |\ - (0xFF << LBCR_BMT_SHIFT) |\ - 0xF) - -#define CONFIG_SYS_LBC_MRTPR 0x20000000 -/* * Internal Definitions */
include/configs/kmopti2.h +0 -5
@@ -289,11 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ #define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ #define CONFIG_SYS_APP2_BASE 0xB0000000/* PINC3 */
include/configs/kmsupx5.h +0 -5
@@ -289,11 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ #define CONFIG_SYS_APP1_SIZE 256/* Megabytes */
include/configs/kmtegr1.h +0 -5
@@ -341,11 +341,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -/* must be after the include because KMBEC_FPGA is otherwise undefined */ #define CONFIG_SYS_NAND_BASE CONFIG_SYS_KMBEC_FPGA_BASE/* PRIO_BASE_ADDRESS */
include/configs/kmtepr2.h +0 -5
@@ -289,11 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ #define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ #define CONFIG_SYS_APP2_BASE 0xB0000000/* PINC3 */
include/configs/kmvect1.h +0 -5
@@ -333,11 +333,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#define CONFIG_SYS_APP1_BASE 0xA0000000#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ #define CONFIG_SYS_APP2_BASE 0xB0000000
include/configs/mpc8308_p1m.h +0 -5
@@ -125,11 +125,6 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00040000 -/* * FLASH on the Local Bus */
include/configs/sbc8349.h +0 -8
@@ -123,14 +123,6 @@#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB for Mon */ #define CONFIG_SYS_MALLOC_LEN (256 * 1024)/* Reserved for malloc */ -/* -* Local Bus LCRR and LBCR regs -* LCRR: DLL bypass, Clock divider is 4 -* External Local Bus rate is -* CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#undef CONFIG_SYS_LB_SDRAM/* if board has SDRAM on local bus */ /*
include/configs/strider.h +0 -5
@@ -110,11 +110,6 @@#define CONFIG_SYS_GBL_DATA_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00040000 -/* * FLASH on the Local Bus */
include/configs/suvd3.h +0 -5
@@ -286,11 +286,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#define CONFIG_SYS_APP1_BASE 0xA0000000#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ #define CONFIG_SYS_APP2_BASE 0xB0000000
include/configs/tuge1.h +0 -5
@@ -289,11 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ #define CONFIG_SYS_APP1_SIZE 256/* Megabytes */
include/configs/tuxx1.h +0 -5
@@ -289,11 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -/* -* Local Bus Configuration & Clock Setup -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ #define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ #define CONFIG_SYS_APP2_BASE 0xB0000000/* PINC3 */
include/configs/ve8313.h +0 -7
@@ -128,13 +128,6 @@#define CONFIG_SYS_MONITOR_LEN (384 * 1024)#define CONFIG_SYS_MALLOC_LEN (512 * 1024) -/* -* Local Bus LCRR and LBCR regs -*/ -#define CONFIG_SYS_LBC_LBCR 0x00040000 - -#define CONFIG_SYS_LBC_MRTPR 0x20000000 -/* * NAND settings */
include/configs/vme8349.h +0 -8
@@ -96,14 +96,6 @@#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB */ #define CONFIG_SYS_MALLOC_LEN (256 * 1024)/* Malloc size */ -/* -* Local Bus LCRR and LBCR regs -* LCRR: no DLL bypass, Clock divider is 4 -* External Local Bus rate is -* CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV -*/ -#define CONFIG_SYS_LBC_LBCR 0x00000000 -#undef CONFIG_SYS_LB_SDRAM/* if board has SDRAM on local bus */ /*
Signature · 1 line
2.20.1
PATCH v3 55/60 mpc83xx: Add arch clock.h to make SDHC work
In reply to Mario SixThe fsl-esdhc driver can be used for the SDHC functionality on MPC83xx, but it needs some additional definitions.
Add a clock.h file, so we can use the driver for MPC83xx.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/include/asm/arch-mpc83xx/clock.h | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 arch/powerpc/include/asm/arch-mpc83xx/clock.h
arch/powerpc/include/asm/arch-mpc83xx/clock.h new file +22 -0
@@ -0,0 +1,22 @@ +/* +* (C) Copyright 2018 +* Mario Six, Guntermann & Drunck GmbH, mario.six at gdsys.cc +* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#ifndef __ASM_POWERPC_CLOCK_H +#define __ASM_POWERPC_CLOCK_H + +/* Make fsl_esdhc driver happy */ +enum mxc_clock { +MXC_ESDHC_CLK , +}; + +DECLARE_GLOBAL_DATA_PTR ; + +uint mxc_get_clock (int clk) +{ +return gd->arch.sdhc_clk; +} +#endif /* __ASM_POWERPC_CLOCK_H */
Signature · 1 line
2.20.1
PATCH v3 56/60 mpc83xx: Don't define cpu_eth_init for DM eth
In reply to Mario SixDon't use the legacy method of initializing the ethernet controller on MPC83xx when DM is active.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/cpu.c | 2 ++ 1 file changed, 2 insertions(+)
arch/powerpc/cpu/mpc83xx/cpu.c +2 -0
@@ -199,6 +199,7 @@ void watchdog_reset (void) }#endif +#ifndef CONFIG_DM_ETH /* * Initializes on-chip ethernet controllers. * to override, implement board_eth_init()
@@ -214,6 +215,7 @@ int cpu_eth_init(bd_t *bis)#endif return 0; } +#endif /* !CONFIG_DM_ETH */ /* * Initializes on-chip MMC controllers.
Signature · 1 line
2.20.1
PATCH v3 57/60 mpc83xx: Replace ppcDWstore with inline assembly
In reply to Mario SixppcDWstore/ppcDWload are hardly used by any board, but since they're implemented in start.S, they're always present in every U-Boot image, even if they're not needed.
Re-implement these fuctions in C with inline assembly, so that the compiler can decide when to actually include them.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/cpu.c | 18 ++++++++++++++++++ arch/powerpc/cpu/mpc83xx/start.S | 12 ------------ 2 files changed, 18 insertions(+), 12 deletions(-)
arch/powerpc/cpu/mpc83xx/cpu.c +18 -0
@@ -229,3 +229,21 @@ int cpu_mmc_init(bd_t *bis)return 0 ;#endif } + +void ppcDWstore (unsigned int *addr,unsigned int *value) +{ + asm("lfd 1, 0(%1)\n\t" +"stfd 1, 0(%0)" + : + :"r" (addr),"r" (value) + :"memory" ); +} + +void ppcDWload (unsigned int *addr,unsigned int *ret) +{ + asm("lfd 1, 0(%0)\n\t" +"stfd 1, 0(%1)" + : + :"r" (addr),"r" (ret) + :"memory" ); +}
arch/powerpc/cpu/mpc83xx/start.S +0 -12
@@ -119,18 +119,6 @@ disable_addr_trans: mtspr SRR1, r3 rfi - .globl ppcDWstore -ppcDWstore: - lfd 1, 0(r4) - stfd 1, 0(r3) - blr - - .globl ppcDWload -ppcDWload: - lfd 1, 0(r3) - stfd 1, 0(r4) - blr - #ifndef CONFIG_DEFAULT_IMMR #error CONFIG_DEFAULT_IMMR must be defined #endif /* CONFIG_DEFAULT_IMMR */
Signature · 1 line
2.20.1
PATCH v3 58/60 mpc83xx: Use pre-defined asm functions
In reply to Mario SixFor a lot of inline assembly calls in the mpc8xxx and mpc83xx directories, we already have convenient pre-defined helper functions, but they're not used, resulting in hard-to-read code.
Use these helper functions where ever possible and useful.
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
--- arch/powerpc/cpu/mpc83xx/cpu.c | 19 +++++++-------- arch/powerpc/cpu/mpc83xx/ecc.c | 36 ++++++++++++++-------------- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 36 +++++++++++++++++++++------- arch/powerpc/cpu/mpc8xxx/fsl_pamu.c | 12 +++++----- arch/powerpc/lib/cache.c | 6 ++--- 5 files changed, 63 insertions(+), 46 deletions(-)
arch/powerpc/cpu/mpc83xx/cpu.c +9 -10
@@ -133,18 +133,18 @@ do_reset (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])#ifdef MPC83xx_RESET/* Interrupts and MMU off */ - __asm__ __volatile__ ("mfmsr %0" :"=r" (msr):); - - msr &= ~(MSR_EE |MSR_IR |MSR_DR ); - __asm__ __volatile__ ("mtmsr %0" ::"r" (msr)); + msr =mfmsr (); + msr &= ~(MSR_EE |MSR_IR |MSR_DR ); +mtmsr (msr);/* enable Reset Control Reg */ immap->reset.rpr =0x52535445 ; - __asm__ __volatile__ ("sync" ); - __asm__ __volatile__ ("isync" ); +sync (); +isync ();/* confirm Reset Control Reg is enabled */ -while (!((immap->reset.rcer) &RCER_CRE )); +while (!((immap->reset.rcer) &RCER_CRE )) + ;udelay (200 );
@@ -156,10 +156,9 @@ do_reset (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) immap->reset.rmr =RMR_CSRE ;/* Checkstop Reset enable */ /* Interrupts and MMU off */ - __asm__ __volatile__ ("mfmsr %0" :"=r" (msr):); - + msr =mfmsr (); msr &= ~(MSR_ME |MSR_EE |MSR_IR |MSR_DR ); - __asm__ __volatile__ ("mtmsr %0" ::"r" (msr)); +mtmsr (msr);/* * Trying to execute the next instruction at a non-existing address
arch/powerpc/cpu/mpc83xx/ecc.c +18 -18
@@ -191,8 +191,8 @@ int do_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) } ddr->err_disable = val; - __asm__ __volatile__("sync" ); - __asm__ __volatile__("isync" ); +sync (); +isync ();return 0 ; }else if (strcmp (argv[1 ],"errdetectclr" ) ==0 ) { val = ddr->err_detect;
@@ -249,8 +249,8 @@ int do_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])printf ("Incorrect command\n" ); ddr->ecc_err_inject = val; - __asm__ __volatile__("sync" ); - __asm__ __volatile__("isync" ); +sync (); +isync ();return 0 ; }else if (strcmp (argv[1 ],"mirror" ) ==0 ) { val = ddr->ecc_err_inject;
@@ -282,26 +282,26 @@ int do_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])/* enable injects */ ddr->ecc_err_inject |=ECC_ERR_INJECT_EIEN ; - __asm__ __volatile__("sync" ); - __asm__ __volatile__("isync" ); +sync (); +isync ();/* write memory location injecting errors */ ppcDWstore ((u32 *) i, pattern); - __asm__ __volatile__("sync" ); +sync ();/* disable injects */ ddr->ecc_err_inject &= ~ECC_ERR_INJECT_EIEN ; - __asm__ __volatile__("sync" ); - __asm__ __volatile__("isync" ); +sync (); +isync ();/* read data, this generates ECC error */ ppcDWload ((u32 *) i, ret); - __asm__ __volatile__("sync" ); +sync ();/* re-initialize memory, double word write the location again, * generates new ECC code this time */ ppcDWstore ((u32 *) i, writeback); - __asm__ __volatile__("sync" ); +sync (); }enable_interrupts ();return 0 ;
@@ -321,29 +321,29 @@ int do_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])/* enable injects */ ddr->ecc_err_inject |=ECC_ERR_INJECT_EIEN ; - __asm__ __volatile__("sync" ); - __asm__ __volatile__("isync" ); +sync (); +isync ();/* write memory location injecting errors */ *(u32 *) i =0xfedcba98UL ; - __asm__ __volatile__("sync" ); +sync ();/* sub double word write, * bus will read-modify-write, * generates ECC error */ *((u32 *) i +1 ) =0x76543210UL ; - __asm__ __volatile__("sync" ); +sync ();/* disable injects */ ddr->ecc_err_inject &= ~ECC_ERR_INJECT_EIEN ; - __asm__ __volatile__("sync" ); - __asm__ __volatile__("isync" ); +sync (); +isync ();/* re-initialize memory, * double word write the location again, * generates new ECC code this time */ ppcDWstore ((u32 *) i, writeback); - __asm__ __volatile__("sync" ); +sync (); }enable_interrupts ();return 0 ;
arch/powerpc/cpu/mpc83xx/spd_sdram.c +27 -9
@@ -436,7 +436,7 @@ long int spd_sdram()else if (caslat ==4 ) ddr->debug_reg =0x202c0000 ;/* CL=3.0 */ - __asm__ __volatile__ ("sync" ); +sync ();debug ("Errata DDR6 (debug_reg=0x%08x)\n" , ddr->debug_reg); }
@@ -765,7 +765,8 @@ long int spd_sdram()#endif debug ("DDR:sdram_clk_cntl=0x%08x\n" , ddr->sdram_clk_cntl); - asm("sync;isync" ); +sync (); +isync ();udelay (600 );
@@ -834,7 +835,8 @@ long int spd_sdram()#endif /* Enable controller, and GO! */ ddr->sdram_cfg = sdram_cfg; - asm("sync;isync" ); +sync (); +isync ();udelay (500 );debug ("DDR:sdram_cfg=0x%08x\n" , ddr->sdram_cfg);
@@ -843,6 +845,22 @@ long int spd_sdram()#endif /* CONFIG_SPD_EEPROM */ #if defined(CONFIG_DDR_ECC ) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER ) +static inline u32 mftbu (void ) +{ +u32 rval; + + asmvolatile ("mftbu %0" :"=r" (rval)); +return rval; +} + +static inline u32 mftb (void ) +{ +u32 rval; + + asmvolatile ("mftb %0" :"=r" (rval)); +return rval; +} +/* * Use timebase counter, get_timer() is not available * at this point of initialization yet.
@@ -858,9 +876,9 @@ static __inline__ unsigned long get_tbms (void)/* get the timebase ticks */ do { - asmvolatile ("mftbu %0" :"=r" (tbu1):); - asmvolatile ("mftb %0" :"=r" (tbl):); - asmvolatile ("mftbu %0" :"=r" (tbu2):); + tbu1 =mftbu (); + tbl =mftb (); + tbu2 =mftbu (); }while (tbu1 != tbu2);/* convert ticks to ms */
@@ -897,7 +915,7 @@ void ddr_enable_ecc(unsigned int dram_size)for (p =0 ; p < (u64 *)(size); p++) {ppcDWstore ((u32 *)p, pattern); } - __asm__ __volatile__ ("sync" ); +sync ();#endif t_end =get_tbms ();
@@ -922,8 +940,8 @@ void ddr_enable_ecc(unsigned int dram_size)/* Enable errors for ECC */ ddr->err_disable &=ECC_ERROR_ENABLE ; - __asm__ __volatile__ ("sync" ); - __asm__ __volatile__ ("isync"); +sync (); + isync(); }#endif /* CONFIG_DDR_ECC */
arch/powerpc/cpu/mpc8xxx/fsl_pamu.c +6 -6
@@ -131,10 +131,10 @@ static int pamu_config_ppaace(uint32_t liodn, uint64_t win_addr,set_bf (ppaace->addr_bitfields,PAACE_AF_AP ,PAACE_AP_PERMS_ALL ); } - asmvolatile ("sync" : : :"memory" ); +sync ();/* Mark the ppace entry valid */ ppaace->addr_bitfields |=PAACE_V_VALID ; - asmvolatile ("sync" : : :"memory" ); +sync ();return 0 ; }
@@ -279,7 +279,7 @@ int pamu_init(void)out_be32 (®s->splah, spaact_lim >>32 );out_be32 (®s->splal, (uint32_t )spaact_lim); } - asmvolatile ("sync" : : :"memory" ); +sync (); base_addr +=PAMU_OFFSET ; }
@@ -294,7 +294,7 @@ void pamu_enable(void)for (i =0 ; i <CONFIG_NUM_PAMU ; i++) {setbits_be32 ((void *)base_addr +PAMU_PCR_OFFSET ,PAMU_PCR_PE ); - asmvolatile ("sync" : : :"memory" ); +sync (); base_addr +=PAMU_OFFSET ; } }
@@ -318,7 +318,7 @@ void pamu_reset(void)out_be32 (®s->splal,0 );clrbits_be32 ((void *)regs +PAMU_PCR_OFFSET ,PAMU_PCR_PE ); - asmvolatile ("sync" : : :"memory" ); +sync (); base_addr +=PAMU_OFFSET ; } }
@@ -331,7 +331,7 @@ void pamu_disable(void)for (i =0 ; i <CONFIG_NUM_PAMU ; i++) {clrbits_be32 ((void *)base_addr +PAMU_PCR_OFFSET ,PAMU_PCR_PE ); - asmvolatile ("sync" : : :"memory" ); +sync (); base_addr +=PAMU_OFFSET ; } }
arch/powerpc/lib/cache.c +3 -3
@@ -22,15 +22,15 @@ void flush_cache(ulong start_addr, ulong size) WATCHDOG_RESET(); }/* wait for all dcbst to complete on bus */ - asmvolatile ("sync" : : :"memory" ); +sync ();for (addr = start; (addr <= end) && (addr >= start); addr +=CONFIG_SYS_CACHELINE_SIZE ) { asmvolatile ("icbi 0,%0" : :"r" (addr) :"memory" );WATCHDOG_RESET (); } - asmvolatile ("sync" : : :"memory" ); +sync ();/* flush prefetch queue */ - asmvolatile ("isync" : : :"memory" ); +isync ();#endif }
Signature · 1 line
2.20.1
PATCH v3 59/60 keymile: Remove CONFIG_SYS_APP{1, 2}_{BASE, SIZE}
In reply to Mario SixCONFIG_SYS_APP1_BASE, CONFIG_SYS_APP2_BASE, CONFIG_SYS_APP1_SIZE, and CONFIG_SYS_APP2_SIZE are no longer used in the keymile config files (they were used for setting values, which were converted to Kconfig earlier in the series).
Remove them from the configs and the whitelist.
---
v2 -> v3:
New in v3
--- include/configs/kmopti2.h | 5 ----- include/configs/kmsupx5.h | 3 --- include/configs/kmtegr1.h | 5 ----- include/configs/kmtepr2.h | 5 ----- include/configs/kmvect1.h | 5 ----- include/configs/suvd3.h | 5 ----- include/configs/tuge1.h | 3 --- include/configs/tuxx1.h | 5 ----- scripts/config_whitelist.txt | 4 ---- 9 files changed, 40 deletions(-)
include/configs/kmopti2.h +0 -5
@@ -289,11 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ -#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ -#define CONFIG_SYS_APP2_BASE 0xB0000000/* PINC3 */ -#define CONFIG_SYS_APP2_SIZE 256/* Megabytes */ -/* * Init Local Bus Memory Controller: * Device on board
include/configs/kmsupx5.h +0 -3
@@ -289,9 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ -#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ -/* * Init Local Bus Memory Controller: * Device on board
include/configs/kmtegr1.h +0 -5
@@ -344,11 +344,6 @@/* must be after the include because KMBEC_FPGA is otherwise undefined */ #define CONFIG_SYS_NAND_BASE CONFIG_SYS_KMBEC_FPGA_BASE/* PRIO_BASE_ADDRESS */ -#define CONFIG_SYS_APP1_BASE 0xA0000000 -#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ -#define CONFIG_SYS_APP2_BASE 0xB0000000 -#define CONFIG_SYS_APP2_SIZE 256/* Megabytes */ -/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
include/configs/kmtepr2.h +0 -5
@@ -289,11 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ -#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ -#define CONFIG_SYS_APP2_BASE 0xB0000000/* PINC3 */ -#define CONFIG_SYS_APP2_SIZE 256/* Megabytes */ -/* * Init Local Bus Memory Controller: * Device on board
include/configs/kmvect1.h +0 -5
@@ -333,11 +333,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_APP1_BASE 0xA0000000 -#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ -#define CONFIG_SYS_APP2_BASE 0xB0000000 -#define CONFIG_SYS_APP2_SIZE 256/* Megabytes */ -/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
include/configs/suvd3.h +0 -5
@@ -286,11 +286,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_APP1_BASE 0xA0000000 -#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ -#define CONFIG_SYS_APP2_BASE 0xB0000000 -#define CONFIG_SYS_APP2_SIZE 256/* Megabytes */ -/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
include/configs/tuge1.h +0 -3
@@ -289,9 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ -#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ -/* * Init Local Bus Memory Controller: * Device on board
include/configs/tuxx1.h +0 -5
@@ -289,11 +289,6 @@/* EEprom support */ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_APP1_BASE 0xA0000000/* PAXG */ -#define CONFIG_SYS_APP1_SIZE 256/* Megabytes */ -#define CONFIG_SYS_APP2_BASE 0xB0000000/* PINC3 */ -#define CONFIG_SYS_APP2_SIZE 256/* Megabytes */ -/* * Init Local Bus Memory Controller: * Device on board
scripts/config_whitelist.txt +0 -4
@@ -1976,10 +1976,6 @@ CONFIG_SYS_AMASK4 CONFIG_SYS_AMASK5 CONFIG_SYS_AMASK6 CONFIG_SYS_AMASK7 -CONFIG_SYS_APP1_BASE -CONFIG_SYS_APP1_SIZE -CONFIG_SYS_APP2_BASE -CONFIG_SYS_APP2_SIZE CONFIG_SYS_ARM_CACHE_WRITETHROUGH CONFIG_SYS_AT91_CPU_NAME CONFIG_SYS_AT91_MAIN_CLOCK
Signature · 1 line
2.20.1
PATCH v3 60/60 keymile: Factor out common includes again
In reply to Mario SixNot that the Kconfig conversion of a lot of variables is done, we can factor out the common include files for the keymile boards again (which now contain hardly any #ifdef logic at all).
---
v2 -> v3:
New in v3
--- include/configs/km/km-mpc8309.h | 137 +++++++++++++ include/configs/km/km-mpc832x.h | 91 +++++++++ include/configs/km/km-mpc8360.h | 91 +++++++++ include/configs/km/km-mpc83xx.h | 160 +++++++++++++++ include/configs/kmcoge5ne.h | 262 +------------------------ include/configs/kmeter1.h | 258 +------------------------ include/configs/kmopti2.h | 286 +-------------------------- include/configs/kmsupx5.h | 277 +------------------------- include/configs/kmtegr1.h | 331 +------------------------------ include/configs/kmtepr2.h | 278 +------------------------- include/configs/kmvect1.h | 332 +------------------------------- include/configs/suvd3.h | 278 +------------------------- include/configs/tuge1.h | 277 +------------------------- include/configs/tuxx1.h | 278 +------------------------- 14 files changed, 500 insertions(+), 2836 deletions(-) create mode 100644 include/configs/km/km-mpc8309.h create mode 100644 include/configs/km/km-mpc832x.h create mode 100644 include/configs/km/km-mpc8360.h create mode 100644 include/configs/km/km-mpc83xx.h
include/configs/km/km-mpc8309.h new file +137 -0
@@ -0,0 +1,137 @@ +/* +* High Level Configuration Options +*/ +#define CONFIG_E300 1/* E300 family */ +#define CONFIG_QE 1/* Has QE */ + +#define CONFIG_KM_DEF_ARCH "arch=ppc_82xx\0" + +/* +* System Clock Setup +*/ +#define CONFIG_83XX_CLKIN 66000000 +#define CONFIG_SYS_CLK_FREQ 66000000 +#define CONFIG_83XX_PCICLK 66000000 + +/* QE microcode/firmware address */ +#define CONFIG_SYS_QE_FMAN_FW_IN_NOR +/* between the u-boot partition and env */ +#ifndef CONFIG_SYS_QE_FW_ADDR +#define CONFIG_SYS_QE_FW_ADDR 0xF00C0000 +#endif + +/* +* System IO Config +*/ +/* 0x14000180 SICR_1 */ +#define CONFIG_SYS_SICRL (0 \ + | SICR_1_UART1_UART1RTS \ + | SICR_1_I2C_CKSTOP \ + | SICR_1_IRQ_A_IRQ \ + | SICR_1_IRQ_B_IRQ \ + | SICR_1_GPIO_A_GPIO \ + | SICR_1_GPIO_B_GPIO \ + | SICR_1_GPIO_C_GPIO \ + | SICR_1_GPIO_D_GPIO \ + | SICR_1_GPIO_E_GPIO \ + | SICR_1_GPIO_F_GPIO \ + | SICR_1_USB_A_UART2S \ + | SICR_1_USB_B_UART2RTS \ + | SICR_1_FEC1_FEC1 \ + | SICR_1_FEC2_FEC2 \ + ) + +/* 0x00080400 SICR_2 */ +#define CONFIG_SYS_SICRH (0 \ + | SICR_2_FEC3_FEC3 \ + | SICR_2_HDLC1_A_HDLC1 \ + | SICR_2_ELBC_A_LA \ + | SICR_2_ELBC_B_LCLK \ + | SICR_2_HDLC2_A_HDLC2 \ + | SICR_2_USB_D_GPIO \ + | SICR_2_PCI_PCI \ + | SICR_2_HDLC1_B_HDLC1 \ + | SICR_2_HDLC1_C_HDLC1 \ + | SICR_2_HDLC2_B_GPIO \ + | SICR_2_HDLC2_C_HDLC2 \ + | SICR_2_QUIESCE_B \ + ) + +/* GPR_1 */ +#define CONFIG_SYS_GPR1 0x50008060 + +#define CONFIG_SYS_GP1DIR 0x00000000 +#define CONFIG_SYS_GP1ODR 0x00000000 +#define CONFIG_SYS_GP2DIR 0xFF000000 +#define CONFIG_SYS_GP2ODR 0x00000000 + +#define CONFIG_SYS_DDRCDR (\ + DDRCDR_EN | \ + DDRCDR_PZ_MAXZ | \ + DDRCDR_NZ_MAXZ | \ + DDRCDR_M_ODR) + +#define CONFIG_SYS_DDR_CS0_BNDS 0x0000007f +#define CONFIG_SYS_DDR_SDRAM_CFG (SDRAM_CFG_SDRAM_TYPE_DDR2 | \ + SDRAM_CFG_32_BE | \ + SDRAM_CFG_SREN | \ + SDRAM_CFG_HSE) + +#define CONFIG_SYS_DDR_SDRAM_CFG2 0x00401000 +#define CONFIG_SYS_DDR_CLK_CNTL (DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05) +#define CONFIG_SYS_DDR_INTERVAL ((0x064 << SDRAM_INTERVAL_BSTOPRE_SHIFT) | \ + (0x200 << SDRAM_INTERVAL_REFINT_SHIFT)) + +#define CONFIG_SYS_DDR_CS0_CONFIG (CSCONFIG_EN | CSCONFIG_AP | \ + CSCONFIG_ODT_RD_NEVER | \ + CSCONFIG_ODT_WR_ONLY_CURRENT | \ + CSCONFIG_ROW_BIT_13 | \ + CSCONFIG_COL_BIT_10) + +#define CONFIG_SYS_DDR_MODE 0x47860242 +#define CONFIG_SYS_DDR_MODE2 0x8080c000 + +#define CONFIG_SYS_DDR_TIMING_0 ((2 << TIMING_CFG0_MRS_CYC_SHIFT) | \ + (8 << TIMING_CFG0_ODT_PD_EXIT_SHIFT) | \ + (2 << TIMING_CFG0_PRE_PD_EXIT_SHIFT) | \ + (2 << TIMING_CFG0_ACT_PD_EXIT_SHIFT) | \ + (0 << TIMING_CFG0_WWT_SHIFT) | \ + (0 << TIMING_CFG0_RRT_SHIFT) | \ + (0 << TIMING_CFG0_WRT_SHIFT) | \ + (0 << TIMING_CFG0_RWT_SHIFT)) + +#define CONFIG_SYS_DDR_TIMING_1 ((TIMING_CFG1_CASLAT_40) | \ + (2 << TIMING_CFG1_WRTORD_SHIFT) | \ + (2 << TIMING_CFG1_ACTTOACT_SHIFT) | \ + (3 << TIMING_CFG1_WRREC_SHIFT) | \ + (7 << TIMING_CFG1_REFREC_SHIFT) | \ + (3 << TIMING_CFG1_ACTTORW_SHIFT) | \ + (7 << TIMING_CFG1_ACTTOPRE_SHIFT) | \ + (3 << TIMING_CFG1_PRETOACT_SHIFT)) + +#define CONFIG_SYS_DDR_TIMING_2 ((8 << TIMING_CFG2_FOUR_ACT_SHIFT) | \ + (3 << TIMING_CFG2_CKE_PLS_SHIFT) | \ + (2 << TIMING_CFG2_WR_DATA_DELAY_SHIFT) | \ + (2 << TIMING_CFG2_RD_TO_PRE_SHIFT) | \ + (3 << TIMING_CFG2_WR_LAT_DELAY_SHIFT) | \ + (0 << TIMING_CFG2_ADD_LAT_SHIFT) | \ + (5 << TIMING_CFG2_CPO_SHIFT)) + +#define CONFIG_SYS_DDR_TIMING_3 0x00000000 + +#define CONFIG_SYS_KMBEC_FPGA_BASE 0xE8000000 +#define CONFIG_SYS_KMBEC_FPGA_SIZE 128 + +/* EEprom support */ +#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 + +/* ethernet port connected to piggy (UEC2) */ +#define CONFIG_HAS_ETH1 +#define CONFIG_UEC_ETH2 +#define CONFIG_SYS_UEC2_UCC_NUM 2/* UCC3 */ +#define CONFIG_SYS_UEC2_RX_CLK QE_CLK_NONE/* not used in RMII Mode */ +#define CONFIG_SYS_UEC2_TX_CLK QE_CLK12 +#define CONFIG_SYS_UEC2_ETH_TYPE FAST_ETH +#define CONFIG_SYS_UEC2_PHY_ADDR 0 +#define CONFIG_SYS_UEC2_INTERFACE_TYPE PHY_INTERFACE_MODE_RMII +#define CONFIG_SYS_UEC2_INTERFACE_SPEED 100
include/configs/km/km-mpc832x.h new file +91 -0
91 lines not on this page · raw message
include/configs/km/km-mpc8360.h new file +91 -0
91 lines not on this page · raw message
include/configs/km/km-mpc83xx.h new file +160 -0
160 lines not on this page · raw message
include/configs/kmcoge5ne.h +2 -260
295 lines not on this page · raw message
include/configs/kmeter1.h +2 -256
279 lines not on this page · raw message
include/configs/kmopti2.h +2 -284
294 lines not on this page · raw message
include/configs/kmsupx5.h +2 -275
285 lines not on this page · raw message
include/configs/kmtegr1.h +2 -329
342 lines not on this page · raw message
include/configs/kmtepr2.h +2 -276
286 lines not on this page · raw message
include/configs/kmvect1.h +2 -330
345 lines not on this page · raw message
include/configs/suvd3.h +3 -275
288 lines not on this page · raw message
include/configs/tuge1.h +2 -275
107 lines not on this page · raw message
include/configs/tuxx1.h +2 -276
278 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.20.1
Part of the diff is not shown here. View the raw message.
PATCH v3 1/60 mpc83xx: Introduce ARCH_MPC830*
In reply to Mario SixQuoted 5 lines · Mario Six
Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830*
Kconfigoptions.Signed-off-by Mario Six <[email protected]>---
I browse through the entire patch set. The patches look good. Since NXP doesn't make new mpc83xx SoCs and I have no board to verify, I don't comment on specific changes.
There were many config macros which have been replace with hard-coded value inline by you. That's OK. The original plan was to allow different config but that didn't happen mostly.
York
PATCH v3 1/60 mpc83xx: Introduce ARCH_MPC830*
Hi York,
Quoted 8 lines · York Sun
Quoted 5 lines · Mario Six
Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830*
Kconfigoptions.Signed-off-by Mario Six <[email protected]>---
Quoted 8 lines
I browse through the entire patch set. The patches look good. Since NXP doesn't make new mpc83xx SoCs and I have no board to verify, I don't comment on specific changes.
There were many config macros which have been replace with hard-coded value inline by you. That's OK. The original plan was to allow different config but that didn't happen mostly.
Sounds good. Thanks for reviewing!
Quoted 2 lines
York
Best regards,
Mario
PATCH v3 1/60 mpc83xx: Introduce ARCH_MPC830*
Quoted 20 lines · Mario Six
Hi York,
Quoted 8 lines · York Sun
Quoted 5 lines · Mario Six
Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830*
Kconfigoptions.Signed-off-by Mario Six <[email protected]>---
Quoted 8 lines
I browse through the entire patch set. The patches look good. Since NXP doesn't make new mpc83xx SoCs and I have no board to verify, I don't comment on specific changes.
There were many config macros which have been replace with hard-coded value inline by you. That's OK. The original plan was to allow different config but that didn't happen mostly.
Quoted 6 lines
Sounds good. Thanks for reviewing!
Quoted 2 lines
York
Best regards,
Mario
Whole series applied to u-boot/mpc83xx/next.
Best regards,
Mario