soc/amd/common/block: Add support for common config for AMD SoCs
commit2f5183c7af57bdefc88999bba62896bbcfe606c6
authorFurquan Shaikh <furquan@google.com>
Sat, 9 May 2020 19:57:02 +0000 (9 12:57 -0700)
committerFurquan Shaikh <furquan@google.com>
Tue, 12 May 2020 18:58:54 +0000 (12 18:58 +0000)
treed0363a5619e3644b53e929344d940f9fc7fd37a7
parentf2c32515ee9a4f4db46ee51210143c2b6e4ee987
soc/amd/common/block: Add support for common config for AMD SoCs

This change adds support for struct soc_amd_common_config that allows
multiple AMD SoCs to share common configuration. This can then be used
by common/block drivers to get the required configuration from device
tree. It also provides function declaration for
soc_get_common_config() that needs to be provided by SoCs making use
of the common configuration structure.

Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: Idb0d797525414c99894a8e4ede65469381db7794
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41246
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/common/block/include/amdblocks/chip.h [new file with mode: 0644]