mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
mmc: Change mode when switching to a boot partition
Boot partitions do not support HS200. Changing to a lower performance mode is required to access them. mmc_select_mode_and_width() and sd_select_mode_and_width() are modified to make it easier to call them outside of the initialization context. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Jaehoon Chung
parent
04a2ea248f
commit
01298da31d
@@ -585,7 +585,12 @@ struct mmc {
|
||||
#endif
|
||||
#endif
|
||||
u8 *ext_csd;
|
||||
enum bus_mode selected_mode;
|
||||
enum bus_mode selected_mode; /* mode currently used */
|
||||
enum bus_mode best_mode; /* best mode is the supported mode with the
|
||||
* highest bandwidth. It may not always be the
|
||||
* operating mode due to limitations when
|
||||
* accessing the boot partitions
|
||||
*/
|
||||
};
|
||||
|
||||
struct mmc_hwpart_conf {
|
||||
|
||||
Reference in New Issue
Block a user