diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2020-12-05 19:04:32 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-12-06 19:04:51 +0000 |
commit | 04f079d396631ff7154b3a750ba0a92adbf5c562 (patch) | |
tree | b8cc1089e075e95cd48f234ef6b7f32f2b42af59 /src/soc/amd | |
parent | 507fc03b19faededb3ada50fa9f759f79786c8f5 (diff) |
soc/amd/picasso/config: add comment about cfg never being NULL
Change-Id: I39cf2d28749536cb7d9462fa4af412850677f2e3
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48354
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/picasso/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/config.c b/src/soc/amd/picasso/config.c index 3d4bc7b1ed..577d7b29a8 100644 --- a/src/soc/amd/picasso/config.c +++ b/src/soc/amd/picasso/config.c @@ -6,6 +6,7 @@ const struct soc_amd_common_config *soc_get_common_config() { + /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */ const struct soc_amd_picasso_config *cfg = config_of_soc(); return &cfg->common_config; } |