From: Tony Lindgren Date: Wed, 24 Sep 2008 08:07:17 +0000 (+0300) Subject: Revert "Fix booting of omap1" X-Git-Tag: v2.6.27-omap1~141 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6496804d45c6b89a81c8e6f67c3f0cc81b589f44;p=linux-2.6-omap-h63xx.git Revert "Fix booting of omap1" This reverts commit 3fa3f8c8f56d0013b3802319c601581d73882ff4. Some regs are offsets for omap2/3. Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/include/mach/clock.h b/arch/arm/plat-omap/include/mach/clock.h index 24552b27cd4..f26ad8c3e35 100644 --- a/arch/arm/plat-omap/include/mach/clock.h +++ b/arch/arm/plat-omap/include/mach/clock.h @@ -31,7 +31,7 @@ struct clksel { }; struct dpll_data { - void __iomem *mult_div1_reg; + u16 mult_div1_reg; u32 mult_mask; u32 div1_mask; u16 last_rounded_m; @@ -41,18 +41,18 @@ struct dpll_data { u16 max_multiplier; u8 max_divider; u32 max_tolerance; - void __iomem *idlest_reg; + u16 idlest_reg; u32 idlest_mask; struct clk *bypass_clk; # if defined(CONFIG_ARCH_OMAP3) u32 freqsel_mask; u8 modes; - void __iomem *control_reg; + u16 control_reg; u32 enable_mask; u8 auto_recal_bit; u8 recal_en_bit; u8 recal_st_bit; - void __iomem *autoidle_reg; + u16 autoidle_reg; u32 autoidle_mask; # endif }; @@ -67,7 +67,7 @@ struct clk { struct clk *parent; unsigned long rate; __u32 flags; - void __iomem *enable_reg; + u16 enable_reg; __u8 enable_bit; __s8 usecount; u8 idlest_bit; @@ -79,7 +79,7 @@ struct clk { void (*disable)(struct clk *); #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) u8 fixed_div; - void __iomem *clksel_reg; + u16 clksel_reg; u32 clksel_mask; const struct clksel *clksel; struct dpll_data *dpll_data;