soc/cavium: Integrate BDK files into coreboot

* Make it compile.
* Fix whitespace errors.
* Fix printf formats.
* Add missing headers includes
* Guard headers with ifdefs

Compile DRAM init code in romstage.
Compile QLM, PCIe, RNG, PHY, GPIO, MDIO init code in ramstage.

Change-Id: I0a93219a14bfb6ebe41103a825d5032b11e7f2c6
Signed-off-by: David Hendricks <dhendricks@fb.com>
Reviewed-on: https://review.coreboot.org/25089
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
David Hendricks
2018-03-09 14:30:38 -08:00
committed by Philipp Deppenwiese
parent d837e66007
commit 7d48ac5c7d
153 changed files with 166930 additions and 9914 deletions

View File

@@ -2,3 +2,4 @@ subdirs-y += amd
subdirs-y += google
subdirs-y += intel
subdirs-y += siemens
subdirs-y += cavium