]> git.baikalelectronics.ru Git - uboot.git/commit
serial: sandbox: Drop unnecessary #ifdefs
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2020 03:36:48 +0000 (20:36 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 14:58:17 +0000 (07:58 -0700)
commit47cb673cfde93034adebc68c51104ea7faeaa0cb
treeb5c1ed4156abb35bfaf7601b5b0ef6a37d3e0ae6
parent2ef6bda403c41ae0c188af2e7b6d80363b25d466
serial: sandbox: Drop unnecessary #ifdefs

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@chromium.org>
drivers/serial/sandbox.c