0025-rb4xx_nand-add-partition-for-cfgfs.patch 758 B

12345678910111213141516171819202122232425262728
  1. From 8cbc2ee92ec6dbed4a806cedffc6919b6b90275b Mon Sep 17 00:00:00 2001
  2. From: Phil Sutter <phil@nwl.cc>
  3. Date: Tue, 3 Jun 2014 00:32:22 +0200
  4. Subject: [PATCH] rb4xx_nand: add partition for cfgfs
  5. ---
  6. drivers/mtd/nand/rb4xx_nand.c | 5 +++++
  7. 1 file changed, 5 insertions(+)
  8. diff --git a/drivers/mtd/nand/rb4xx_nand.c b/drivers/mtd/nand/rb4xx_nand.c
  9. index 5b9841b..603d001 100644
  10. --- a/drivers/mtd/nand/rb4xx_nand.c
  11. +++ b/drivers/mtd/nand/rb4xx_nand.c
  12. @@ -65,6 +65,11 @@ static struct mtd_partition rb4xx_nand_partitions[] = {
  13. .size = (4 * 1024 * 1024) - (256 * 1024),
  14. },
  15. {
  16. + .name = "cfgfs",
  17. + .offset = MTDPART_OFS_NXTBLK,
  18. + .size = 0x400000,
  19. + },
  20. + {
  21. .name = "rootfs",
  22. .offset = MTDPART_OFS_NXTBLK,
  23. .size = MTDPART_SIZ_FULL,
  24. --
  25. 1.8.5.3