coreboot-kgpe-d16/src/mainboard
Dan Ehrenberg cb3b0c5a0d storm: Initialize clock, pinmux for NAND if present on board
This patch runs basic NAND initialization code on Proto 0.2 boards which
have been reworked for NAND. It makes sense to do this in coreboot for
two reasons:
- In general, it is reasonable for coreboot to initialize clocks and such
  in preparation for depthcharge's use. Waiting times can be pooled, and
  the initialization itself here is very fast.
- There is a kernel bug which requires that the clock is already initialized
  before the kernel loads NAND support. coreboot is a more sensible place
  to put a workaround than depthcharge because depthcharge initializes
  things lazily, but when booting from USB, depthcharge won't need to look
  at NAND.
This change involves bringing in an additional header file, ebi2.h, from U-Boot.

TEST=Booted a kernel from USB and verified that NAND came up without any
depthcharge hacks, whereas previously a USB-booted kernel would be unable
to access NAND even with the same drivers compiled in due to an initialization
failure.
BUG=chromium:403432
BRANCH=none

Change-Id: I04e99cb39d16848a6ed75fe0229b8f79bdf2e035
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 9be29da5ccad9982f146ae00344f30598ef2371c
Original-Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Original-Change-Id: I1760ecb4e47438311d80e34326e45578c608481c
Original-Reviewed-on: https://chromium-review.googlesource.com/225277
Original-Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/9402
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-10 11:57:48 +02:00
..
a-trend mainboard/*/romstage.c: Fix 'lib/delay.c' inclusion 2015-01-06 01:52:07 +01:00
aaeon mainboard/*/romstage.c: Sanitize system header inclusions 2015-01-06 01:51:42 +01:00
abit mainboard/*/romstage.c: Fix 'lib/delay.c' inclusion 2015-01-06 01:52:07 +01:00
adlink
advansus mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
amd mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
aopen mainboard/*/romstage.c: Sanitize system header inclusions 2015-01-06 01:51:42 +01:00
apple mainboard/cmos: Delete obsolete commented parameters 2015-02-16 09:23:02 +01:00
arima mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
artecgroup mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
asrock AGESA: Use same HeapManager for all BiosCallOuts 2015-03-07 21:22:44 +01:00
asus mainboard/asus/kfsn4-dre: Set maximum installable memory to 64GB 2015-04-02 05:55:57 +02:00
avalue mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
azza mainboard/*/romstage.c: Fix 'lib/delay.c' inclusion 2015-01-06 01:52:07 +01:00
bachmann mainboard/cmos: Delete obsolete commented parameters 2015-02-16 09:23:02 +01:00
bcom mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
bifferos vboot2: add verstage 2015-01-27 01:41:40 +01:00
biostar mainboard/*/romstage.c: Fix 'lib/delay.c' inclusion 2015-01-06 01:52:07 +01:00
broadcom mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
compaq mainboard/*/romstage.c: Fix 'lib/delay.c' inclusion 2015-01-06 01:52:07 +01:00
cubietech New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
digitallogic mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
dmp misc: Drop print_ implementation from non-romcc boards 2015-01-09 06:12:22 +01:00
ecs mainboard/*/romstage.c: Sanitize system header inclusions 2015-01-06 01:51:42 +01:00
emulation New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
getac acpi: Generate valid ACPI processor objects 2015-02-16 21:02:30 +01:00
gigabyte mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
gizmosphere mainboards: fix spd generation 2015-04-01 22:51:41 +02:00
google storm: Initialize clock, pinmux for NAND if present on board 2015-04-10 11:57:48 +02:00
hp mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
ibase global: Refactor get_option usage 2015-04-06 19:40:00 +02:00
ibm mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
iei mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
intel broadwell: Change all SoC headers to <soc/headername.h> system 2015-04-07 18:23:23 +02:00
iwave x86 cache-as-ram: Remove BROKEN_CAR_MIGRATE option 2015-03-10 23:39:41 +01:00
iwill mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
jetway mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
kontron global: Refactor get_option usage 2015-04-06 19:40:00 +02:00
lanner mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
lenovo mainboard/lenovo/x201: correct sata_port_map 2015-04-05 03:28:11 +02:00
linutop
lippert AGESA: Use same HeapManager for all BiosCallOuts 2015-03-07 21:22:44 +01:00
mitac mainboard/*/romstage.c: Fix 'lib/delay.c' inclusion 2015-01-06 01:52:07 +01:00
msi mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
nec mainboard/*/romstage.c: Sanitize system header inclusions 2015-01-06 01:51:42 +01:00
newisys mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
nokia mainboard/*/romstage.c: Fix 'lib/delay.c' inclusion 2015-01-06 01:52:07 +01:00
nvidia mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
packardbell intel/nehalem: rename copypasted smi finalizer function 2015-04-05 03:25:45 +02:00
pcengines mainboards: fix spd generation 2015-04-01 22:51:41 +02:00
rca mainboard/*/romstage.c: Sanitize system header inclusions 2015-01-06 01:51:42 +01:00
roda acpi: Generate valid ACPI processor objects 2015-02-16 21:02:30 +01:00
samsung cbfs: correct types used for accessing files 2015-04-01 22:51:10 +02:00
siemens Update hex values to CBFS binary name types in Makefiles 2015-03-30 21:47:15 +02:00
soyo mainboard/*/romstage.c: Fix 'lib/delay.c' inclusion 2015-01-06 01:52:07 +01:00
sunw mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
supermicro mainboard/supermicro/h8qme_fam10: Fix indentations and spelling 2015-04-01 23:19:13 +02:00
technexion acpi: Generate valid ACPI processor objects 2015-02-16 21:02:30 +01:00
thomson x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
ti New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
traverse mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
tyan mainboards/amdfam10: Copy DIMM information to cbmem after romstage 2015-04-01 22:53:55 +02:00
via acpi: Generate valid ACPI processor objects 2015-02-16 21:02:30 +01:00
winent mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
wyse mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
Kconfig Drop SC520 and related boards 2014-12-16 21:18:43 +01:00