]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery
authorNishanth Menon <nm@ti.com>
Wed, 23 Mar 2016 15:14:18 +0000 (10:14 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:17:40 +0000 (17:17 -0400)
commit1f807a9f32aaa4e4917336912fd867671954d18c
tree6f6b9dc97a360acc5be70a269b5de3380c754be3
parente320f0bc9b81076e4c59d281dff1428df5324809
ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery

MSMC segment Privilege ID is not consistent accross the keystone2 SoCs.
As the first step to ensure complete SoC wide coherency setup, lets
refactor the macros to remove the #if-deffery around the code which
obfuscates which IDs are actually enabled for which SoC.

As a result of this change the PCIe configuration is moved after the
msmc configuration is complete, but that should ideally have no
functional impact.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/include/mach/hardware-k2e.h
arch/arm/mach-keystone/include/mach/hardware-k2l.h
arch/arm/mach-keystone/include/mach/hardware.h
arch/arm/mach-keystone/init.c