Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 3 | #include <amdblocks/chip.h> |
| 4 | #include <device/device.h> |
| 5 | #include "chip.h" |
| 6 | |
Elyes HAOUAS | eb9e63f | 2022-01-25 11:51:43 +0100 | [diff] [blame] | 7 | const struct soc_amd_common_config *soc_get_common_config(void) |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 8 | { |
Jon Murphy | 4f73242 | 2022-08-05 15:43:44 -0600 | [diff] [blame] | 9 | const struct soc_amd_mendocino_config *cfg = config_of_soc(); |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 10 | return &cfg->common_config; |
| 11 | } |