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

SVN-Revision: 23043
This commit is contained in:
Jo-Philipp Wich 2010-09-13 01:35:39 +00:00
parent 19421b6732
commit 06dd991494
2 changed files with 2 additions and 3 deletions

View file

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

View file

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