]> git.sur5r.net Git - u-boot/commit
lib_ppc: Move trap_init to occur earlier
authorBecky Bruce <becky.bruce@freescale.com>
Fri, 31 Oct 2008 22:14:39 +0000 (17:14 -0500)
committerJon Loeliger <jdl@freescale.com>
Mon, 10 Nov 2008 16:10:06 +0000 (10:10 -0600)
commitd025aa4b20a0618a2bada0132a9a0a4afb717f1a
tree0fb3e41846fecc628673a848ce638eef7eb70fa1
parentd52082b12c6e545705a19433a2f4142526536189
lib_ppc: Move trap_init to occur earlier

Doing trap_init immediately once we're running from RAM
means we're no longer dependent on the physical location of
the flash on non-BookE platforms. Before trap_init, those
platforms switch to real mode and go to 0xfff00100 on exception.
After the switch, they go to 0x00000100  This makes it easier to
move the flash location.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
lib_ppc/board.c