]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-epos/sitara-epos-kernel.git/blobdiff - arch/arm/mach-omap2/board-am335xevm.c
ARM: OMAP2+: nand: Changing SPL and U-boot partition permission
[sitara-epos/sitara-epos-kernel.git] / arch / arm / mach-omap2 / board-am335xevm.c
index fb149ef68a51d1f037337e5388047108f1fc3fd0..00c057938872e28500ac2762f7f3252384ad8665 100644 (file)
@@ -1041,31 +1041,26 @@ static struct mtd_partition am335x_nand_partitions[] = {
                .name           = "SPL",
                .offset         = 0,                    /* Offset = 0x0 */
                .size           = SZ_128K,
-               .mask_flags     = MTD_WRITEABLE,        /* force read-only */
        },
        {
                .name           = "SPL.backup1",
                .offset         = MTDPART_OFS_APPEND,   /* Offset = 0x20000 */
                .size           = SZ_128K,
-               .mask_flags     = MTD_WRITEABLE,        /* force read-only */
        },
        {
                .name           = "SPL.backup2",
                .offset         = MTDPART_OFS_APPEND,   /* Offset = 0x40000 */
                .size           = SZ_128K,
-               .mask_flags     = MTD_WRITEABLE,        /* force read-only */
        },
        {
                .name           = "SPL.backup3",
                .offset         = MTDPART_OFS_APPEND,   /* Offset = 0x60000 */
                .size           = SZ_128K,
-               .mask_flags     = MTD_WRITEABLE,        /* force read-only */
        },
        {
                .name           = "U-Boot",
                .offset         = MTDPART_OFS_APPEND,   /* Offset = 0x80000 */
                .size           = 15 * SZ_128K,
-               .mask_flags     = MTD_WRITEABLE,        /* force read-only */
        },
        {
                .name           = "U-Boot Env",