diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-05 00:00:54 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-05 00:00:54 +0200 |
commit | 7d314992a82cea41bb5de596421100ddce9d9c17 (patch) | |
tree | 796be7baf51b8870f055ac2ee5efa99062c0b8eb /lib_ppc | |
parent | e5e98edd77d7703ffe2051c7030fa7a00dbbcfc4 (diff) | |
download | u-boot-imx-7d314992a82cea41bb5de596421100ddce9d9c17.zip u-boot-imx-7d314992a82cea41bb5de596421100ddce9d9c17.tar.gz u-boot-imx-7d314992a82cea41bb5de596421100ddce9d9c17.tar.bz2 |
E500 update: repoint IVPR to RAM when code is relocated
Patch by Kylo Ginsberg, 13 Apr 2005
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index d1e294f..b1c6ab0 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -429,6 +429,10 @@ void board_init_f (ulong bootflag) */ addr -= len; addr &= ~(4096 - 1); +#ifdef CONFIG_E500 + /* round down to next 64 kB limit so that IVPR stays aligned */ + addr &= ~(65536 - 1); +#endif debug ("Reserving %ldk for U-Boot at: %08lx\n", len >> 10, addr); |