coreboot/src
Dan Ehrenberg 9be29da5cc 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 already be 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. Partner bug 33270
This change involves bringing in an additional header file, ebi2.h, from uBoot.

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

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Change-Id: I1760ecb4e47438311d80e34326e45578c608481c
Reviewed-on: https://chromium-review.googlesource.com/225277
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
2014-10-24 21:17:29 +00:00
..
arch armv7-m: add empty cache routines 2014-10-24 00:17:21 +00:00
console console: add configs to support Marvell bg4cd uart 2014-10-17 03:24:42 +00:00
cpu New mechanism to define SRAM/memory map with automatic bounds checking 2014-10-03 09:09:36 +00:00
device PCIe: Add L1 Sub-State support. 2014-10-10 04:36:50 +00:00
drivers verstage should include the CBFS SPI wrapper, when configured 2014-10-17 03:25:20 +00:00
ec chromeec: Add wakeup delay after SPI /CS assertion 2014-10-01 06:53:27 +00:00
include Arrange CBMEM table entries' IDs alphanumerically 2014-10-24 21:17:24 +00:00
lib gpio: Remove non-ternary tristate mode, make ternaries easier 2014-10-23 01:41:42 +00:00
mainboard storm: Initialize clock, pinmux for NAND if present on board 2014-10-24 21:17:29 +00:00
northbridge Makefile: Preprocess linker scripts and other general improvements 2014-10-02 07:02:10 +00:00
soc storm: Initialize clock, pinmux for NAND if present on board 2014-10-24 21:17:29 +00:00
southbridge Makefile: Preprocess linker scripts and other general improvements 2014-10-02 07:02:10 +00:00
superio superio: ite8772f: Exit extemp busy state 2014-09-27 07:09:25 +00:00
vendorcode chromeos: add another VPD access API 2014-10-24 07:16:54 +00:00
Kconfig Clean up architecture-specific Kconfigs 2014-10-02 07:02:16 +00:00