coreboot-kgpe-d16/src/mainboard
Julius Werner 320edbe2ba vboot: Assume EC_SOFTWARE_SYNC and VIRTUAL_DEV_SWITCH by default
The virtualized developer switch was invented five years ago and has
been used on every vboot system ever since. We shouldn't need to specify
it again and again for every new board. This patch flips the Kconfig
logic around and replaces CONFIG_VIRTUAL_DEV_SWITCH with
CONFIG_PHYSICAL_DEV_SWITCH, so that only a few ancient boards need to
set it and it fits better with CONFIG_PHYSICAL_REC_SWITCH. (Also set the
latter for Lumpy which seems to have been omitted incorrectly, and hide
it from menuconfig since it's a hardware parameter that shouldn't be
configurable.)

Since almost all our developer switches are virtual, it doesn't make
sense for every board to pass a non-existent or non-functional developer
mode switch in the coreboot tables, so let's get rid of that. It's also
dangerously confusing for many boards to define a get_developer_mode()
function that reads an actual pin (often from a debug header) which will
not be honored by coreboot because CONFIG_PHYSICAL_DEV_SWITCH isn't set.
Therefore, this patch removes all those non-functional instances of that
function. In the future, either the board has a physical dev switch and
must define it, or it doesn't and must not.

In a similar sense (and since I'm touching so many board configs
anyway), it's annoying that we have to keep selecting EC_SOFTWARE_SYNC.
Instead, it should just be assumed by default whenever a Chrome EC is
present in the system. This way, it can also still be overridden by
menuconfig.

CQ-DEPEND=CL:459701

Change-Id: If9cbaa7df530580a97f00ef238e3d9a8a86a4a7f
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/18980
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-03-28 22:15:46 +02:00
..
a-trend
aaeon
abit
adi mainboards: Don’t select POST_IO 2017-03-21 18:19:52 +01:00
adlink
advansus
amd amd/torpedo: Switch away from AGESA_LEGACY 2017-03-28 02:00:40 +02:00
aopen
apple mb/apple/macbook11,macbook21,imac52: Remove per board directories 2017-03-20 17:07:13 +01:00
artecgroup
asrock asrock/e350m1: Switch away from AGESA_LEGACY 2017-03-28 01:58:46 +02:00
asus asus/f2a85-m: Switch away from AGESA_LEGACY 2017-03-28 01:59:42 +02:00
avalue
azza
bachmann
bap AGESA: Introduce AGESA_LEGACY and its counterpart 2017-03-28 01:57:09 +02:00
bcom
bifferos
biostar AGESA: Introduce AGESA_LEGACY and its counterpart 2017-03-28 01:57:09 +02:00
broadcom
compaq
cubietech
digitallogic
dmp
ecs
elmex elmex/pcm205400: Switch away from AGESA_LEGACY 2017-03-28 01:59:11 +02:00
emulation emulation/qemu-i440fx: Use SMBIOS macros 2017-03-21 17:34:51 +01:00
esd
getac
gigabyte southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-21 18:11:39 +01:00
gizmosphere gizmosphere/gizmo: Switch away from AGESA_LEGACY 2017-03-28 01:58:13 +02:00
google vboot: Assume EC_SOFTWARE_SYNC and VIRTUAL_DEV_SWITCH by default 2017-03-28 22:15:46 +02:00
hp AGESA: Introduce AGESA_LEGACY and its counterpart 2017-03-28 01:57:09 +02:00
ibase
iei
intel vboot: Assume EC_SOFTWARE_SYNC and VIRTUAL_DEV_SWITCH by default 2017-03-28 22:15:46 +02:00
iwave
iwill
jetway AGESA: Introduce AGESA_LEGACY and its counterpart 2017-03-28 01:57:09 +02:00
kontron
lanner
lenovo lenovo/g505s: Switch away from AGESA_LEGACY 2017-03-28 07:06:24 +02:00
linutop
lippert AGESA: Introduce AGESA_LEGACY and its counterpart 2017-03-28 01:57:09 +02:00
lowrisc
mitac
msi msi/ms7721: Switch away from AGESA_LEGACY 2017-03-28 07:06:07 +02:00
nec
nokia
nvidia southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-21 18:11:39 +01:00
packardbell
pcengines pcengines/apu1: Switch away from AGESA_LEGACY 2017-03-28 01:58:35 +02:00
purism
rca
roda
samsung vboot: Assume EC_SOFTWARE_SYNC and VIRTUAL_DEV_SWITCH by default 2017-03-28 22:15:46 +02:00
sapphire mainboard: Add Sapphire Pure Platinum H61 2017-03-27 19:54:41 +02:00
siemens mainboards: Don’t select CONSOLE_POST 2017-03-21 18:20:31 +01:00
soyo
sunw southbridge/nvidia/mcp55: Get rid of #include early_smbus.c 2017-03-21 18:11:39 +01:00
supermicro AGESA: Introduce AGESA_LEGACY and its counterpart 2017-03-28 01:57:09 +02:00
technexion mainboard/technexion/tim5690: transition away from device_t 2017-03-23 18:51:41 +01:00
thomson
ti
traverse
tyan AGESA: Introduce AGESA_LEGACY and its counterpart 2017-03-28 01:57:09 +02:00
via
winent
wyse
Kconfig