Commit graph

23804 commits

Author SHA1 Message Date
Andre Heider
049712c285 defconfig: enlarge rom, enable mtc
Change-Id: I68bd115cc1d76fdf603ff5ef1bf1bf5efd6983b9
2018-04-24 23:41:18 +09:00
Andre Heider
f426d46a0e fix compilation
Change-Id: I95c72aba7ec2822531ac57aefc7990b49059c577
2018-02-21 16:14:12 +01:00
Pierre Bourdon
3ce822c6b4 Make MTC work: don't trap on FPU instructions, don't train @ boot clock 2018-02-21 16:14:12 +01:00
Pierre Bourdon
4c4f63afab Fix compilation warnings/errors 2018-02-21 16:14:12 +01:00
SwtcR
1684df7e58 tegra210: mtc: support external tables (WIP) 2018-02-21 16:14:12 +01:00
Andre Heider
b581707d8e make coreboot commit hook not yell about whitespace errors
Change-Id: Ib010b559459c81860af34916e053a60141d96739
2018-02-21 16:14:12 +01:00
Andre Heider
6eb638f749 remove smaug board build id leftovers 2018-02-21 16:14:12 +01:00
Andre Heider
1a33c5d41c reenable jtag 2018-02-21 16:14:12 +01:00
Andre Heider
46881fc9d0 Revert "meh"
This reverts commit cd74563cebb85a26a6fd20ac6807af2a759822b8.
2018-02-21 16:14:12 +01:00
SwtcR
f9c2cd4b2a Fix SDRAM carveout lockbits/config 2018-02-21 16:14:12 +01:00
Andre Heider
d549b49ed2 dial back debug spew 2018-02-21 16:14:12 +01:00
Andre Heider
add2544b08 meh 2018-02-21 16:14:11 +01:00
SwtcR
ac1e4520ee Use the right pins for LCD power kthx 2018-02-21 16:14:11 +01:00
Andre Heider
0f208b6ddd Revert "go back to atf v1.4 + my patches" (update your u-boot for this)
This reverts commit 72fc5b5ea7ed307e32c4fa1215bf45e23a78c616.
2018-02-21 16:14:11 +01:00
Andre Heider
9c7f3d3726 move the rom copy so it ends at 0xcfffffff 2018-02-21 16:14:11 +01:00
Andre Heider
a99840ba00 initial steps for dsi bringup
incomplete, but it lets the kernel bring it up... sometimes
2018-02-21 16:14:11 +01:00
Andre Heider
b867cd4a72 clean up header guards 2018-02-21 16:14:11 +01:00
Andre Heider
f7d95d5568 clean up gpios 2018-02-21 16:14:11 +01:00
Andre Heider
eee8fb3899 reenable mbist_workaround() 2018-02-21 16:14:11 +01:00
Andre Heider
00b1fe8ec7 reenable $stuff 2018-02-21 16:14:11 +01:00
Andre Heider
4c7c17bf27 remove chrome EC leftovers 2018-02-21 16:14:11 +01:00
Andre Heider
2122b66603 cleanup 2018-02-21 16:14:11 +01:00
Andre Heider
73c39a4ae5 go back to atf v1.4 + my patches
fixes linux psci detection
2018-02-21 16:14:10 +01:00
Andre Heider
9bb8142c59 reset power i2c bus
fixes warmboot fail
2018-02-21 16:14:10 +01:00
Andre Heider
ee914ba760 clean up 2018-02-21 16:14:10 +01:00
Shawn Hoffman
a4222294ca add sdram config 4 2018-02-21 16:14:10 +01:00
Shawn Hoffman
4dab24a8f8 explicitly reference coreboot.org for unmodified submodules 2018-02-21 16:14:10 +01:00
Andre Heider
f1d0f92752 update atf module to point to our repo 2018-02-21 16:14:10 +01:00
Andre Heider
94b44a5d8c add defconfig 2018-02-21 16:14:10 +01:00
Andre Heider
cb5251e663 add atf patches 2018-02-21 16:13:54 +01:00
Andre Heider
8c7417dca8 clean up ramstage 2018-02-21 16:13:54 +01:00
Andre Heider
3ffecc7899 clean up that bct crap and add sdram configs 2018-02-21 16:13:54 +01:00
Andre Heider
0814ed7f5c custom cbfs
ghetto rigged cbfs over usb using rom pointers.

