ARM: phyCORE-am335x: read back SDRAM controller settings
- use am335x_barebox_entry() to remove the need for hardcoded SDRAM size - remove hardcoded memory settings from device tree since there are different memory sizes available for this board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
61cbf21fd5
commit
bcf7cde48c
|
@ -81,7 +81,7 @@ static noinline void pcm051_board_init(void)
|
|||
|
||||
fdt = __dtb_am335x_phytec_phycore_start - get_runtime_offset();
|
||||
|
||||
barebox_arm_entry(0x80000000, SZ_512M, fdt);
|
||||
am335x_barebox_entry(fdt);
|
||||
}
|
||||
|
||||
ENTRY_FUNCTION(start_am33xx_phytec_phycore_sram, bootinfo, r1, r2)
|
||||
|
@ -106,5 +106,5 @@ ENTRY_FUNCTION(start_am33xx_phytec_phycore_sdram, r0, r1, r2)
|
|||
|
||||
fdt = __dtb_am335x_phytec_phycore_start - get_runtime_offset();
|
||||
|
||||
barebox_arm_entry(0x80000000, SZ_512M, fdt);
|
||||
am335x_barebox_entry(fdt);
|
||||
}
|
||||
|
|
|
@ -22,11 +22,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x20000000>; /* 512 MB */
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
|
|
Loading…
Reference in New Issue