diff options
Diffstat (limited to 'src/mainboard/supermicro/x10slm-f')
-rw-r--r-- | src/mainboard/supermicro/x10slm-f/mainboard.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/supermicro/x10slm-f/mainboard.c b/src/mainboard/supermicro/x10slm-f/mainboard.c index 2f206060b7..b584e9bd73 100644 --- a/src/mainboard/supermicro/x10slm-f/mainboard.c +++ b/src/mainboard/supermicro/x10slm-f/mainboard.c @@ -30,9 +30,7 @@ static void hide_ast2400(void) static void mainboard_enable(struct device *dev) { - u8 hide = 0; - - if (get_option(&hide, "hide_ast2400") == CB_SUCCESS && hide) + if (get_int_option("hide_ast2400", false)) hide_ast2400(); } |