]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[ARM] Kirkwood: Add MPP36 for QNAP TS-11x/TS-21x
authorMartin Michlmayr <tbm@cyrius.com>
Thu, 5 Nov 2009 18:09:01 +0000 (18:09 +0000)
committerNicolas Pitre <nico@fluxnic.net>
Fri, 13 Nov 2009 17:14:23 +0000 (12:14 -0500)
MPP36 is used on the QNAP TS-11x/TS-21x devices to indicate how
much RAM there is: it's high for 512 MB RAM (TS-x19) and low for
256 MB (TS-x10).  While this may not be very useful, let's add
it for completeness.

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

index ec1a64f263d224285b9478f04a3c79cf85e173b7..cb0f56dfd5bad143bc50e217b526043f6e83735b 100644 (file)
@@ -152,6 +152,7 @@ static unsigned int qnap_ts219_mpp_config[] __initdata = {
        MPP14_UART1_RXD,        /* PIC controller */
        MPP15_GPIO,             /* USB Copy button */
        MPP16_GPIO,             /* Reset button */
+       MPP36_GPIO,             /* RAM: 0: 256 MB, 1: 512 MB */
        0
 };