This is an initial framework for the Morgana SoC. TODOs have been added to the files for both customization and commonization. Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Change-Id: If92e129db10d41595e1dc18a7c1dfe99d57790cc Reviewed-on: https://review.coreboot.org/c/coreboot/+/68195 Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
13 lines
361 B
C
13 lines
361 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include <amdblocks/chip.h>
|
|
#include <device/device.h>
|
|
#include "chip.h"
|
|
|
|
const struct soc_amd_common_config *soc_get_common_config(void)
|
|
{
|
|
/* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
|
|
const struct soc_amd_morgana_config *cfg = config_of_soc();
|
|
return &cfg->common_config;
|
|
}
|