
Hi Jean-Jacques,
On 29 November 2017 at 07:29, Jean-Jacques Hiblot jjhiblot@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@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