extern int soc_init(void) { bd_t * const bd = gd->bd; fli7510_clocks(); /* obtain the chip cut + device id */ bd->bi_devid = readl(CONFIG_SYS_DEVICE_ID); return 0; }
extern int soc_init(void) { DECLARE_GLOBAL_DATA_PTR; bd_t *bd = gd->bd; fli7510_clocks(); /* obtain the chip cut + device id */ bd->bi_devid = readl(CFG_DEVICE_ID); return 0; }