soc/amd/picasso: Add support for using common SoC configuration
This change adds support for using common SoC configuration by adding soc_amd_common_config to soc_amd_picasso_config and helper function to return pointer to the structure to amd common block code. Change-Id: I8bd4eac3b19c9ded2d9a3e95ac077f014730f9d1 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41249 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <amdblocks/chip.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <drivers/i2c/designware/dw_i2c.h>
|
||||
#include <soc/i2c.h>
|
||||
@@ -13,6 +14,7 @@
|
||||
#include <acpi/acpi_device.h>
|
||||
|
||||
struct soc_amd_picasso_config {
|
||||
struct soc_amd_common_config common_config;
|
||||
/*
|
||||
* If sb_reset_i2c_slaves() is called, this devicetree register
|
||||
* defines which I2C SCL will be toggled 9 times at 100 KHz.
|
||||
|
Reference in New Issue
Block a user