ar71xx: fix RouterBOARD Power LED default state
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Thu, 25 Oct 2018 22:22:37 +0000 (01:22 +0300)
committerJohn Crispin <john@phrozen.org>
Mon, 26 Nov 2018 11:05:45 +0000 (12:05 +0100)
commit8baad26d01dd1f7c6b30a9eadb68596ee4b4d51f
tree0b1a16a020b64ac6b18cc0a8021caee337dc05eb
parent38167cb7f41b316fcc6d6bbcab993a2f42f30c0e
ar71xx: fix RouterBOARD Power LED default state

RouterBOARD(s) bootloader actully turns Power LED off just before
it starts the kernel. So we need to set the LED default status to On
instead of Keep in order to keep LED on during kernel boot.

This change fixes Power LED off during the kernel boot on the RB91x and
SXT Lite boards.

Fixes: 6cad8ee0bd ("ar71xx: keep the RouterBOARD Power LED in On state")
CC: Mathias Kresin <dev@kresin.me>
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c
target/linux/ar71xx/files/arch/mips/ath79/mach-rbsxtlite.c