diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2017-07-10 12:33:48 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-07-10 13:02:01 +0200 |
commit | 852cc1bf50f8a6cd7bc7ee7bda6da70fd47024ee (patch) | |
tree | 61b835ca1b6bb5aa8f90546aac1bb4b1e119de32 /common/efi | |
parent | 1afbf6b5680ebc2d1c9333b5f810ce9caa92224b (diff) | |
download | barebox-852cc1bf50f8a6cd7bc7ee7bda6da70fd47024ee.tar.gz barebox-852cc1bf50f8a6cd7bc7ee7bda6da70fd47024ee.tar.xz |
common: efi: do not use undefined kconfig option
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'common/efi')
-rw-r--r-- | common/efi/efi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/efi/efi.c b/common/efi/efi.c index 05c58250f4..f924385958 100644 --- a/common/efi/efi.c +++ b/common/efi/efi.c @@ -266,8 +266,7 @@ static int efi_console_init(void) add_generic_device("efi-stdio", DEVICE_ID_SINGLE, NULL, 0 , 0, 0, NULL); - if (IS_ENABLED(CONFIG_ARCH_EFI_REGISTER_COM1)) - add_ns16550_device(0, 0x3f8, 0x10, IORESOURCE_IO | IORESOURCE_MEM_8BIT, + add_ns16550_device(0, 0x3f8, 0x10, IORESOURCE_IO | IORESOURCE_MEM_8BIT, &ns16550_plat); return 0; |