coreboot-kgpe-d16/src/mainboard
Shunqian Zheng 347c83cfc9 rockchip: rk3399: add spi clock driver
This patch implements spi clock driver and initialize
SPI flash rom for the baseboard gru.

There are 6 on-chip SPI controllers inside RK3399. For
SPI3, it's source clk from ppll, while the others from gpll.

Please refer to CRU session of TRM for detail.

BRANCH=none
BUG=chrome-os-partner:51537
TEST=emerge-kevin coreboot

Change-Id: I597ae2cc8ba1bfaefdfbf6116027d009daa8e049
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 4c6a9b0aedd427727ed4f4a821c5c54fb3a174b9
Original-Change-Id: I68ad859bf4fc5dacaaee5a2cd33418c729cf39b8
Original-Signed-off-by: huang lin <hl@rock-chips.com>
Original-Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/338946
Original-Commit-Ready: Vadim Bendebury <vbendeb@chromium.org>
Original-Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://review.coreboot.org/14710
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2016-05-09 08:42:43 +02:00
..
a-trend northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
aaeon
abit northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
adlink
advansus
amd mainboard/amd: add license headers 2016-04-21 00:07:05 +02:00
aopen
apple mainboard/apple: add license headers 2016-04-21 00:07:45 +02:00
artecgroup
asrock
asus mainboard/kgpe-d16|kcma-d8: Update memory test to include second PRNG stage 2016-04-26 16:54:47 +02:00
avalue
azza northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
bachmann
bap
bcom cpu/via/c7: Don't manually include udelay_io.c 2016-03-10 16:56:23 +01:00
bifferos rdc/r8610: Move to src/soc 2016-05-05 20:08:58 +02:00
biostar northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
broadcom
compaq northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
cubietech
digitallogic
dmp dmp/vortex86ex: Merge northbridge and southbridge into soc 2016-05-05 20:06:33 +02:00
ecs northbridge/intel/i82810: Unify UDELAY selection 2016-03-13 00:46:55 +01:00
emulation mb/emulation/*/board_info.txt: Update QEMU URL 2016-05-01 16:25:01 +02:00
esd
getac southbridge/intel/ibexpeak: Use common gpio.c 2016-02-23 00:28:26 +01:00
gigabyte nb/intel/sandybridge: increase MMCONF_BASE_ADDRESS 2016-03-21 23:13:13 +01:00
gizmosphere
google rockchip: rk3399: add spi clock driver 2016-05-09 08:42:43 +02:00
hp northbridge/intel/i82810: Unify UDELAY selection 2016-03-13 00:46:55 +01:00
ibase
iei
intel soc/intel/skylake: Enable another VR mailbox command for certain boards 2016-05-09 08:28:57 +02:00
iwave
iwill
jetway kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
kontron nb/intel/sandybridge: increase MMCONF_BASE_ADDRESS 2016-03-21 23:13:13 +01:00
lanner northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
lenovo mb/lenovo/x220: disable ME 2016-04-20 00:26:06 +02:00
linutop
lippert
mitac northbridge/intel/i82810: Unify UDELAY selection 2016-03-13 00:46:55 +01:00
msi northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
nec northbridge/intel/i82810: Unify UDELAY selection 2016-03-13 00:46:55 +01:00
nokia northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
nvidia
packardbell kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
pcengines pcengines/apu1: Enable USB overcurrent detection. 2016-03-15 21:38:20 +01:00
purism kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
rca northbridge/intel/i82830: Unify UDELAY selection 2016-03-12 22:03:42 +01:00
roda roda/rk9: Remove #include early_serial.c from romstage 2016-03-08 13:41:03 +01:00
samsung mb/samsung/lumpy/romstage: read SPD data of removable DIMM 2016-04-10 18:12:09 +02:00
siemens siemens/mc_tcu3: Fix spelling of *set up* 2016-05-09 05:30:48 +02:00
soyo northbridge/intel/i440bx: Unify UDELAY selection 2016-03-10 16:55:35 +01:00
sunw
supermicro AMD CIMX: Drop unused code 2016-04-20 15:31:18 +02:00
technexion
thomson northbridge/intel/i82830: Unify UDELAY selection 2016-03-12 22:03:42 +01:00
ti beaglebone: Add code to set the value of the LEDs 2016-04-10 18:21:58 +02:00
traverse
tyan AMD CIMX: Drop unused code 2016-04-20 15:31:18 +02:00
via cpu/via/c7: Don't manually include udelay_io.c 2016-03-10 16:56:23 +01:00
winent
wyse
Kconfig