Re: [PATCH v2 2/2] mmc: tmio: Replace ifdeffery with IS_ENABLED/CONFIG_IS_ENABLED macros

2023-03-13 Thread Jaehoon Chung
On 3/1/23 06:18, Marek Vasut 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. >

Re: [PATCH v2 2/2] mmc: tmio: Replace ifdeffery with IS_ENABLED/CONFIG_IS_ENABLED macros

2023-03-01 Thread Simon Glass
On Tue, 28 Feb 2023 at 14:18, Marek Vasut 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

[PATCH v2 2/2] mmc: tmio: Replace ifdeffery with IS_ENABLED/CONFIG_IS_ENABLED macros

2023-02-28 Thread Marek Vasut
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 --- Cc: Jaehoon Chung