Skip to contentSkip to conversation

mcf523x, issue in cpu_init

U-Boot Angelo Dureghello 1 participant 1 message Nov 7, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

looking on freescale files, i found this possible issue

line 65

out_be32(&fbcs->cscr0, CONFIG_SYS_CS0_CTRL);

considering:

CONFIG_SYS_CS0_MASK for m5235evb board is

define CONFIG_SYS_CS0_CTRL 0x00001D00

and

flexbus registers are as:
typedef struct fbcs {
u16 csar0; /* Chip-select Address */
u16 res1;
u32 csmr0; /* Chip-select Mask */
u16 res2;
u16 cscr0; /* Chip-select Control */
.....

this line should not work, applying 0000.

Best Regards,
Angelo Dureghello