Guest User

sharky84

a guest
Jan 26th, 2010
175
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static struct mtd_partition sdp_nand_partitions[] = {
  2. /* All the partition sizes are listed in terms of NAND block size */
  3. {
  4. .name = "X-Loader-NAND",
  5. .offset = 0,
  6. .size = 4 * (64 * 2048),
  7. .mask_flags = MTD_WRITEABLE, /* force read-only */
  8. },
  9. {
  10. .name = "U-Boot-NAND",
  11. .offset = MTDPART_OFS_APPEND, /* Offset = 0x80000 */
  12. .size = 4 * (64 * 2048),
  13. .mask_flags = MTD_WRITEABLE, /* force read-only */
  14. },
  15. {
  16. .name = "Boot Env-NAND",
  17.  
  18. .offset = MTDPART_OFS_APPEND, /* Offset = 0x100000 */
  19. .size = 2 * (64 * 2048),
  20. },
  21. {
  22. .name = "Kernel-NAND",
  23. .offset = MTDPART_OFS_APPEND, /* Offset = 0x140000 */
  24. .size = 32 * (64 * 2048),
  25.  
  26.  
  27. },
  28. {
  29. .name = "File System - NAND",
  30. .size = MTDPART_SIZ_FULL,
  31. .offset = MTDPART_OFS_APPEND, /* Offset = 0x540000 */
  32. },
  33. };
RAW Paste Data