kernel: add the new 'crashlog' feature, which tries to store kernel oops/panic logs...
[openwrt.git] / target / linux / brcm63xx / patches-2.6.33 / 040-bcm963xx_flashmap.patch
index 4784de7..5f3e0a2 100644 (file)
@@ -13,7 +13,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
 
 --- a/drivers/mtd/maps/Kconfig
 +++ b/drivers/mtd/maps/Kconfig
-@@ -259,6 +259,13 @@ config MTD_ALCHEMY
+@@ -257,6 +257,13 @@ config MTD_ALCHEMY
        help
          Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards
  
@@ -140,7 +140,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
 +              return -ENOMEM;
 +
 +      /* Get the tag */
-+      ret = master->read(master,0x10000,sizeof(struct bcm_tag), &retlen, (void *)buf);
++      ret = master->read(master,mater->erasesize,sizeof(struct bcm_tag), &retlen, (void *)buf);
 +      if (retlen != sizeof(struct bcm_tag)){
 +              vfree(buf);
 +              return -EIO;
@@ -342,7 +342,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
 +MODULE_AUTHOR("Mike Albon <malbon@openwrt.org>");
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -722,20 +722,6 @@ static int board_get_mac_address(u8 *mac
+@@ -721,20 +721,6 @@ static int board_get_mac_address(u8 *mac
        return 0;
  }
  
@@ -363,7 +363,7 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
  static struct resource mtd_resources[] = {
        {
                .start          = 0,    /* filled at runtime */
-@@ -745,12 +731,9 @@ static struct resource mtd_resources[] =
+@@ -744,12 +730,9 @@ static struct resource mtd_resources[] =
  };
  
  static struct platform_device mtd_dev = {
This page took 0.026323 seconds and 4 git commands to generate.