ARM: mvebu: armada-xp: Limit PUP access to Armada XP
Commit 6638760
 ("ARM: mvebu: Enable PUP register")
correctly enables devices that are disabled after boot-up due to
some Design For Testability registers.

However, although harmless on Armada 370, call the code conditionally
on Armada XP only. While at it, move PUP register defines to SYSCTL
registers where they belong to.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f061acf commit 868d67b0f70a305d764be6096985e29ecabb2181
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 20 Apr 2015
Sascha Hauer committed on 27 Apr 2015
Showing 2 changed files
View
arch/arm/mach-mvebu/armada-370-xp.c
View
arch/arm/mach-mvebu/include/mach/armada-370-xp-regs.h