cfgfs.patch 554 B

123456789101112131415161718
  1. diff -Nur linux-2.6.32.orig/arch/mips/rb532/devices.c linux-2.6.32/arch/mips/rb532/devices.c
  2. --- linux-2.6.32.orig/arch/mips/rb532/devices.c 2009-12-03 04:51:21.000000000 +0100
  3. +++ linux-2.6.32/arch/mips/rb532/devices.c 2010-02-01 22:29: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 = {