diff options
author | Heiko Schocher <hs@denx.de> | 2010-07-19 23:47:08 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-08-09 00:12:00 +0200 |
commit | 8011ec638e16695081ce65ce3997499ba41c8ba3 (patch) | |
tree | f5a922d923d5c95f366fd4a305cdb786ca182d3e /board/kup/kup4k/kup4k.c | |
parent | e604e4091631e0601e2eeb3f0c197eea95ebe498 (diff) | |
download | u-boot-imx-8011ec638e16695081ce65ce3997499ba41c8ba3.zip u-boot-imx-8011ec638e16695081ce65ce3997499ba41c8ba3.tar.gz u-boot-imx-8011ec638e16695081ce65ce3997499ba41c8ba3.tar.bz2 |
8xx, kup4k/kup4x: add FDT support
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/kup/kup4k/kup4k.c')
-rw-r--r-- | board/kup/kup4k/kup4k.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/kup/kup4k/kup4k.c b/board/kup/kup4k/kup4k.c index 7eb36ab..267821c 100644 --- a/board/kup/kup4k/kup4k.c +++ b/board/kup/kup4k/kup4k.c @@ -24,6 +24,7 @@ #include <common.h> #include <command.h> +#include <libfdt.h> #include <mpc8xx.h> #include <hwconfig.h> #include <i2c.h> @@ -291,3 +292,13 @@ static unsigned char swapbyte(unsigned char c) } return result; } + +/* + * Device Tree Support + */ +#if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) +void ft_board_setup(void *blob, bd_t *bd) +{ + ft_cpu_setup(blob, bd); +} +#endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */ |