summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-02-06 11:37:26 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-02-06 15:35:55 +0100
commitdc5cd7972a2e05fbf6c9834cddbb8a8fd7f32ad2 (patch)
treeae880057aa13218b2ca0bbe5e4376ec038d2109b /c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c
parentbsp/mpc55xx: Add and use BSP specific fatal codes (diff)
downloadrtems-dc5cd7972a2e05fbf6c9834cddbb8a8fd7f32ad2.tar.bz2
bsp/mpc55xx: Merge RSM6 variants into one
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c53
1 files changed, 22 insertions, 31 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c
index e9ed8c5c0d..2050b3d79b 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c
@@ -169,8 +169,7 @@ const struct EBI_CAL_CS_tag mpc55xx_start_config_ebi_cal_cs [] = {
}
}
}
-#elif defined(MPC55XX_BOARD_MPC5674F_RSM6) \
- && defined(MPC55XX_NEEDS_LOW_LEVEL_INIT)
+#elif defined(MPC55XX_BOARD_MPC5674F_RSM6)
/* D_CS0 for MRAM */
{
.BR = {
@@ -225,37 +224,29 @@ const struct EBI_CAL_CS_tag mpc55xx_start_config_ebi_cal_cs [] = {
.OR = { .R = 0xe0000000 }
},
- #if defined(MPC55XX_BOARD_MPC5674F_RSM6_KOMA)
- /* D_CS3 for Ethernet Controller */
- {
- .BR = {
- .B = {
- .BA = 0x23000000 >> 15,
- .PS = 1,
- .AD_MUX = 1,
- .BL = 0,
- .WEBS = 1,
- .TBDIP = 0,
- .SETA = 0,
- .BI = 1,
- .V = 1
- }
- },
- .OR = {
- .B = {
- .AM = 0xfff80000 >> 15,
- .SCY = 8,
- .BSCY = 0
- }
- }
+ /* D_CS3 for Ethernet Controller */
+ {
+ .BR = {
+ .B = {
+ .BA = 0x23000000 >> 15,
+ .PS = 1,
+ .AD_MUX = 1,
+ .BL = 0,
+ .WEBS = 1,
+ .TBDIP = 0,
+ .SETA = 0,
+ .BI = 1,
+ .V = 1
}
- #else
- /* D_CS3 unused */
- {
- .BR = { .R = 0x20000002 },
- .OR = { .R = 0xe0000000 }
+ },
+ .OR = {
+ .B = {
+ .AM = 0xfff80000 >> 15,
+ .SCY = 8,
+ .BSCY = 0
+ }
}
- #endif
+ }
#endif
};