]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[ARM] Kirkwood: Add MPP44 (board ID) on TS-219
authorMartin Michlmayr <tbm@cyrius.com>
Sun, 13 Jun 2010 18:37:18 +0000 (19:37 +0100)
committerNicolas Pitre <nico@fluxnic.net>
Sat, 17 Jul 2010 02:01:26 +0000 (22:01 -0400)
MPP44 can be used to differentiate between one-bay (TS-11x) and
two-bay (TS-21x) devices.

According to an engineer from QNAP, the setting of MPP44 depends
on the firmware rather than hardware.  Presumably, this means
that you could fake the MPP44 value by changing the boot loader.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
arch/arm/mach-kirkwood/ts219-setup.c

index d23aff9549c317cc2f8ba0c62683c27a07dd4cc5..063979d1babb093c735daa6d9c3ed841056854f4 100644 (file)
@@ -83,6 +83,7 @@ static unsigned int qnap_ts219_mpp_config[] __initdata = {
        MPP15_GPIO,             /* USB Copy button */
        MPP16_GPIO,             /* Reset button */
        MPP36_GPIO,             /* RAM: 0: 256 MB, 1: 512 MB */
+       MPP44_GPIO,             /* Board ID: 0: TS-11x, 1: TS-21x */
        0
 };