Changeset 32660


Ignore:
Timestamp:
2012-07-11T11:15:22+02:00 (6 years ago)
Author:
florian
Message:

[brcm63xx] use physmap-flash on livebox (#8677)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/patches-3.3/513-board_livebox.patch

    r32087 r32660  
    2121--- /dev/null 
    2222+++ b/arch/mips/bcm63xx/boards/board_livebox.c 
    23 @@ -0,0 +1,366 @@ 
     23@@ -0,0 +1,373 @@ 
    2424+/* 
    2525+ * This file is subject to the terms and conditions of the GNU General Public 
     
    274274+} 
    275275+ 
     276+static struct physmap_flash_data flash_data = { 
     277+       .width                  = 2, 
     278+}; 
     279+ 
    276280+static struct resource mtd_resources[] = { 
    277281+       { 
     
    283287+ 
    284288+static struct platform_device mtd_dev = { 
    285 +       .name                   = "bcm963xx-flash", 
    286 +       .resource               = mtd_resources, 
    287 +       .num_resources          = ARRAY_SIZE(mtd_resources), 
     289+       .name                   = "physmap-flash", 
     290+       .resource               = mtd_resources, 
     291+       .num_resources          = ARRAY_SIZE(mtd_resources), 
     292+       .dev                    = { 
     293+               .platform_data  = &flash_data, 
     294+       }, 
    288295+}; 
    289296+ 
Note: See TracChangeset for help on using the changeset viewer.