[PATCH 1/2] Display BARRIER_CTRL Status when printing EXT_CSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux