mmc_cmds: Display BARRIER_CTRL Status when printing EXT_CSD
The status of BARRIER_CTRL can be read from this byte: EXT_CSD[31](R/W) Signed-off-by: Shankar Athanikar <shankar.ma@samsung.com> Reviewed-by: <mohanraj.v@samsung.com> Link: https://lore.kernel.org/r/20211224111917.707440-1-shankar.ma@samsung.com [Ulf: Cleaned up whitespace and corrected sob-tag] Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
1 parent
4465006b3c
commit
fd41dca5b1
1 file changed
+3
-1
+3
-1
@@ -1831,7 +1831,9 @@ 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) {
|
||||
|
||||
Reference in new issue
Block a user