Commit Graph

100 Commits

Author SHA1 Message Date
Richard Spiegel
a5efee5fde Kahlee/Grunt: Move remaining stoneyridge blobs
Rename northbridge/amd/00670F00/license.txt to
northbridge/amd/00670F00/vbios_license.txt (to avoid conflict with
another file license.txt already present in soc/amd/stoneyridge),
then move northbridge/amd/00670F00/* into soc/amd/stoneyridge.

BUG=b:70785272
TEST=none, just a move.

Change-Id: I1481814e249d5daab4d6ed6c0964bf575b426bf5
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
2018-01-04 16:24:19 -07:00
Richard Spiegel
8eb92ba947 3rdparty/blobs/soc/amd: Create stoneyridge
The organization of 3rdparty/blobs/southbridge/amd assumes supported
features by codename.  This will shortly cause problems as we deviate
from the normal released functionality.

Create new folder soc/amd/stoneyridge and move stoneyridge contents from
southbridge/amd/kern folder into this new folder. This will permit later
Stoneyridge specific changes to be separated from Carrizo.

BUG=b:69613465
TEST=None.

Change-Id: I1b76a6e6c4127ad13c608f392d619109d877914c
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
2017-12-18 09:55:41 -07:00
Marc Jones
d2e558a81f amd/pi/00670F00: Update AGESA.bin
This update consists of two changes.

  Stoney: Enable Boottime Calibration

  The BTC feature is required for the SMU to correctly support
  AVFS.  Without it, the SMU may send unsupportable VIDs to the
  regulator and cause the system to crash.

  Stoney: Remove SERIRQ setup

  Remove the SERIRQ setup in AGESA. It is platform specific and there
  isn't an AGESA API for changing the setting. In addition to not having
  an override, it was being set in amd_init_post, prior to memory setup,
  so prior to any possible interrupt handler. Finally it was setting
  quiet mode, which isn't supported by some LPC devices that can't
  recover, once switched to continiuos mode.

  A corresponding change to hudson lpc setup code in coreboot is required.

Change-Id: I66bc60957af88ce4604de0b3727ef77891beadfb
Signed-off-by: Marc Jones <marcj303@gmail.com>
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2017-06-21 12:26:28 -06:00
Marshall Dawson
b5e64d7cf4 pi/00670F00: Add SMU firmware for Stoney fanless parts
Add additional firmware blobs from the PI package to be used with
APU that are fused as "fanless" OPNs.

Change-Id: I4bc965e6c66198ee3051a77d7c6f1ef0dc9433bc
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
(cherry picked from commit cd1cde22ed50527c323f0b908b3541020adfa4ad)
2017-03-25 21:43:42 -06:00
Marshall Dawson
649183cbaa pi/00670F00: Correct license file
Adjust the wording from a stale license agreement to a new and
improved version from AMD.

Change-Id: Id713a932ff0b253142315fd66f5f039f696c6ddc
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2017-03-25 21:43:08 -06:00
Marshall Dawson
652bbed7d5 pi/00670F00: Add FT4 AGESA.bin for Stoney platform
Add the FT4 version of the Stoney binary PI which corresponds to
the same revision level as the FP4 one.  This was built from
commit c14ef54a.

Change-Id: Ifb41e03ebf64b22ef0de6a9d12943cc9df9ee1f8
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
(cherry picked from commit 6b23fa8d79b0bcfea94bc6b723aafa36bc26e477)
2017-03-25 17:39:35 -06:00
Marshall Dawson
8090bdd598 pi/00670F00: Add AGESA.bin for Stoney platform
Add a custom build to support Family 15h Models 70h-7Fh.

Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
(cherry pick from e6e15473efa0a8870306745cac334b335778bc64)

Change-Id: Icf20543a3625fde83f78adef47a5d0ef0244515a
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2016-12-15 00:03:45 +01:00
Marshall Dawson
cdb622a6ef pi/kern: Add blobs for Stoney platform
Copy PSP blobs, keys, etc. from the PI 1.3.0.3 package.  This
supports Family 15h Models 70h-7Fh.

Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
(cherry pick from commit e25a97d6d97afddcab356a506913d2549c8e9b34)

Change-Id: I735e155a7d08dd3630a0f4707d87a024fb094f56
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2016-12-14 23:40:36 +01:00
Marshall Dawson
a0ca8b99ec southbridge/amd: Fix license files
Replace non-ASCII characters with good values.  These had consisted
of formatted single and double quotes.  No content of the license
agreement is modified.

Change-Id: I73acf1b7e3ab8e12b7bf70e73b0ef09d17ff9323
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2016-12-14 10:12:22 -07:00
Marshall Dawson
e5ef0ee47e pi/amd: Fix AGESA.bin license files
Replace non-ASCII characters with good values.  These had consisted
of formatted single and double quotes.  No content of the license
agreement is modified.

This patch does not include the file for Stoney Ridge (00670F00) as
that one contains new language from AMD.  The three files here are
identical and have been copied over time.

Change-Id: I60b81bac0b5f3f8836871cc5c17e425aabc923e0
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2016-12-14 10:10:32 -07:00
Marshall Dawson
6d299eef80 northbridge/amd: Fix vbios license files
Replace non-ASCII characters with good values.  These had consisted
of formatted single and double quotes.  No content of the license
agreement is modified.

Change-Id: Iba33c2b2aa77e6dd311c2f390107c1494d678cac
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2016-12-14 10:01:18 -07:00
Marshall Dawson
20568e2045 pi/00670f00: Add Stoney Ridge VBIOS
Copy the generic binary image 006 and release notes from
the PI 1.3.0.3 package.

Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
(cherry picked from commit 4e6801c9a75d2b0303c68b91fe6205fb28f761a5)

Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Change-Id: Id8d8212ff4ff6a768cbf2607189e7fc391ea737b
2016-12-14 09:17:40 -07:00
Martin Roth
b0295281df nvidia/tegra132: Remove unused blobs
The tegra 132 SOC support was removed from the coreboot codebase in
commit 9ba06995 - soc/nvidia/tegra132: remove tegra132 support

Remove the blobs since the chip is no longer used.

Change-Id: Ic4ea493b2b5bb4e337ed617c647ad330b6b254ac
Signed-off-by: Martin Roth <martinroth@chromium.org>
2016-09-05 09:26:03 -06:00
Philipp Deppenwiese
8ad2d63856 mainboard/pcengines/apu2: Add AGESA binary.
Any later AGESA binaries does not work for this board because of
commit 95b80508d9 in the blobs repo.

Change-Id: I9eaf66d6c6a3af4cb9dce7d43152afe2111720d4
Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org>
2016-07-05 17:04:34 +02:00
Patrick Georgi
cca0337ea0 qualcomm/ipq40xx: add more dummy files
Again, these aren't the real thing.

Change-Id: I0b51e7ee1a6f4e9b153c588ac9ef030226bba357
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
2016-05-09 16:34:47 +02:00
Patrick Georgi
56fdd6dc12 qualcomm/ipq40xx: Add placeholders
These are dummy files. To build working images, you'll need to fetch the
actual binaries from an existing image (or convince Qualcomm to give you
the binaries).

Change-Id: I89115b91bbe4c998c9b9854e6178e9788009b3a4
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
2016-05-09 14:15:44 +02:00
Stefan Reinauer
ad812339fb samsung/exynos5250: Add update-bl1.sh
Moved from a lonely directory in the coreboot source tree

Change-Id: I5312202d3068055e0297ddf5a9fa0672e9904c5a
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-12-14 17:43:14 -08:00
Stefan Reinauer
e0b5183cac Revert "Remove microcode stored in C-array format"
This reverts commit 832bc6f1f8.

For compliance with our binary policy (*), and to be able to run the
scripts producing the blobs without having to pull magic files from
magic places, put these "source" files back in.

(*) 2. Appropriate license (redistributable)
   a. The binary must be accompanied by a distribution license. [..]


Change-Id: I99792dde209809ed8c90f5081593e38dc3b471b3
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-11-27 08:11:03 +01:00
Stefan Reinauer
0b17d9017d binary policy: cosmetic cleanup
- Add a title for 3.
 - Drop a. if there's no b.

Change-Id: I672a685e1d7a5dff7f0723da6a8a935e9f9ed469
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-11-13 21:35:35 +01:00
WANG Siyuan
b0eeddd4f5 AMD Merlin Falcon: Update to CarrizoPI 1.1.0.1 (Binary PI 1.5)
Update AGESA.bin, PSP and VBIOS to CarrizoPI Version 1.1.0.1
Tested on Bettong rev C(DDR3) and rev F(DDR4). Both of the
boards can boot to Windows 10. PCIe slots, USB and NIC work.

Change-Id: Ie86bb0cf2e3cae7a9b446dfa93145ab2fce36c4f
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-11-12 22:14:39 +01:00
Marc Jones
7c2233cef0 blobs: Add Binary Policy document
While coreboot attempts to be binary free, some coreboot mainboards
require vendor binaries to support silicon and features. It is an
unfortunate fact, as silicon has become more complicated, vendors are
using more binaries to support their silicon.

This policy sets standards and expectations for vendor binaries.

Change-Id: I284b713975ac9fc4d8a19f26d20e2223f4250cbd
Signed-off-by: Marc Jones <marcj303@gmail.com>
2015-10-27 12:53:56 -06:00
Timothy Pearson
aab093f082 amd/model_10xxx: Upload latest AMD microcode files and remove unified blob
Change-Id: I80bdf5310801484f3ebf5b2343a69e780048bd0d
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
2015-10-12 12:04:42 -05:00
Alexandru Gagniuc
832bc6f1f8 Remove microcode stored in C-array format
It's all binary now.

Change-Id: I1dd897624b498e3707ac65f3cdcef7d857a1e6cf
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2015-10-03 11:34:12 -07:00
Alexandru Gagniuc
230923c2b0 soc/intel: Store microcode in binary format
Change-Id: I0020f3dc90e22d0ce443f7d4888272ac805ac84f
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2015-09-24 08:27:59 -07:00
Alexandru Gagniuc
df1f21931c cpu/amd/model_fxx: Store microcode in binary format
Change-Id: I1f7a67fd5801d96a70bf382cc8d76f3e121ea081
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2015-09-09 23:47:01 -07:00
Alexandru Gagniuc
f02eaa688d cpu/amd/model_10xxx: Store microcode in binary format
Change-Id: I0e8d675fcbd8fa281753fcc82543ec938d36dde7
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2015-09-09 23:43:50 -07:00
Alexandru Gagniuc
0d477008c2 cpu/via/nano: Store microcode in binary format
Change-Id: I7067e85d63f22de38d6f23430dd991698b15e763
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2015-09-09 23:37:20 -07:00
WANG Siyuan
9b53cc221f AMD Steppe Eagle: Update to MullinsPI 1.0.0.A (Binary PI 1.1)
Update AGESA.bin and PSP to MullinsPI 1.0.0.A.
This is tested on Olive Hill Plus. The board can boot to Windows 7.
PCIe slot, USB and NIC work.

Change-Id: I67817dc59f9984019ac66ce7a9ab1a2f34e0be9e
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-08-25 08:58:31 +08:00
WANG Siyuan
f37338fa3b AMD Merlin Falcon: Update to CarrizoPI 1.1.0.0 (Binary PI 1.4)
Update AGESA.bin, PSP and VBIOS to CarrizoPI Version 1.1.0.0
Tested on Bettong rev C(DDR3) and rev F(DDR4). Both of the
boards can boot to Windows 8.1. PCIe slots, USB and NIC work.

Change-Id: Icb7a4f0724d9e18b22e8ffee13d19d20ddeb9dcb
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-08-12 11:51:15 +02:00
Marc Jones
5a7889fdf8 pi: Move AMD sources from blobs to vendorcode
The AMD AGESA binaryPI sources were incorrectly committed to
3rdparty/blobs. Move them from blobs to vendorcode. Commit this
after the files are committed to coreboot vendorcode/.

Change-Id: If583c15ba4f7d63df264e09573c2605824836da0
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
2015-08-07 03:04:44 +02:00
Stefan Reinauer
b4ade40964 via/nano: Move CPU microcode to 3rdparty/blobs
Change-Id: I71515a28dc6d330012f3e46312782e27db8e1c58
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-08-06 15:59:09 -07:00
Stefan Reinauer
8921cc4f73 amd/model_fxx: Move CPU microcode to 3rdparty/blobs
Change-Id: Ic3164684d7aaf23d5db55218dc4a6d1c6131d5ea
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-08-06 15:58:40 -07:00
Stefan Reinauer
1099605fb9 amd/model_10xxx: Move CPU microcode to 3rdparty/blobs
Change-Id: Ia8a441eef1cb67a367c6c8480d8acf7266e8c8f1
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-08-06 15:48:12 -07:00
Stefan Reinauer
5f5604ef6a Convert microcode to binary
Intel's microcode is a binary that has been converted to
an array of 32bit values. Instead of converting that back
to binary on every compile, just store the microcode as
a binary in the first place, and add that binary to CBFS.

This patch adds a script that takes all current Intel microcode.h
files and produces microcode.bin files. In addition, this patch
also adds all the microcode.bin files produced by the script.

Change-Id: Ia2712b50b49685f3eb781c0c68168ea1914350f8
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-08-06 14:00:39 -07:00
WANG Siyuan
d9b8d5b209 AMD KaveriPI: add PlatformMemoryConfiguration.h
This file is needed for memory configuration and was forgotten in
Change I5e4b476 "northbridge/amd/pi: Add support for memory settings".
So add it now.

Change-Id: I0fb4cc8a2ba66e4d6f8cfc8ee00966ac6b94cade
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-07-22 15:41:22 +02:00
Stefan Reinauer
0d424709dc gcc-intrin.h: Drop __attribute__((optimize("Os")))
This attribute is not supported by clang, and will cause
errors during compilation.

Change-Id: Ia4bb030e8aae8eea7c271d912a6bfec167f54410
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-07-07 18:10:17 +02:00
WANG Siyuan
05a430c283 AMD Merlin Falcon: update binary PI to v1.3
1. Add NB PState support
2. Add FchSetSpi
3. Skip CF9 warm reset in FchInitResetHwAcpiP

Change-Id: I0689bb835c29b83d947f609eaebfbe71eb54b3dd
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-07-07 18:07:19 +02:00
Stefan Reinauer
61d663e39b blobs: Fix assembler code to allow dropping -Wa,--divide
Fix up all the code that is using / to use >> for divisions instead.

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>

Change-Id: If53096e5b840f39b4c499254207d05aacdf32acd
2015-07-07 17:09:28 +02:00
WANG Siyuan
a6c34a6dfd AMD Steppe Eagle: add PlatformMemoryConfiguration.h
Change-Id: Ib771dc6b637351cc2680fa63e0fa9f694eb96736
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-07-07 08:13:12 +02:00
WANG Siyuan
95b80508d9 AMD FT3b binary PI: Fix Windows 7 graphics driver hang
Windows 7 can't boot after the graphics driver is installed.
The system hangs with a black screen screen as the OS loads.
The problem was PSP initialization in AGESA PI.
Two functions are added:
PspMboxBiosCmdDramInfo and PspMboxBiosCmdExitBootServices
This is the only change in this AGESA PI release.

Tested on Olive Hill plus with graphics driver version 14.12.

Change-Id: I7c413cd6506318d5a8fda5f1ab52a7168151affa
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-07-02 04:56:08 +02:00
WANG Siyuan
c7c816e67b AMD Kern: remove PspSecureOs_prod_CZ.sbin
PspSecureOs_prod_CZ.sbin is useless due to
commit db08765 "AMD Kern: Fix path of PspSecureOs BLOB"

Change-Id: I58f3974979ed07beb65a20f7132607298991d508
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-06-25 22:23:51 +08:00
WANG Siyuan
34b0926506 AMD Merlin Falcon: remove build warnings
1. Add const in PCIe_COMPLEX_DESCRIPTOR and EarlyOemGpioTable
The warnings are assignment discards 'const' qualifier in
src/mainboard/amd/bettong/BiosCallOuts.c and
src/mainboard/amd/bettong/PlatformGnbPcie.c
2. Change AltImageBasePtr and ImageBasePtr to VOID *
AltImageBasePtr and ImageBasePtr are two fields in AMD_CONFIG_PARAMS.
In orininal AGESA these two fiels are UINT32. This will result build
warning in agesawrapper_amdinitpost:
AmdParamStruct.StdHeader.AltImageBasePtr = NULL;
So change these two according to Steppe Eagle and Bald Eagle.

I also change the header files in binary PI code and rebuild AGESA.bin.
The new AGESA.bin is the same as befor, so I didn't upload AGESA.bin.

Change-Id: I59cf8b1bc0dc15c001f7b3ba0a5a945374663908
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-06-18 12:27:41 +08:00
WANG Siyuan
e581a5c1e0 AMD pi: replace LocateModule with agesawrapper_locate_module
Change pi/amd/00660F01/binaryPI/AGESA.c according to
commit a710941e4: amd/pi: Move AGESA cbfs access function to coreboot

Change-Id: I8c00b009a4939862a1ada912aaf850de81c133c6
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-06-15 14:28:05 +08:00
WANG Siyuan
c5ddfb68ff AMD PI: remove unuseful code
AmdS3Save no longer exists in Carrizo.
Imc lib should move to southbridge.

Change-Id: I2c925adf4469bb53139abe48108800655db2a5fe
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-06-15 13:09:57 +08:00
WANG Siyuan
14739c7693 pi/amd/00660F01/binaryPI/AGESA.c: remove printk
Change-Id: I176784a8ab162244d9b9c36dc29a2956829341ed
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-06-13 21:07:38 +02:00
Stefan Reinauer
d7b58b6bed Porting.h: Don't define uintptr_t
It's already defined in stdint.h and redefining it here conflicts
with coreboot proper.

Change-Id: I9a250b37b2f39278e4fdcd5c4b094457394549b6
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-06-13 10:36:00 +02:00
Marc Jones
3d5af98224 microcode: Update Broadwell to MC0306D4_0000001F
Update the microcde from chromium.org commit:
584219ff73ea4888995f460d2292b1b236f62c28

Change-Id: I87224206436a500e042215a844f0a8d8c042382a
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
2015-06-10 08:00:13 +02:00
Marc Jones
349fd5537d microcode: Update Baytrail to M0C30678_000082D
Picked up from chromium.org commit:
1b2f4ca558c29b3bb5b8eb9b7d935ddf84d222ee

Change-Id: If597662cce66ff8937a6d310ecdf2bd849e258f2
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
2015-06-10 07:55:25 +02:00
WANG Siyuan
9077293152 Add BLOBs to support AMD Embedded "Merlin Falcon" processor
Add AGESA BLOB, head files, VBIOS, xHCI, IMC and PSP firmwares
into the 3rdparty repo. These are explicitly to support AMD
Embedded "Merlin Falcon" processors in a FP4 package.
I have tested on board Bettong. Windows 7, Windows 8 and
Ubuntu 14.04 can boot.

Change-Id: I61abc61b0a837eb1e7b9bee6f6155f92d6c7419d
Signed-off-by: WANG Siyuan <wangsiyuanbuaa@gmail.com>
Signed-off-by: WANG Siyuan <SiYuan.Wang@amd.com>
2015-06-02 11:35:32 +08:00
Marc Jones
a710941e43 amd/pi: Move AGESA cbfs access function to coreboot
The AGESA.c file in 3rdparty has cbfs access functions
for locating the AGESA binaries. coreboot access functions
need to be within coreboot where they can be updated with
cbfs changes. Move the offending function to coreboot.

Change-Id: Ic414d2c74e270548d5190e8c95e4cd7b8f3b8edd
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
2015-05-06 05:29:12 +02:00