coreboot-kgpe-d16/src/mainboard/google
David Hendricks 4d244214ce veyron_*: Move PMIC_BUS to a Kconfig variable
This moves PMIC_BUS from each mainboard's board.h file to a per-
mainboard Kconfig variable. To prevent humans from forgetting to
set a valid value, an invalid default is set in the rk3288 Kconfig
and checked in rk808.c so that compilation will fail if the mainboard
Kconfig does not override it.

Originally, PMIC_BUS was only used by mainboard code as an argument
to RK808 PMIC functions. To conform to the generic RTC API, however,
the RK808 code needs to have the bus number globally defined somewhere
since the rtc_get() and rtc_set() functions don't take any args.

Since CONFIG_PMIC_BUS is globally visible, we no longer need to pass
bus number to the PMIC functions.

BUG=chrome-os-partner:34436
BRANCH=none
TEST=built and booted on Pinky

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: I73783878e507b2e7b1526dd2f81cfbdf8f1e2a55
Reviewed-on: https://chromium-review.googlesource.com/240203
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/9642
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
2015-04-15 16:46:37 +02:00
..
bolt mainboards: fix spd generation 2015-04-01 22:51:41 +02:00
butterfly google/butterfly: Drop MRC.bin in favor of native raminit 2015-03-15 05:28:29 +01:00
cosmos CBFS: Correct ROM_SIZE for ARM boards, use CBFS_SIZE for cbfstool 2015-04-14 09:01:23 +02:00
daisy exynos5250: Change all SoC headers to <soc/headername.h> system 2015-04-07 18:48:04 +02:00
falco mainboards: fix spd generation 2015-04-01 22:51:41 +02:00
link mainboards: fix spd generation 2015-04-01 22:51:41 +02:00
nyan CBFS: Correct ROM_SIZE for ARM boards, use CBFS_SIZE for cbfstool 2015-04-14 09:01:23 +02:00
nyan_big CBFS: Correct ROM_SIZE for ARM boards, use CBFS_SIZE for cbfstool 2015-04-14 09:01:23 +02:00
nyan_blaze blaze: add new Micron 2GB BCT 2015-04-15 16:41:50 +02:00
panther vboot: add physical recovery switch support 2015-04-10 16:48:46 +02:00
parrot mainboard/cmos: Delete obsolete commented parameters 2015-02-16 09:23:02 +01:00
peach_pit exynos5420: Change all SoC headers to <soc/headername.h> system 2015-04-07 18:48:30 +02:00
peppy mainboards: fix spd generation 2015-04-01 22:51:41 +02:00
rambi baytrail: Change all SoC headers to <soc/headername.h> system 2015-04-07 18:23:21 +02:00
rush rush: Configure display related clock, pad, and power 2015-04-14 09:04:29 +02:00
rush_ryu CBFS: Correct ROM_SIZE for ARM boards, use CBFS_SIZE for cbfstool 2015-04-14 09:01:23 +02:00
samus samus: Declare TPM in devicetree.cb and include ACPI device 2015-04-14 12:12:42 +02:00
slippy mainboards: fix spd generation 2015-04-01 22:51:41 +02:00
storm storm: do not enable the ethernet switch by default 2015-04-14 12:16:05 +02:00
stout mainboard/cmos: Delete obsolete commented parameters 2015-02-16 09:23:02 +01:00
urara urara: increase drive strength for SPIM1 MFIOs 2015-04-14 12:08:53 +02:00
veyron_brain veyron_*: Move PMIC_BUS to a Kconfig variable 2015-04-15 16:46:37 +02:00
veyron_jerry veyron_*: Move PMIC_BUS to a Kconfig variable 2015-04-15 16:46:37 +02:00
veyron_mighty veyron_*: Move PMIC_BUS to a Kconfig variable 2015-04-15 16:46:37 +02:00
veyron_pinky veyron_*: Move PMIC_BUS to a Kconfig variable 2015-04-15 16:46:37 +02:00
veyron_speedy veyron_*: Move PMIC_BUS to a Kconfig variable 2015-04-15 16:46:37 +02:00
Kconfig Brain: Initial mainboard import 2015-04-15 16:42:18 +02:00