diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-09-13 01:35:39 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-09-13 01:35:39 +0000 |
commit | 06dd9914945bf0c3e12893c6b0511ab788d2dd4e (patch) | |
tree | 3ae044420313329393fbbf4cd455e9b0ea1d2e34 /package/broadcom-diag/src/diag.c | |
parent | 19421b67323423638ef627c38bb0592c5cea9680 (diff) | |
download | mtk-20170518-06dd9914945bf0c3e12893c6b0511ab788d2dd4e.zip mtk-20170518-06dd9914945bf0c3e12893c6b0511ab788d2dd4e.tar.gz mtk-20170518-06dd9914945bf0c3e12893c6b0511ab788d2dd4e.tar.bz2 |
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
Diffstat (limited to 'package/broadcom-diag/src/diag.c')
-rw-r--r-- | package/broadcom-diag/src/diag.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 766a906..501b835 100644 --- a/package/broadcom-diag/src/diag.c +++ b/package/broadcom-diag/src/diag.c @@ -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 |