Skip to content
Snippets Groups Projects
Commit add710ea authored by Johan Rudholm's avatar Johan Rudholm Committed by Chris Ball
Browse files

mmc: boot partition ro lock support


Enable boot partitions to be read-only locked until next power on via
a sysfs entry. There will be one sysfs entry for each boot partition:

/sys/block/mmcblkXbootY/ro_lock_until_next_power_on

Each boot partition is locked by writing 1 to its file.

Signed-off-by: default avatarJohan Rudholm <johan.rudholm@stericsson.com>
Signed-off-by: default avatarJohn Beckett <john.beckett@stericsson.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 92df954d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment