]> git.dujemihanovic.xyz Git - u-boot.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)
commitc5ea0167bed3e0fbd0cbee466ede3c70cf345a54
treeb5c1ed4156abb35bfaf7601b5b0ef6a37d3e0ae6
parent9b3303822df97c5cc8e2df99e75d7a55246399ed
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