coreboot-kgpe-d16/src/soc/mediatek/mt8195
Rex-BC Chen c5d4d964f1 mb/google: Use boolean type for "enable" argument for regulator
Because 0 and 1 are the only possible values,
1. Change input argument "enable" of mainboard_enable_regulator to bool.
2. Change return value of mainboard_regulator_is_enabled() to bool.

TEST=build pass
BUG=b:233720142

Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Change-Id: Iae09c5fedf8f7394bfbb677e5aee37ed061304fd
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65997
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-07-21 10:33:22 +00:00
..
include/soc soc/mediatek: Move SPMI device table to SoC folder 2022-07-13 10:43:36 +00:00
apusys.c soc/mediatek/mt8195: fix apusys coding defects 2021-11-11 14:34:44 +00:00
apusys_devapc.c soc/mediatek/mt8195: Move some definations of devapc to common folder 2021-12-28 09:33:35 +00:00
bootblock.c soc/mediatek/mt8195: Add early init support 2022-03-29 15:41:37 +00:00
chip.h soc/mediatek: Add chip config for setting PCIe config 2022-03-16 16:55:26 +00:00
ddp.c soc/mediatek/mt8195: Add ddp driver to support eDP output 2021-06-16 08:32:31 +00:00
devapc.c soc/mediatek/mt8195: Configure SCP core 2 domain setting 2022-05-25 12:52:29 +00:00
dp_intf.c src/soc/mediatek: Remove unused <console/console.h> 2022-03-27 15:32:18 +00:00
dpm_4ch.c treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
dptx.c treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
dptx_hal.c treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
emi.c soc/mediatek/mt8195: Get DRAM size from DRAM calibration result 2021-07-14 09:47:39 +00:00
gpio.c soc/mediatek: Move some gpio functions to common/gpio_op.c 2022-07-06 15:22:20 +00:00
hdmi.c soc/mediatek/mt8195: add HDMI low power setting 2021-08-23 06:03:52 +00:00
i2c.c src/soc/mediatek: Remove unused <timer.h> 2022-01-10 17:40:55 +00:00
Kconfig soc/mediatek: Move FLASH_DUAL_READ to common 2022-07-06 15:33:07 +00:00
Makefile.inc soc/mediatek: Move some gpio functions to common/gpio_op.c 2022-07-06 15:22:20 +00:00
msdc.c mb/google: Use boolean type for "enable" argument for regulator 2022-07-21 10:33:22 +00:00
mt6315.c soc/mediatek/mt8195: add pmif/spmi/pmic driver 2021-05-05 07:36:26 +00:00
mt6359p.c soc/mediatek/mt8195: add pmif/spmi/pmic driver 2021-05-05 07:36:26 +00:00
mt6360.c soc/mediatek: Remove unused <string.h> 2022-01-05 17:39:27 +00:00
mt6691.c treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
mtcmos.c soc/mediatek/mt8195: Update audio and adsp power control 2022-03-27 02:17:16 +00:00
pcie.c soc/mediatek: Ensure PERST# deassertion time follows the spec 2022-03-29 15:41:50 +00:00
pll.c soc/mediatek: Add mt_pll_set_usb_clock() to enable usb clock 2022-07-12 14:40:48 +00:00
pmif_clk.c src/soc/mediatek: Remove unused <console/console.h> 2022-03-27 15:32:18 +00:00
pmif_spi.c soc/mediatek/mt8195: fine tune pmif spi hardware settings for stability 2021-07-12 02:54:36 +00:00
pmif_spmi.c soc/mediatek: Move SPMI device table to SoC folder 2022-07-13 10:43:36 +00:00
scp.c soc/mediatek/mt8195: Enable SCP SRAM 2021-05-13 01:43:30 +00:00
soc.c soc/mediatek: Do resource transition 2022-06-26 21:46:20 +00:00
spi.c soc/mediatek/mt8195: Add NOR-Flash support 2021-05-05 07:37:05 +00:00
spm.c soc/mediatek: Remove unused <string.h> 2022-01-05 17:39:27 +00:00
usb.c soc/mediatek: Add mt_pll_set_usb_clock() to enable usb clock 2022-07-12 14:40:48 +00:00
wdt.c soc/mediatek: Move wdt_set_req() to common folder 2022-07-06 15:20:42 +00:00