coreboot/src/mainboard
You-Cheng Syu 44e9c37f35 mediatek/mt8183: Move some initialization into mt8183_early_init
MT8183 only allows booting from eMMC, so we have to do eMMC emulation
from an external source, for example EC, which makes the size of
bootblock very important.

This CL adds a new function mt8183_early_init, which includes all
initializations that should be done in early stages. All mainboards
using MT8183 should manually call it in either bootblock or verstage.

BRANCH=none
BUG=b:120588396
TEST=manually boot into kernel

Change-Id: I35d7ab875395da913b967ae1f7b72359be3e744a
Signed-off-by: You-Cheng Syu <youcheng@google.com>
Reviewed-on: https://review.coreboot.org/c/31024
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-01-24 13:53:16 +00:00
..
adi cpu/intel/model_406dx: Remove the notion of CPU sockets 2019-01-24 13:40:39 +00:00
adlink
advansus amdfam10 boards: Simplify early resourcemap 2019-01-10 13:40:40 +00:00
amd AGESA fam16kb boards: Clean up devicetree 2019-01-16 13:20:24 +00:00
aopen aopen/dxplplusu: Switch to C_ENVIRONMENT_BOOTBLOCK 2019-01-13 08:38:13 +00:00
apple cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
asrock cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
asus cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
avalue amdfam10 boards: Simplify early resourcemap 2019-01-10 13:40:40 +00:00
bap AGESA fam16kb boards: Clean up devicetree 2019-01-16 13:20:24 +00:00
biostar AGESA fam16kb boards: Clean up devicetree 2019-01-16 13:20:24 +00:00
cavium src: Get rid of duplicated includes 2018-11-16 09:50:03 +00:00
compulab cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
cubietech arch/x86: Drop spurious arch/stages.h includes 2018-12-28 06:47:31 +00:00
elmex AGESA fam14 boards: Clean up devicetree 2019-01-16 13:19:49 +00:00
emulation console: Change BOOTBLOCK_CONSOLE default to y 2019-01-14 12:13:55 +00:00
esd mainboard: Remove useless include <device/pci_ids.h> 2018-12-19 05:23:18 +00:00
facebook mb: Set coreboot as DSDT's manufacturer model ID 2018-11-23 11:00:40 +00:00
foxconn nb/intel/pineview: Use parallel MP init 2019-01-23 14:49:57 +00:00
getac nb/intel/i945: Use parallel MP init 2019-01-23 14:46:36 +00:00
gigabyte cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
gizmosphere AGESA fam16kb boards: Clean up devicetree 2019-01-16 13:20:24 +00:00
google mediatek/mt8183: Move some initialization into mt8183_early_init 2019-01-24 13:53:16 +00:00
hp cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
ibase nb/intel/i945: Use parallel MP init 2019-01-23 14:46:36 +00:00
iei {mb,nb,soc/fsp_baytrail}: Get rid of dump_mem() 2019-01-13 16:24:31 +00:00
intel Kconfig: Remove symbol names for choices 2019-01-24 13:41:31 +00:00
jetway AGESA fam14 boards: Clean up devicetree 2019-01-16 13:19:49 +00:00
kontron cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
lenovo cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
lippert AGESA fam14 boards: Clean up devicetree 2019-01-16 13:19:49 +00:00
msi AGESA fam15tn boards: Clean up devicetree 2019-01-16 13:20:05 +00:00
ocp mb/ocp/wedge100s: Add SuperIO support 2019-01-24 09:10:52 +00:00
opencellular mb/opencellular/elgon: Enable write protection 2018-12-04 07:11:56 +00:00
packardbell device: Use pcidev_on_root() 2019-01-06 01:17:54 +00:00
pcengines src/mainboard/pcengines/apu1: Enable LPC TPM 2019-01-16 13:21:43 +00:00
purism mb/purism/librem_skl: add 13v3 variant 2019-01-23 14:42:17 +00:00
roda cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
samsung cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
sapphire cpu/intel/model_206ax: Remove the notion of sockets 2019-01-24 13:39:19 +00:00
scaleway mainboard: Remove useless include <device/pci_ids.h> 2018-12-19 05:23:18 +00:00
siemens siemens/mc_apl4: Change UART_FOR_CONSOLE index 2019-01-16 07:13:39 +00:00
sifive mb/sifive/hifive-unleashed: remove the definition of MAX_CPUS 2018-12-19 05:44:44 +00:00
supermicro {mb,nb,soc/fsp_baytrail}: Get rid of dump_mem() 2019-01-13 16:24:31 +00:00
ti mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
tyan amdfam10 boards: Simplify early resourcemap 2019-01-10 13:40:40 +00:00
via mainboard: Remove useless include <device/pci_ids.h> 2018-12-19 05:23:18 +00:00
Kconfig Kconfig: Unify power-after-failure options 2019-01-06 15:54:19 +00:00