]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc/p4080: Add support for CoreNet style platform LAWs
authorKumar Gala <galak@kernel.crashing.org>
Thu, 19 Mar 2009 07:32:23 +0000 (02:32 -0500)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:38 +0000 (09:04 -0500)
commit161df9705fb15966dec889c29fa4d838c789048a
tree1f48b7c466e812d824b8dd90054cfbd97a1dd5ad
parent2064afed5f1e5b95a3320572efe9a8afd0bd0549
ppc/p4080: Add support for CoreNet style platform LAWs

On CoreNet based platforms the LAW address is split between an high &
low register and we no longer shift the address.  Also, the target IDs
on CoreNet platforms have been completely re-assigned.

Additionally, added a new find_law() API to which LAW an address hits in.
This is need for the CoreNet style boot release code since it will need
to determine what the target ID should be set to for boot window
translation.

Finally, enamed LAWAR_EN to LAW_EN and moved to header so we can use
it elsewhere.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/misc/fsl_law.c
include/asm-ppc/fsl_law.h