diff options
author | Gerald Van Baren <vanbaren@cideas.com> | 2008-06-03 20:24:58 -0400 |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2008-06-09 21:13:24 -0400 |
commit | 589c04271d129729a8b01391453851ab9cc4069c (patch) | |
tree | 106f54e754f84a6c08abc984ab49e4bedcdef546 /board | |
parent | 8155efbd7ae9c65564ca98affe94631d612ae088 (diff) | |
download | u-boot-imx-589c04271d129729a8b01391453851ab9cc4069c.zip u-boot-imx-589c04271d129729a8b01391453851ab9cc4069c.tar.gz u-boot-imx-589c04271d129729a8b01391453851ab9cc4069c.tar.bz2 |
Convert mpc7448hpc2 to CONFIG_OF_LIBFDT
This was configured to use the deprecated CONFIG_OF_FLAT_TREE, change
to CONFIG_OF_LIBFDT.
WARNING: This conversion is untested because I do not have a board to
test it on.
NOTE: The FDT blob (DTS) must have an /aliases/ethernet0 and (optionally)
/aliases/ethernet1 property for the ethernet to work.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mpc7448hpc2/mpc7448hpc2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/freescale/mpc7448hpc2/mpc7448hpc2.c b/board/freescale/mpc7448hpc2/mpc7448hpc2.c index 81846eb..fcbebc0 100644 --- a/board/freescale/mpc7448hpc2/mpc7448hpc2.c +++ b/board/freescale/mpc7448hpc2/mpc7448hpc2.c @@ -105,3 +105,12 @@ ft_board_setup (void *blob, bd_t *bd) } } #endif + +#if 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 |