Hi Vikram,
On Wed, 19 Dec 2007, Pandita, Vikram wrote:
> Your patches break booting on ES2.0
thanks for the test. Can you apply the attached patch, and send along the
boot log?
thanks,
- Paul
---
arch/arm/mach-omap2/clock.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Index: linux-omap/arch/arm/mach-omap2/clock.c
===================================================================
--- linux-omap.orig/arch/arm/mach-omap2/clock.c 2007-12-19 01:25:25.000000000 -0700
+++ linux-omap/arch/arm/mach-omap2/clock.c 2007-12-19 14:25:01.000000000 -0700
@@ -19,7 +19,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#undef DEBUG
+#define DEBUG
#include <linux/module.h>
#include <linux/kernel.h>
@@ -375,6 +375,11 @@
if (!clk->clksel)
return NULL;
+ pr_debug("clock: in omap2_get_clksel_by_parent: clk "
+ "%s\n", clk->name);
+ pr_debug("clock: in omap2_get_clksel_by_parent: looking for parent clk "
+ "%s\n", src_clk->name);
+
for (clks = clk->clksel; clks->parent; clks++) {
if (clks->parent == src_clk)
break; /* Found the requested parent */