bootblock uses this exclusively.
romstage copies the whole rom into sdram once that has been initialized.
ramstage uses sdram backed cbfs exclusively (since it runs on ccplex).
2018-02-21 16:13:54 +01:00
Andre Heider
7285eee18b rework memlayout 2018-02-21 16:13:54 +01:00
Andre Heider
bd9843f6dc adapt pmic settings 2018-02-21 16:13:54 +01:00
Andre Heider
82641cf27e disable $stuff 2018-02-21 16:13:54 +01:00
Andre Heider
d1af203f7e reset/die now enter rcm 2018-02-21 16:13:54 +01:00
Andre Heider
36cc09dc28 rm chrome crap 2018-02-21 16:13:54 +01:00
Andre Heider
c4ddce637f comment display stuff 2018-02-21 16:13:53 +01:00
Andre Heider
3949eb0aa0 get rid of unnecessary options 2018-02-21 16:13:53 +01:00
Andre Heider
d68478d746 disable bct wrap 2018-02-21 16:13:53 +01:00
Andre Heider
535b549047 tegra210: add a config for wrapping the bootblock as bct
default to yes, but let mainboards overwrite it
2018-02-21 16:13:53 +01:00
Andre Heider
15e9ed37e0 infra 2018-02-21 16:13:53 +01:00
Andre Heider
296aaef15f cp -a google/smaug nintendo/switch 2018-02-21 16:13:53 +01:00
Arthur Heymans
950332b6e4 driver/spi: Warn when probed SF size differs from CONFIG_ROM_SIZE
Some assumptions are made with respect to CONFIG_ROM_SIZE being the
actual size of the boot medium, e.g. when automatically creating an
fmap with and RW_MRC_CACHE region. With this patch the user is
warned when this is detected.

Change-Id: Ib5d6cc61ea29214d338d4c52ff799d6620a9cac7
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/23695
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2018-02-20 23:21:20 +00:00
Jonathan Neuschäfer
7be74dbb38 nb/x4x/raminit_ddr2: Refactor clock configuration slightly
The result is shorter and (IMHO) more readable code.

Change-Id: Ic51c05d7aa791250d775bd7a640213065d4caba0
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/23710
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2018-02-20 23:20:34 +00:00
Gaggery Tsai
cb304c1d85 mb/google/poopy/variants/nami: Add Pmax setting
This patch adds the Pmax setting in device tree. The Pmax is from
MAX(PL4_sku1, PL4_sku2, ..) + ROPmax. Given ROPmax is 30W and
the maximum PL4 is from U42, hence the Pmax = 71W + 30W = 101W.

BUG=b:72138778
BRANCH=None
TEST=USE=fw_debug emerge-nami chromeos-mrc coreboot chromeos-bootimage
         & ensure the Pmax value is passed to FSP-S.

Change-Id: Ief6a134dc5b6bd2b8e07b4a44450e99ff26402d9
Signed-off-by: Gaggery Tsai <gaggery.tsai@intel.com>
Reviewed-on: https://review.coreboot.org/23640
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2018-02-20 23:18:50 +00:00
Richard Spiegel
9b3da9fc57 mb/google/kahlee/OemCustomize.c: Disable bank interleave
AmdInitPost returns AGESA_WARNING. This is because AGESA by default
enables bank interleaving, while the HW does not meet the requirements
for it. Disable bank interleaving, thus clearing AGESA_WARNING.

BUG=b:73118857
TEST= Build and run kahlee. Search for "agesawrapper_amdinitpost()
returned AGESA_SUCCESS".

Change-Id: Ice9270f9b10051dbb622344919223cf5439f5d7b
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/23763
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-02-20 23:18:10 +00:00
Jonathan Neuschäfer
5268b76801 src/soc: Fix various typos
These typos were found through manual review and grep.

Change-Id: I6693a9e3b51256b91342881a7116587f68ee96e6
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/23706
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2018-02-20 23:17:39 +00:00
Jonathan Neuschäfer
e33f120cb8 payloads/external/GRUB2: Build only for supported architectures
GRUB2 doesn't support all architectures that coreboot supports.
Furthermore, coreboot's build script for GRUB2 doesn't support all of
these architectures.

Let the user select GRUB2 only when building for x86 and ARM, which are
known to work.

Change-Id: I5ef2020b2acb4cd008a57a2372734674f8b84a36
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/23171
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2018-02-20 23:16:05 +00:00