[U-Boot] mcf523x, issue in cpu_init

Angelo Dureghello sysamfw at gmail.com
Wed Nov 7 09:45:31 CET 2012


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


More information about the U-Boot mailing list