FSL LAW: Keep track of LAW allocations
authorKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jun 2008 05:44:10 +0000 (00:44 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Wed, 11 Jun 2008 06:50:53 +0000 (01:50 -0500)
commitf060054dadbbe7027ca088eed806a3ef1f82fdb7
treee59f03af5e9390d645168d0ea663070460b819de
parentddde74a159caa6e18b481fec01d40b885aebb566
FSL LAW: Keep track of LAW allocations

Make it so we keep track of which LAWs have allocated and provide
a function (set_next_law) which can allocate a LAW for us if one is
free.

In the future we will move to doing more "dynamic" LAW allocation
since the majority of users dont really care about what LAW number
they are at.

Also, add CONFIG_MPC8540 or CONFIG_MPC8560 to those boards which needed them

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andy Fleming <afleming@freescale.com>
cpu/mpc85xx/cpu_init.c
drivers/misc/fsl_law.c
include/asm-ppc/fsl_law.h
include/asm-ppc/global_data.h
include/configs/MPC8560ADS.h
include/configs/SBC8540.h
include/configs/sbc8560.h
include/configs/stxgp3.h
include/configs/stxssa.h
lib_ppc/board.c