1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-09 05:59:20 +01:00
Files
u-boot-megous/drivers
Sean Anderson 95d6b74cf8 mmc: fsl_esdhc_imx: clean up bus width configuration code
[ fsl_esdhc commit 07bae1de38 ]

This patch is to clean up bus width setting code.

- For DM_MMC, remove getting "bus-width" from device tree.
  This has been done in mmc_of_parse().

- For non-DM_MMC, move bus width configuration from fsl_esdhc_init()
  to fsl_esdhc_initialize() which is non-DM_MMC specific.
  And fix up bus width configuration to support only 1-bit, 4-bit,
  or 8-bit. Keep using 8-bit if it's not set because many platforms
  use driver without providing max bus width.

- Remove bus_width member from fsl_esdhc_priv structure.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
[ converted if statement to switch ]
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2022-01-12 09:56:39 +09:00
..
2021-12-20 17:12:04 -05:00
2022-01-10 14:01:57 -05:00
2021-09-25 09:46:15 -06:00
2021-10-05 08:50:15 -04:00
2021-11-07 18:36:56 +01:00
2021-09-27 21:38:34 -04:00
2021-12-27 08:41:38 -05:00
2021-12-05 09:26:26 -07:00
2021-10-31 08:46:44 -04:00
2021-12-27 08:40:33 -05:00
2021-11-18 20:18:34 -05:00
2021-11-09 11:57:22 +09:00
2021-11-23 13:53:03 -05:00
2021-09-04 12:26:02 -04:00
2021-12-31 06:45:01 +01:00
2021-11-30 14:11:05 +02:00
2022-01-10 14:01:57 -05:00
2021-09-13 18:23:13 -04:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00