22 lines
764 B
Diff
22 lines
764 B
Diff
Subject: [PATCH] Kirkwood: Add MPP44 (board ID) for QNAP TS-11x/TS-21x
|
|
|
|
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>
|
|
|
|
--- a/arch/arm/mach-kirkwood/ts219-setup.c 2010-06-13 18:31:20.000000000 +0000
|
|
+++ b/arch/arm/mach-kirkwood/ts219-setup.c 2010-06-13 18:31:54.000000000 +0000
|
|
@@ -153,6 +153,7 @@
|
|
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
|
|
};
|
|
|