diff options
author | Grzegorz Bernacki <gjb@semihalf.com> | 2008-01-08 16:16:15 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-12 14:36:17 (GMT) |
commit | 281ff9a45cf9eb17b8a9afc436cb783cf1f62363 (patch) | |
tree | bbaead33085ac4021caf04214b4efdda61757168 /board/ads5121 | |
parent | a10ff9196183e7e5f2ae3c4f5f3cbe92ae9cb719 (diff) | |
download | u-boot-fsl-qoriq-281ff9a45cf9eb17b8a9afc436cb783cf1f62363.tar.xz |
ads5121: Added support for FDT.
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Diffstat (limited to 'board/ads5121')
-rw-r--r-- | board/ads5121/ads5121.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/ads5121/ads5121.c b/board/ads5121/ads5121.c index f275ce7..46be6a5 100644 --- a/board/ads5121/ads5121.c +++ b/board/ads5121/ads5121.c @@ -184,3 +184,11 @@ int checkboard (void) brd_rev, cpld_rev); return 0; } + +#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) +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) */ |