mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
mmc: Add a function to dump the mmc capabilities
This adds a simple helper function to display information (bus width and mode) based on a capability mask. Useful for debug. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
This commit is contained in:
committed by
Jaehoon Chung
parent
35f9e196f9
commit
4c9d2aaa7e
@@ -426,6 +426,7 @@ enum bus_mode {
|
||||
};
|
||||
|
||||
const char *mmc_mode_name(enum bus_mode mode);
|
||||
void mmc_dump_capabilities(const char *text, uint caps);
|
||||
|
||||
/*
|
||||
* With CONFIG_DM_MMC enabled, struct mmc can be accessed from the MMC device
|
||||
|
Reference in New Issue
Block a user