Re: [U-Boot] [PATCH] imx: serial_mxc: use CONFIG_IS_ENABLED instead of ifdef

2019-02-20 Thread Simon Glass
On Tue, 19 Feb 2019 at 21:07, Adam Ford wrote: > > Kconfig allows boards to configured with DM_SERIAL and still > have SPL_DM_SERIAL disabled. This patch changes the ifdef's > to CONFIG_IS_ENABLED to allow the modes to differ between > SPL and U-Boot. > > Signed-off-by: Adam Ford Reviewed-by: S

[U-Boot] [PATCH] imx: serial_mxc: use CONFIG_IS_ENABLED instead of ifdef

2019-02-19 Thread Adam Ford
Kconfig allows boards to configured with DM_SERIAL and still have SPL_DM_SERIAL disabled. This patch changes the ifdef's to CONFIG_IS_ENABLED to allow the modes to differ between SPL and U-Boot. Signed-off-by: Adam Ford diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c inde