diff options
author | Robert Zieba <robertzieba@google.com> | 2022-10-25 10:30:14 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-26 22:01:47 +0000 |
commit | 956432cbb7f0a5a1618fb1111158cf3a8ede5f60 (patch) | |
tree | 56f7bb2ca6da8cf0b2e147b471bcf1dde944b75f /src/lib/gnat/system.ads | |
parent | 5a040d6662ba19116224edf6f1a1628661fbd105 (diff) |
soc/amd/cezanne: Update GPP clk req code to use ARRAY_SIZE
Currently the GPP clk req configuration code assumes that the size of
the config array is `GPP_CLK_OUTPUT_COUNT`. This commit changes that
code to use the `ARRAY_SIZE` macro instead.
BRANCH=guybrush
BUG=b:250009974
TEST=Ran on nipperkin device, verified that clk req settings are
correct.
Change-Id: I3ff555843c6f5aa38acd8300e0dc2da4e33fb4b7
Signed-off-by: Robert Zieba <robertzieba@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68866
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/lib/gnat/system.ads')
0 files changed, 0 insertions, 0 deletions