beagle: expansion boards: add LSR COM6L adapter
authorrobertcnelson@gmail.com <robertcnelson@gmail.com>
Mon, 4 Feb 2013 06:03:30 +0000 (06:03 +0000)
committerTom Rini <trini@ti.com>
Mon, 18 Feb 2013 18:48:04 +0000 (13:48 -0500)
http://www.lsr.com/wireless-products/com6l

The eeprom on this expansion board requires 16bit addressing.

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
board/ti/beagle/beagle.c

index 9493c6b4927a6e467c34abe05105b165926a4aef..58bd55620847d1a352d61f32028065b8b811f0ed 100644 (file)
@@ -72,6 +72,7 @@
 #define BBTOYS_LCD                     0x03000B00
 #define BCT_BRETTL3                    0x01000F00
 #define BCT_BRETTL4                    0x02000F00
+#define LSR_COM6L_ADPT                 0x01001300
 #define BEAGLE_NO_EEPROM               0xffffffff
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -462,6 +463,11 @@ int misc_init_r(void)
        case BCT_BRETTL4:
                printf("Recognized bct electronic GmbH brettl4 board\n");
                break;
+       case LSR_COM6L_ADPT:
+               printf("Recognized LSR COM6L Adapter Board\n");
+               MUX_BBTOYS_WIFI()
+               setenv("buddy", "lsr-com6l-adpt");
+               break;
        case BEAGLE_NO_EEPROM:
                printf("No EEPROM on expansion board\n");
                setenv("buddy", "none");