Changeset 41993


Ignore:
Timestamp:
2014-08-04T16:46:52+02:00 (4 years ago)
Author:
nbd
Message:

ar71xx: update Carambola2 platform data

Change list:

  • Remove button info on GPIO12, there is no button there.
  • Remove nvram mtd partition, as it's not used for anything, saves 64k for user data.

Tested building for carambola2 target.

Signed-off-by: Mantas Pucka <mantas@…>

Location:
trunk/target/linux/ar71xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c

    r37260 r41993  
    2626 
    2727#define CARAMBOLA2_GPIO_BTN_JUMPSTART           11 
    28 #define CARAMBOLA2_GPIO_BTN_RESET               12 
    2928 
    3029#define CARAMBOLA2_KEYS_POLL_INTERVAL           20      /* msecs */ 
     
    6160                .active_low     = 1, 
    6261        }, 
    63         { 
    64                 .desc           = "reset button", 
    65                 .type           = EV_KEY, 
    66                 .code           = KEY_RESTART, 
    67                 .debounce_interval = CARAMBOLA2_KEYS_DEBOUNCE_INTERVAL, 
    68                 .gpio           = CARAMBOLA2_GPIO_BTN_RESET, 
    69                 .active_low     = 1, 
    70         } 
    7162}; 
    7263 
  • trunk/target/linux/ar71xx/image/Makefile

    r41814 r41993  
    249249ap121_mtdlayout_2M=mtdparts=spi0.0:64k(u-boot)ro,1216k(rootfs),704k(kernel),64k(art)ro,1920k@0x10000(firmware) 
    250250ap121_mtdlayout_4M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2752k(rootfs),896k(kernel),64k(nvram),64k(art)ro,3648k@0x50000(firmware) 
    251 carambola2_mtdlayout_16M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,15936k(firmware),64k(nvram),64k(art)ro 
     251carambola2_mtdlayout_16M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro 
    252252ap132_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),6400k(rootfs),64k(art),7808k@0x50000(firmware) 
    253253ap135_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14528k(rootfs),1472k(kernel),64k(art)ro,16000k@0x50000(firmware) 
Note: See TracChangeset for help on using the changeset viewer.