projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f25cb0
)
ARM: mach-shmobile: ap4evb: Mark NOR boot loader partitions read-only.
author
Yusuke Goda
<
[email protected]
>
Mon, 8 Nov 2010 05:45:09 +0000
(
05:45
+0000)
committer
Paul Mundt
<
[email protected]
>
Mon, 8 Nov 2010 05:55:11 +0000
(14:55 +0900)
This makes the loader and bootenv partitions read-only under MTD for the
on-board NOR flash.
Signed-off-by: Yusuke Goda <
[email protected]
>
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Paul Mundt <
[email protected]
>
arch/arm/mach-shmobile/board-ap4evb.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-shmobile/board-ap4evb.c
b/arch/arm/mach-shmobile/board-ap4evb.c
index 32d9e2816e569a98a9a6525e9aab6c757053388f..63c2fcac8e1e2c6b567a2f596f01e9469c372a11 100644
(file)
--- a/
arch/arm/mach-shmobile/board-ap4evb.c
+++ b/
arch/arm/mach-shmobile/board-ap4evb.c
@@
-163,11
+163,13
@@
static struct mtd_partition nor_flash_partitions[] = {
.name = "loader",
.offset = 0x00000000,
.size = 512 * 1024,
+ .mask_flags = MTD_WRITEABLE,
},
{
.name = "bootenv",
.offset = MTDPART_OFS_APPEND,
.size = 512 * 1024,
+ .mask_flags = MTD_WRITEABLE,
},
{
.name = "kernel_ro",