coreboot-kgpe-d16/src/soc/amd/common
Martin Roth 7e78e56c34 soc/amd/picasso/i2c: don't initialize I2C4 as master and refactor code
I2C0&1 are either not available or not functional. Add place holders
instead, so that the array index matches the I2C controller number. I2C4
is slave device only, so do not initialize it as I2C host controller.
Also do some slight refactoring.

BUG=b:153152871
BUG=b:153675916

Change-Id: I397b074ef9c14bf6a4f6680696582f5173a5d0d3
Signed-off-by: Martin Roth <martinroth@chromium.org>
Signed-off-by: Paul Ma <magf@bitland.corp-partner.google.com>
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1897071
Reviewed-on: https://chromium-review.googlesource.com/2057468
Reviewed-on: https://chromium-review.googlesource.com/2094855
Reviewed-on: https://chromium-review.googlesource.com/2149870
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40247
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-04-24 16:16:28 +00:00
..
acpi soc/amd: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:39 +00:00
block soc/amd/picasso/i2c: don't initialize I2C4 as master and refactor code 2020-04-24 16:16:28 +00:00
Kconfig soc/amd/common: Add initial support for AMD PSP 2017-07-02 18:43:46 +00:00
Makefile.inc vc/amd/pi/00670F00: fix #include paths to only use <amdblocks/header.h> 2017-12-12 20:31:06 +00:00