summaryrefslogtreecommitdiff
path: root/board/alliedtelesis
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-05-02 06:16:25 +0300
committerStefan Roese <sr@denx.de>2022-05-02 08:47:26 +0300
commit08dc62c1527ec7401cc98719cde50ca47533a7c2 (patch)
treefa542b95605c994f96abedb8f3186a5cd82ee8dc /board/alliedtelesis
parentaf767e9a3da6b1ce899ee3942d470b9a9dee2d95 (diff)
downloadu-boot-08dc62c1527ec7401cc98719cde50ca47533a7c2.tar.xz
ARM: mvebu: x530: set MPP55 to gpio
MPP55 is used as a reset connected to the L3 switch chip. This doesn't matter for u-boot as it doesn't use the L3 switch but it is useful to be able to toggle the switch in/out of reset for the OS. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/alliedtelesis')
-rw-r--r--board/alliedtelesis/x530/x530.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/alliedtelesis/x530/x530.c b/board/alliedtelesis/x530/x530.c
index c0ec2afa30..cbf4533e78 100644
--- a/board/alliedtelesis/x530/x530.c
+++ b/board/alliedtelesis/x530/x530.c
@@ -93,7 +93,7 @@ int board_early_init_f(void)
writel(0x55550550, MVEBU_MPP_BASE + 0x0c);
writel(0x55555555, MVEBU_MPP_BASE + 0x10);
writel(0x00100565, MVEBU_MPP_BASE + 0x14);
- writel(0x40000000, MVEBU_MPP_BASE + 0x18);
+ writel(0x00000000, MVEBU_MPP_BASE + 0x18);
writel(0x00004444, MVEBU_MPP_BASE + 0x1c);
return 0;