]> git.sur5r.net Git - u-boot/commit
cmd: mmc: add mmc partconf read capability
authorAngelo Dureghello <angelo@sysam.it>
Tue, 1 Aug 2017 12:27:10 +0000 (14:27 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 08:00:11 +0000 (17:00 +0900)
commitbdb6099666933491ce393e52132e05604da91b1a
tree127076ebc6d7f6a4725d013e8f5d3967ec95016d
parente7881d85a94b2e35b12a163c3af671057e9ca5e8
cmd: mmc: add mmc partconf read capability

This patch allows to show the EXT_CSD[179] partition_config
register info, just by specifying the dev param:

  U-Boot> mmc partconf 0
  EXT_CSD[179], PARTITION_CONFIG:
  BOOT_ACK: 0x0
  BOOT_PARTITION_ENABLE: 0x0
  PARTITION_ACCESS: 0x0

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
cmd/mmc.c
drivers/mmc/mmc_boot.c
include/mmc.h