POWERPC 86xx: Move BAT setup code to C
authorBecky Bruce <becky.bruce@freescale.com>
Mon, 4 Aug 2008 19:02:26 +0000 (14:02 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 11 Aug 2008 21:53:59 +0000 (23:53 +0200)
commit2d0daa03612338a813e3c9d22680e54eabfea378
tree89c632b8232ac48372bb842dfef0f9f3411e8742
parent9de67149db576c91b9c2a0a182652331e7e44211
POWERPC 86xx: Move BAT setup code to C

This is needed because we will be possibly be locating
devices at physical addresses above 32bits, and the asm
preprocessing does not appear to deal with ULL constants
properly. We now call write_bat in lib_ppc/bat_rw.c.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
cpu/mpc86xx/cpu_init.c
cpu/mpc86xx/start.S