diff options
author | Varshit Pandya <pandyavarshit@gmail.com> | 2024-02-09 18:25:45 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-02-12 13:58:10 +0000 |
commit | ddd002010fe4fe693e7345b490f65ea4bfca0896 (patch) | |
tree | bdb7d2cf3e688667683551e3369f80b04b61ffd6 /src | |
parent | d48d72c9ceeccb56d89f13fa2f78d7c6b8666a0b (diff) |
vc/amd/fsp/picasso: Bring picasso inline with other AMD SoC
In preparation to using gpp_clk_setup_common for picasso, bring enum
defined in picasso more in line with other AMD SoC.
Change-Id: I9753acdff15921c84516ec873c925f36afdd2aa3
Signed-off-by: Varshit Pandya <pandyavarshit@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80412
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vendorcode/amd/fsp/picasso/platform_descriptors.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vendorcode/amd/fsp/picasso/platform_descriptors.h b/src/vendorcode/amd/fsp/picasso/platform_descriptors.h index 0b0de108d9..184db27452 100644 --- a/src/vendorcode/amd/fsp/picasso/platform_descriptors.h +++ b/src/vendorcode/amd/fsp/picasso/platform_descriptors.h @@ -44,7 +44,7 @@ typedef enum { } dxio_sata_channel_type; /* CLKREQ for PCIe type descriptors */ -typedef enum { +enum cpm_clk_req { CLK_DISABLE = 0x00, CLK_REQ0, CLK_REQ1, @@ -56,7 +56,8 @@ typedef enum { CLK_REQ7, CLK_REQ8, CLK_REQGFX = 0x0c, -} cpm_clk_req; + CLK_ENABLE = 0xff, +}; /* PCIe link ASPM initialization */ typedef enum { |