diff options
author | Martin Krause <martin.krause@tqs.de> | 2008-02-25 15:17:05 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-02 21:23:44 +0100 |
commit | 44ceec253ea941b301abf4b079d52324def69d92 (patch) | |
tree | c877ec70a6bf29e61ae4a58b477ac2d0eeef360e /board | |
parent | f3a329acb26017d8e10e9c93e1e726c2a5ac634a (diff) | |
download | u-boot-imx-44ceec253ea941b301abf4b079d52324def69d92.zip u-boot-imx-44ceec253ea941b301abf4b079d52324def69d92.tar.gz u-boot-imx-44ceec253ea941b301abf4b079d52324def69d92.tar.bz2 |
TQM5200: use automatic fdt memory fixup
Call fdt_fixup_memory() on the boards TQM5200, TQM5200_B, TQM5200S,
TB5200 and TB5200_B to fixup the /memory node with the memory values
detected by U-Boot.
Signed-off-by: Martin Krause <martin.krause@tqs.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/tqm5200/tqm5200.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c index 8c3f701..97e3099 100644 --- a/board/tqm5200/tqm5200.c +++ b/board/tqm5200/tqm5200.c @@ -795,5 +795,6 @@ int board_get_height (void) void ft_board_setup(void *blob, bd_t *bd) { ft_cpu_setup(blob, bd); + fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize); } #endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */ |