aboutsummaryrefslogtreecommitdiff
path: root/board/socrates
diff options
context:
space:
mode:
authorTom Rini2022-06-20 08:07:54 -0400
committerTom Rini2022-07-05 17:05:00 -0400
commit1bc8ef4d702345117d77c2e704d82102774148aa (patch)
treec13881ff5c68f56621acfca42969636c381da123 /board/socrates
parent31a8f5545eb8f2d2e1bdf0ccdb1d1b63a16c9008 (diff)
socrates: Rework CONFIG_PCI_CLK_FREQ
The symbol CONFIG_PCI_CLK_FREQ is local to this board. Provide equal clarity in the code by referencing the numeric value directly and move the explanatory comment to the code, just prior to use. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/socrates')
-rw-r--r--board/socrates/socrates.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c
index 3430a1ed017..27aad4eaae3 100644
--- a/board/socrates/socrates.c
+++ b/board/socrates/socrates.c
@@ -59,7 +59,8 @@ int checkboard (void)
f = get_board_sys_clk();
} else {
src = "PCI_CLK";
- f = CONFIG_PCI_CLK_FREQ;
+ /* PCI is clocked by the external source at 33 MHz */
+ f = 33000000;
}
printf ("PCI1: 32 bit, %d MHz (%s)\n", f/1000000, src);
#else