soc: Add AMD Stoney Ridge southbridge code

Hardware / Coreboot - Marc Jones [gmail.com] - 25 June 2017 20:45 EDT

Copy the Hudson/Kern code from southbridge/amd/pi/hudson. This is the first of a series of patches to migrate Stoney Ridge support from cpu, northbridge, and southbridge to soc/

Changes:- add soc/amd/stoneyridge and soc/amd/common- remove all other Husdon versions- update include paths, etc- clean up Kconfig and Makefile- create chip.c to contain chip_ops

Change-Id: Ib88a868e654ad127be70ecc506f6b90b784f8d1b

2448484 soc: Add AMD Stoney Ridge southbridge code
src/soc/amd/common/Kconfig | 4 +
src/soc/amd/common/Makefile.inc | 5 +
src/soc/amd/common/amd_defs.h | 22 +
src/soc/amd/common/amd_pci_util.c | 200 +++++++++
src/soc/amd/common/amd_pci_util.h | 41 ++
src/soc/amd/stoneyridge/Kconfig | 167 ++++++++
src/soc/amd/stoneyridge/Makefile.inc | 236 +++++++++++
src/soc/amd/stoneyridge/acpi/fch.asl | 184 ++++++++
src/soc/amd/stoneyridge/acpi/lpc.asl | 103 +++++
src/soc/amd/stoneyridge/acpi/pci_int.asl | 469 +++++++++++++++++++++
src/soc/amd/stoneyridge/acpi/pcie.asl | 99 +++++
src/soc/amd/stoneyridge/acpi/sleepstates.asl | 38 ++
src/soc/amd/stoneyridge/acpi/smbus.asl | 0
src/soc/amd/stoneyridge/acpi/usb.asl | 65 +++
src/soc/amd/stoneyridge/bootblock/bootblock.c | 63 +++
src/soc/amd/stoneyridge/chip.c | 60 +++
src/soc/amd/stoneyridge/chip.h | 33 ++
src/soc/amd/stoneyridge/early_setup.c | 334 +++++++++++++++
src/soc/amd/stoneyridge/enable_usbdebug.c | 59 +++
src/soc/amd/stoneyridge/fadt.c | 207 +++++++++
src/soc/amd/stoneyridge/gpio.c | 28 ++
src/soc/amd/stoneyridge/hda.c | 52 +++
src/soc/amd/stoneyridge/hudson.c | 132 ++++++
src/soc/amd/stoneyridge/ide.c | 44 ++
src/soc/amd/stoneyridge/imc.c | 101 +++++
src/soc/amd/stoneyridge/include/amd_pci_int_defs.h | 75 ++++
.../amd/stoneyridge/include/amd_pci_int_types.h | 32 ++
src/soc/amd/stoneyridge/include/soc/gpio.h | 131 ++++++
src/soc/amd/stoneyridge/include/soc/hudson.h | 198 +++++++++
src/soc/amd/stoneyridge/include/soc/imc.h | 27 ++
src/soc/amd/stoneyridge/include/soc/pci_devs.h | 122 ++++++
src/soc/amd/stoneyridge/include/soc/smbus.h | 70 +++
src/soc/amd/stoneyridge/include/soc/smi.h | 65 +++
src/soc/amd/stoneyridge/lpc.c | 366 ++++++++++++++++
src/soc/amd/stoneyridge/pci.c | 67 +++
src/soc/amd/stoneyridge/pcie.c | 61 +++
src/soc/amd/stoneyridge/reset.c | 45 ++
src/soc/amd/stoneyridge/sata.c | 81 ++++
src/soc/amd/stoneyridge/sd.c | 65 +++
src/soc/amd/stoneyridge/sm.c | 135 ++++++
src/soc/amd/stoneyridge/smbus.c | 246 +++++++++++
src/soc/amd/stoneyridge/smbus_spd.c | 148 +++++++
src/soc/amd/stoneyridge/smi.c | 26 ++
src/soc/amd/stoneyridge/smi_util.c | 78 ++++
src/soc/amd/stoneyridge/smihandler.c | 136 ++++++
src/soc/amd/stoneyridge/uart.c | 26 ++
src/soc/amd/stoneyridge/usb.c | 56 +++
src/vendorcode/amd/pi/Makefile.inc | 7 +-
48 files changed, 5008 insertions(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share