diff options
author | Tom Rini | 2022-06-20 08:07:54 -0400 |
---|---|---|
committer | Tom Rini | 2022-07-05 17:05:00 -0400 |
commit | 1bc8ef4d702345117d77c2e704d82102774148aa (patch) | |
tree | c13881ff5c68f56621acfca42969636c381da123 /board/socrates | |
parent | 31a8f5545eb8f2d2e1bdf0ccdb1d1b63a16c9008 (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.c | 3 |
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 |