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!