mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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