diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/brya/variants/bujia/ramstage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/bujia/ramstage.c b/src/mainboard/google/brya/variants/bujia/ramstage.c index 1aaa54b590..51f5ecfaaf 100644 --- a/src/mainboard/google/brya/variants/bujia/ramstage.c +++ b/src/mainboard/google/brya/variants/bujia/ramstage.c @@ -70,9 +70,9 @@ static int32_t get_input_power_voltage(void) .cmd_data_out = &info, }; if (!google_chromeec_command(&cmd)) - return psys_config.bj_volts_mv; + return info.adc_value; - return info.adc_value; + return psys_config.bj_volts_mv; } void variant_devtree_update(void) |