On Tue, Aug 27, 2024 at 07:45:31PM -0600, Simon Glass wrote: > Some boards want to use DM_MMC in TPL so add an option for that. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > drivers/mmc/Kconfig | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig > index 982e84dc3bc..2b55ddb7af2 100644 > --- a/drivers/mmc/Kconfig > +++ b/drivers/mmc/Kconfig > @@ -61,6 +61,18 @@ config SPL_DM_MMC > appear as block devices in U-Boot and can support filesystems such > as EXT4 and FAT. > > +config TPL_DM_MMC > + bool "Enable MMC controllers using Driver Model in TPL" > + depends on TPL_DM && DM_MMC > + default y
This shouldn't be "default y" as it's adding 128 bytes to TPL on a lot of platforms. -- Tom
signature.asc
Description: PGP signature