[PATCH 1/3] serial: sandbox: Drop unnecessary #ifdefs

Simon Glass sjg at chromium.org
Thu Dec 10 01:26:57 CET 2020


CONFIG_OF_CONTROL is always enabled for sandbox (as it should be for all
boards), so we can drop it. Also use IS_ENABLED() for the SPL check.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/serial/sandbox.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list