The status of BARRIER_CTRL can be read from this byte: EXT_CSD[31](R/W) Signed-off-by : shankar.ma@xxxxxxxxxxx Reviewed-by : mohanraj.v@xxxxxxxxxxx --- mmc_cmds.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mmc_cmds.c b/mmc_cmds.c index c5eea65..5e5e79e 100644 --- a/mmc_cmds.c +++ b/mmc_cmds.c @@ -1831,7 +1831,10 @@ int do_read_extcsd(int nargs, char **argv) printf("Control to turn the Cache ON/OFF" " [CACHE_CTRL]: 0x%02x\n", ext_csd[33]); /* flush_cache ext_csd[32] not readable */ - /*Reserved [31:0] */ + printf("Control to turn the Cache Barrier ON/OFF" + " [BARRIER_CTRL]: 0x%02x\n", ext_csd[31]); + /*Reserved [30:0] */ + } if (ext_csd_rev >= 7) { -- 2.25.1