> Would the toolchain "gulp" when one defines the whole 4 GB that way?

In fact, a rather novel approach (just theorizing here):

#define SRAM_BASE offsetof(soc.sram)
#define SRAM_SIZE sizeof(soc.sram)

dbu_t *dbu = (dbu_t *)offsetof(soc.dbu);

without ever assigning soc the address 0...

Reinhard
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to