coreboot-kgpe-d16/src/mainboard
David Hendricks b77431336e exynos5420: get rid of old exynos5420_config_l2_cache()
We set up L2 cache early in romstage now so the old
function is now redundant.

Signed-off-by: David Hendricks <dhendrix@chromium.org>

Old-Change-Id: Icec93810ddd7feb48286d4b600cb2d58af38b7ef
Reviewed-on: https://gerrit.chromium.org/gerrit/65428
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit bb91f1078ea55a7c8bdc19336cef2ec9a5f4511f)

exynos: stack size: Increase the stack size to 16KB.

The lzma decoding function in the RAM stage allocates nearly 16KB on the stack
which is shared between the bootblock, rom stage, and ram stage. The stack had
been much too small and needed to be expanded.

Old-Change-Id: I1b74fff9b54e506320d58956b779b3a102e66868
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/65937
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit 243d8a80f68dd257ecc5b4e19614bc7f0f5d398b)

exynos: gpio: add a bigger delay when reading board strappings

Z-state pins were not reading reliably with a 5us delay, so increase
it to 15us.

This is ported from https://gerrit.chromium.org/gerrit/64338

Signed-off-by: David Hendricks <dhendrix@chromium.org>

Old-Change-Id: Ife6ea2ef5989e1a4c17913278ab972f0fd7f7f35
Reviewed-on: https://gerrit.chromium.org/gerrit/65727
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Tested-by: Ronald G. Minnich <rminnich@chromium.org>
Commit-Queue: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit 76f0f8203f1af3f461745cefcc94e97c422d9084)

exynos5420: enable DMC internal clock gating

lets enable memory controller internal clock gating for ddr3.
with these bits enabled we save some power out of ddr3.

This is ported from https://gerrit.chromium.org/gerrit/#/c/60774

Signed-off-by: David Hendricks <dhendrix@chromium.org>

Old-Change-Id: I2f9b0d78483b3ea7441f54a715c7c1e42eda3f7f
Reviewed-on: https://gerrit.chromium.org/gerrit/65728
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Commit-Queue: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit 022a81c44e655a9f81e974e730c0cecc1f048781)

exynos5420: Correct the 600MHz PMS value

In UM ver0.02, 600MHz clock PMS values differs from what is programed
currently. Though this also results in 600MHz clock, but it is better to
match what UM says. This patch chnage this as per UM

This is ported from https://gerrit.chromium.org/gerrit/#/c/65106/3
(Note: we already used the correct 600MHz value for KPLL)

Signed-off-by: David Hendricks <dhendrix@chromium.org>

Old-Change-Id: I6786815ab33427a23436e6ee37295f6c37dcd3d5
Reviewed-on: https://gerrit.chromium.org/gerrit/65726
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Tested-by: Ronald G. Minnich <rminnich@chromium.org>
Commit-Queue: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit ceabf57ca78449fa6e9cfd212bdf4774706de92f)

Squashed five commits pertaining to  exynos.

