
1 Mar
2023
1 Mar
'23
4:01 p.m.
On Tue, 28 Feb 2023 at 14:18, Marek Vasut marek.vasut+renesas@mailbox.org wrote:
Instead of #if and #ifdef, use IS_ENABLED and CONFIG_IS_ENABLED macros. This improves build test coverage. The CONFIG_SPL_BUILD must remain an ifdef, as CONFIG_SPL_STACK may not always be defined, e.g. in U-Boot proper build. No functional change.
Signed-off-by: Marek Vasut marek.vasut+renesas@mailbox.org
Cc: Jaehoon Chung jh80.chung@samsung.com Cc: Peng Fan peng.fan@nxp.com
V2: - Rebase on 1/2 - Drop DM_REGULATOR check from struct tmio_sd_priv in tmio-common.h
drivers/mmc/tmio-common.c | 59 +++++++++++++++++++-------------------- drivers/mmc/tmio-common.h | 2 -- 2 files changed, 29 insertions(+), 32 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org