if (ftr & SYS_REG_INFO_HAS_BRAM) {
val = readq(SYSCON_BASE + SYS_REG_BRAMINFO) & SYS_REG_BRAMINFO_SIZE_MASK;
printf(" BRAM: %ld KB\n", val / 1024);
+ val = readq(SYSCON_BASE + SYS_REG_BRAM_BOOTADDR);
+ printf(" BOOT ADDR: 0x%lx\n", val);
}
if (ftr & SYS_REG_INFO_HAS_DRAM) {
val = readq(SYSCON_BASE + SYS_REG_DRAMINFO) & SYS_REG_DRAMINFO_SIZE_MASK;
if (ftr & SYS_REG_INFO_HAS_BRAM) {
// allow a jump to a config-specified address (just like DRAM can)
val = readq(SYSCON_BASE + SYS_REG_BRAM_BOOTADDR);
- printf("Booting from BRAM at %lx...\n", val);
+ printf("Booting from BRAM at 0x%lx...\n", val);
return val;
}
if (try_flash) {