-
Julius Werner authored
This patch updates 'mmc writeprotect boot set' with a few more optional parameters, so that it can be used to enable permanent write-protection and so that the two boot partitions can be protected independently. It also splits protection information output by 'mmc writeprotect boot get' by partition. (Note: eMMC boot partitions are named "Area 1" and "Area 2" by the eMMC spec, but mmcblk0boot0 and mmcblk0boot1 by Linux. To avoid confusion between the two numbering schemes, this patch uses 0 and 1 throughout, even when defining EXT_CSD register bits.) Signed-off-by: Julius Werner <jwerner@chromium.org> Link: https://lore.kernel.org/r/20200316202221.107714-1-jwerner@chromium.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
be4cac34