diff options
author | Enric Balletbo i Serra <eballetbo@iseebcn.com> | 2010-10-19 11:13:22 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-23 22:55:47 +0200 |
commit | cdb1d4f97e7e3599549852b89f2fd56cbf1e5322 (patch) | |
tree | 81a151813c598d605be6b3ddb2921b7792965e13 /arch/arm | |
parent | 116ef54d6804e3140ff4fc383ff8b6b7c7cf9f7b (diff) |
ARM: fix relocation support for onenand device.
We also have to relocate the onenand command table manually, otherwise
onenand command don't work.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/lib/board.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index ffe261bd44..af9a414b88 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c @@ -716,6 +716,9 @@ void board_init_r (gd_t *id, ulong dest_addr) #if defined(CONFIG_CMD_I2C) i2c_reloc(); #endif +#if defined(CONFIG_CMD_ONENAND) + onenand_reloc(); +#endif #endif /* !defined(CONFIG_RELOC_FIXUP_WORKS) */ #ifdef CONFIG_LOGBUFFER |