diff options
Diffstat (limited to 'src/mainboard/kontron')
-rw-r--r-- | src/mainboard/kontron/986lcd-m/early_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/kontron/986lcd-m/early_init.c b/src/mainboard/kontron/986lcd-m/early_init.c index 0423b2c373..80ce896323 100644 --- a/src/mainboard/kontron/986lcd-m/early_init.c +++ b/src/mainboard/kontron/986lcd-m/early_init.c @@ -29,7 +29,9 @@ void mainboard_lpc_decode(void) { int lpt_en = 0; - if (read_option(lpt, 0) != 0) + u8 val; + + if (get_option(&val, "lpt") == CB_SUCCESS && val) lpt_en = LPT_LPC_EN; /* enable LPT */ pci_update_config16(PCI_DEV(0, 0x1f, 0), LPC_EN, ~LPT_LPC_EN, lpt_en); |