Date:2012-07-26 15:58:41 (7 years 10 months ago)
Author:Paul Cercueil
Commit:2ffeb010b13a201fd33bde5cc7ae987230fac42b
Message:MIPS: A320: correct partition table.

The uC/OS-II loader starts at page 64, and is 192 pages long.
Files: arch/mips/jz4740/board-a320.c (1 diff)

Change Details

arch/mips/jz4740/board-a320.c
8484static struct mtd_partition a320_nand_partitions[] = {
8585    { .name = "SPL",
8686      .offset = 0 * A320_NAND_ERASE_BLOCK_SIZE,
87      .size = 1 * A320_NAND_ERASE_BLOCK_SIZE,
87      .size = 64 * A320_NAND_PAGE_SIZE,
8888      /* MtH: Read-only until we can trust it. */
8989      .mask_flags = MTD_WRITEABLE,
9090    },
9191    { .name = "uC/OS-II loader",
92      .offset = 1 * A320_NAND_ERASE_BLOCK_SIZE,
93      .size = 2 * A320_NAND_ERASE_BLOCK_SIZE,
92      .offset = 64 * A320_NAND_PAGE_SIZE,
93      .size = 192 * A320_NAND_PAGE_SIZE,
9494      /* MtH: Read-only until we can trust it. */
9595      .mask_flags = MTD_WRITEABLE,
9696    },

Archive Download the corresponding diff file



interactive