summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-12-03 06:46:15 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-06 23:59:40 +0100
commite8f473548a6a0a7321fb4e05bcc77337d5eca710 (patch)
tree1c2559ee0637e921e4a414cd08671dd3a890de65 /arch
parent164a75078917ab83d29a02cd282ee49878b4a349 (diff)
downloadu-boot-imx-e8f473548a6a0a7321fb4e05bcc77337d5eca710.zip
u-boot-imx-e8f473548a6a0a7321fb4e05bcc77337d5eca710.tar.gz
u-boot-imx-e8f473548a6a0a7321fb4e05bcc77337d5eca710.tar.bz2
arch/arm/include/asm/arch-omap5/clocks.h: Fix GCC 4.2 warnings
Fix: clocks.c: In function 'setup_post_dividers': clocks.c:175: warning: comparison is always true due to limited range of data type clocks.c:177: warning: comparison is always true due to limited range of data type clocks.c:179: warning: comparison is always true due to limited range of data type clocks.c:181: warning: comparison is always true due to limited range of data type clocks.c:183: warning: comparison is always true due to limited range of data type clocks.c:185: warning: comparison is always true due to limited range of data type clocks.c:187: warning: comparison is always true due to limited range of data type clocks.c:189: warning: comparison is always true due to limited range of data type Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: sricharan <r.sricharan@ti.com> Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-omap5/clocks.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/include/asm/arch-omap5/clocks.h b/arch/arm/include/asm/arch-omap5/clocks.h
index fa99f65..d0e6dd6 100644
--- a/arch/arm/include/asm/arch-omap5/clocks.h
+++ b/arch/arm/include/asm/arch-omap5/clocks.h
@@ -686,14 +686,14 @@ struct dpll_regs {
struct dpll_params {
u32 m;
u32 n;
- u8 m2;
- u8 m3;
- u8 h11;
- u8 h12;
- u8 h13;
- u8 h14;
- u8 h22;
- u8 h23;
+ s8 m2;
+ s8 m3;
+ s8 h11;
+ s8 h12;
+ s8 h13;
+ s8 h14;
+ s8 h22;
+ s8 h23;
};
extern struct omap5_prcm_regs *const prcm;