Change-Id: I3fd894aed15b8cd161c30904a46dac7e07eb8992
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6425
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
2014-08-05 18:43:42 +02:00
..
a-trend mainboard: Remove #include early_serial.c from w83977tf boards 2014-06-03 09:36:33 +02:00
aaeon superio/smsc/smscsuperio: Make romstage linkable with header 2014-06-03 09:37:57 +02:00
abit mainboard: Remove #include early_serial.c from w83977tf boards 2014-06-03 09:36:33 +02:00
adlink
advansus src/mainboard: Remove trailing whitespace 2014-07-24 12:43:01 +02:00
advantech
amd AGESA boards: Drop get_bus_conf.c files 2014-07-28 17:26:47 +02:00
aopen mainboard,ASL: Trivial - drop trailing blank lines at EOF 2014-07-17 02:18:23 +02:00
arima src/mainboard: Remove trailing whitespace 2014-07-24 12:43:01 +02:00
artecgroup artecgroup/Kconfig, linutop/Kconfig: Add comment to endif 2014-07-30 02:08:50 +02:00
asi
asrock AGESA boards: Drop get_bus_conf.c files 2014-07-28 17:26:47 +02:00
asus AGESA boards: Drop get_bus_conf.c files 2014-07-28 17:26:47 +02:00
avalue src/mainboard: Remove trailing whitespace 2014-07-24 12:43:01 +02:00
axus
azza mainboard: Remove #include early_serial.c from w83977tf boards 2014-06-03 09:36:33 +02:00
bachmann mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
bcom mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
bifferos mainboard: Trivial - drop trailing blank lines at EOF 2014-07-08 13:54:47 +02:00
biostar superio/smsc/smscsuperio: Make romstage linkable with header 2014-06-03 09:37:57 +02:00
broadcom broadcom/blast/devicetree.cb: Remove a trailing whitespace 2014-07-24 12:42:45 +02:00
compaq
cubietech
digitallogic mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
dmp
eaglelion mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
ecs
emulation i82801ix: Allow configuration of SATA mode in CMOS. 2014-07-30 11:48:33 +02:00
getac mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
gigabyte src/mainboard: Remove trailing whitespace 2014-07-24 12:43:01 +02:00
gizmosphere AGESA boards: Drop get_bus_conf.c files 2014-07-28 17:26:47 +02:00
google exynos5420: get rid of old exynos5420_config_l2_cache() 2014-08-05 18:43:42 +02:00
hp AGESA boards: Drop get_bus_conf.c files 2014-07-28 17:26:47 +02:00
ibase mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
ibm mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
iei Kconfig: Fix comments on endif to match the corresponding if 2014-07-30 02:08:07 +02:00
intel sandy/ivybridge: Make UMA size configurable. 2014-08-03 13:44:40 +02:00
iwave src/mainboard: Remove trailing whitespace 2014-07-24 12:43:01 +02:00
iwill src/mainboard: Remove trailing whitespace 2014-07-24 12:43:01 +02:00
jetway Kconfig: Fix comments on endif to match the corresponding if 2014-07-30 02:08:07 +02:00
kontron sandy/ivybridge: Make UMA size configurable. 2014-08-03 13:44:40 +02:00
lanner mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
lenovo lenovo/t520/mainboard.c: Include header `h8.h` for prototype 2014-08-04 21:44:50 +02:00
linutop artecgroup/Kconfig, linutop/Kconfig: Add comment to endif 2014-07-30 02:08:50 +02:00
lippert AGESA boards: Drop get_bus_conf.c files 2014-07-28 17:26:47 +02:00
mitac superio/smsc/smscsuperio: Make romstage linkable with header 2014-06-03 09:37:57 +02:00
msi mainboard/msi/ms7135/devicetree.cb: Remove trailing whitespace 2014-07-24 12:42:59 +02:00
nec superio/smsc/smscsuperio: Make romstage linkable with header 2014-06-03 09:37:57 +02:00
newisys mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
nokia superio/smsc/smscsuperio: Make romstage linkable with header 2014-06-03 09:37:57 +02:00
nvidia mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
packardbell nehalem: Make UMA size configurable in CMOS. 2014-08-03 15:47:00 +02:00
pcengines mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
rca superio/smsc/smscsuperio: Make romstage linkable with header 2014-06-03 09:37:57 +02:00
roda i82801ix: Allow configuration of SATA mode in CMOS. 2014-07-30 11:48:33 +02:00
samsung sandy/ivybridge: Make UMA size configurable. 2014-08-03 13:44:40 +02:00
siemens siemens/sitemp_g1p1: Remove a trailing whitespace 2014-07-24 12:42:48 +02:00
soyo
sunw mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
supermicro AGESA boards: Drop get_bus_conf.c files 2014-07-28 17:26:47 +02:00
technexion mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
technologic mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
televideo
thomson thomson/ip1000/devicetree.cb: Remove trailing whitespace 2014-07-24 12:42:54 +02:00
ti
traverse mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
tyan AGESA boards: Drop get_bus_conf.c files 2014-07-28 17:26:47 +02:00
via Kconfig: Fix comments on endif to match the corresponding if 2014-07-30 02:08:07 +02:00
winent mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
wyse mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
Kconfig