1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:15:00 +02:00

[package] broadcom-diag: SimpleShare: expose power button as reset to the system, remove actual reset button - it's hardwired and will reset the SoC (#7928)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23043 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-09-13 01:35:39 +00:00
parent df5dee93df
commit 64936c734d
2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=broadcom-diag PKG_NAME:=broadcom-diag
PKG_RELEASE:=9 PKG_RELEASE:=10
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -782,8 +782,7 @@ static struct platform_t __initdata platforms[] = {
[STI_NAS] = { [STI_NAS] = {
.name = "SimpleTech SimpleShare NAS", .name = "SimpleTech SimpleShare NAS",
.buttons = { .buttons = {
{ .name = "reset", .gpio = 1 << 7 }, // on back, hardwired, always resets device regardless OS state { .name = "reset", .gpio = 1 << 0 }, // Power button on back, named reset to enable failsafe.
{ .name = "power", .gpio = 1 << 0 }, // on back
}, },
.leds = { .leds = {
{ .name = "diag", .gpio = 1 << 1, .polarity = REVERSE }, // actual name ready { .name = "diag", .gpio = 1 << 1, .polarity = REVERSE }, // actual name ready