004-rb532-fix-partition-info.patch 430 B

1234567891011121314151617
  1. --- a/arch/mips/rb532/devices.c
  2. +++ b/arch/mips/rb532/devices.c
  3. @@ -199,11 +199,11 @@ static struct platform_device nand_slot0
  4. static struct mtd_partition rb532_partition_info[] = {
  5. {
  6. - .name = "Routerboard NAND boot",
  7. + .name = "kernel",
  8. .offset = 0,
  9. - .size = 4 * 1024 * 1024,
  10. + .size = 8 * 1024 * 1024,
  11. }, {
  12. - .name = "rootfs",
  13. + .name = "ubi",
  14. .offset = MTDPART_OFS_NXTBLK,
  15. .size = MTDPART_SIZ_FULL,
  16. }