rb532.patch 554 B

123456789101112131415161718
  1. diff -Nur linux-2.6.36.orig/arch/mips/rb532/devices.c linux-2.6.36/arch/mips/rb532/devices.c
  2. --- linux-2.6.36.orig/arch/mips/rb532/devices.c 2010-10-20 22:30:22.000000000 +0200
  3. +++ linux-2.6.36/arch/mips/rb532/devices.c 2010-12-21 20:26:05.000000000 +0100
  4. @@ -190,8 +190,12 @@
  5. }, {
  6. .name = "rootfs",
  7. .offset = MTDPART_OFS_NXTBLK,
  8. - .size = MTDPART_SIZ_FULL,
  9. - }
  10. + .size = 0x8000000 - 0x400000 - 0x400000,
  11. + }, {
  12. + .name = "cfgfs",
  13. + .offset = 0x8000000 - 0x400000,
  14. + .size = 0x400000,
  15. + },
  16. };
  17. static struct platform_device rb532_led = {