]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
lsxl: support power switch
authorMichael Walle <michael@walle.cc>
Mon, 30 Jul 2012 10:47:12 +0000 (10:47 +0000)
committerPrafulla Wadaskar <prafulla@marvell.com>
Mon, 3 Sep 2012 12:18:51 +0000 (17:48 +0530)
commita9f1a4893364ddbb8b7942cded91d4c17c4f5948
tree35737bd084e46966349c4b17d8ee8e217bff8b9f
parent1ff1f89c57e69eb151ab2eca87a4f119bb4413c1
lsxl: support power switch

This patch restores the Linkstation's original behaviour when powering off.
Once the (soft) power switch is turned off, linux will reboot and the
bootloader turns off HDD and USB power. Then it loops as long as the switch
is in the off position, before continuing the boot process again.

Additionally, this patch fixes the board function set_led(LED_OFF).

Signed-off-by: Michael Walle <michael@walle.cc>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
board/buffalo/lsxl/lsxl.c