[U-Boot] [PATCH v4 08/10] mmc: make UHS and HS200 optional
Simon Glass
sjg at chromium.org
Sat Dec 2 03:29:50 UTC 2017
Hi Jean-Jacques,
On 29 November 2017 at 07:29, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
> Supporting USH and HS200 increases the code size as it brings in IO voltage
> control, tuning and fatter data structures.
> Use Kconfig configuration to select which of those features should be
> built in.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
> drivers/mmc/Kconfig | 46 +++++++++++++++++++++++++++++++++++
> drivers/mmc/mmc-uclass.c | 4 +++
> drivers/mmc/mmc.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++-
> include/mmc.h | 27 ++++++++++++++++++---
> 4 files changed, 135 insertions(+), 5 deletions(-)
A few things:
- Can these default to on? I think going fast is best, and reducing
functionality can be an option
- Can you use if (IS_ENABLED) instead of #if within functions?
Regards,
Simon
More information about the U-Boot
mailing list