From: Andy Fleming Date: Tue, 10 Jun 2008 23:49:34 +0000 (-0500) Subject: socrates: Fix PCI clk fix patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e1eb0e25d9d8fd8efdfb93f670a417663f386022;p=project%2Fbcm63xx%2Fu-boot.git socrates: Fix PCI clk fix patch The submitted patch seems to have been more up-to-date, but an older patch was already in the repository. This patch encompasses the differences Taken entirely from Sergei Poselenov Signed-off-by: Andy Fleming --- diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index 15c647884b..3c1e826152 100644 --- a/board/socrates/socrates.c +++ b/board/socrates/socrates.c @@ -35,6 +35,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -58,7 +59,8 @@ int checkboard (void) putc('\n'); #ifdef CONFIG_PCI - if (gur->porpllsr & (1<<15)) { + /* Check the PCI_clk sel bit */ + if (in_be32(&gur->porpllsr) & (1<<15)) { src = "SYSCLK"; f = CONFIG_SYS_CLK_FREQ; } else {