From patchwork Mon Mar 30 05:24:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 244517 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Mon, 30 Mar 2020 07:24:15 +0200 Subject: [PATCH 0/4] mmc: manage boot area protection Message-ID: <20200330052419.3804-1-xypron.glpk@gmx.de> This patch series adds sub-command 'mmc wp' to set the power on boot area protection on eMMC devices and enhances command 'mmc info' to display the boot area protection status. Heinrich Schuchardt (4): mmc: EXT_CSD registers for write protection mmc: export mmc_send_ext_csd() cmd: mmc: display write protect state of boot partition cmd: mmc: provide boot area protection command cmd/mmc.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/mmc/mmc.c | 7 ++++++- include/mmc.h | 23 +++++++++++++++++++++++ 3 files changed, 75 insertions(+), 1 deletion(-) --- 2.25.1