bsp/mpc55xx: New EBI settings for MPC5674F boards

This commit is contained in:
Sebastian Huber
2012-07-19 09:05:46 +02:00
parent 0ec2c361b6
commit 208f4794a2
6 changed files with 14 additions and 16 deletions

View File

@@ -118,7 +118,7 @@ BSP_START_TEXT_SECTION const struct EBI_CAL_CS_tag
.OR = { .OR = {
.B = { .B = {
.AM = 0xffff8000 >> 15, .AM = 0xffff8000 >> 15,
.SCY = 0, .SCY = 1,
.BSCY = 0 .BSCY = 0
} }
} }

View File

@@ -175,19 +175,17 @@ static BSP_START_TEXT_SECTION void mpc55xx_start_ebi(void)
SIU.ECCR.B.EBDF = 3; /* use CLK/4 as bus clock */ SIU.ECCR.B.EBDF = 3; /* use CLK/4 as bus clock */
#elif defined(MPC55XX_BOARD_MPC5674FEVB) || defined(MPC55XX_BOARD_MPC5674F_ECU508) #elif defined(MPC55XX_BOARD_MPC5674FEVB) || defined(MPC55XX_BOARD_MPC5674F_ECU508)
struct EBI_tag ebi = { union EBI_MCR_tag mcr = {
.MCR = { .B = {
.B = { .ACGE = 0,
.ACGE = 0, .MDIS = 0,
.MDIS = 0, .D16_31 = 1,
.D16_31 = 0, .AD_MUX = 0,
.AD_MUX = 0, .DBM = 0
.DBM = 0 }
}
}
}; };
EBI.MCR.R = ebi.MCR.R; EBI.MCR.R = mcr.R;
#endif #endif
#endif #endif
} }

View File

@@ -481,7 +481,7 @@ extern "C" {
}; };
struct EBI_tag { struct EBI_tag {
union { /* Module Configuration Register */ union EBI_MCR_tag { /* Module Configuration Register */
uint32_t R; uint32_t R;
struct { struct {
uint32_t:16; uint32_t:16;

View File

@@ -477,7 +477,7 @@ extern "C" {
}; };
struct EBI_tag { struct EBI_tag {
union { /* Module Configuration Register */ union EBI_MCR_tag { /* Module Configuration Register */
uint32_t R; uint32_t R;
struct { struct {
uint32_t:5; uint32_t:5;

View File

@@ -491,7 +491,7 @@ extern "C" {
}; };
struct EBI_tag { struct EBI_tag {
union { /* Module Configuration Register */ union EBI_MCR_tag { /* Module Configuration Register */
uint32_t R; uint32_t R;
struct { struct {
uint32_t:5; uint32_t:5;

View File

@@ -584,7 +584,7 @@ extern "C" {
struct EBI_tag { struct EBI_tag {
union { /* Module Configuration Register */ union EBI_MCR_tag { /* Module Configuration Register */
uint32_t R; uint32_t R;
struct { struct {
uint32_t:16; uint32_t:16;