diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-16 14:03:42 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-06 03:38:46 (GMT) |
commit | 113e75592a8c9e3f49a2009fe4d5969ac3028bfd (patch) | |
tree | 073707b3489e9f90ed9c0610277ea30d5472ebce /arch/x86/lib/pinctrl_ich6.c | |
parent | beb4d65e92ad091aefb1b5579ed839782ecb2008 (diff) | |
download | u-boot-113e75592a8c9e3f49a2009fe4d5969ac3028bfd.tar.xz |
x86: lib: Fix types and casts for 64-bit compilation
Fix various compiler warnings in the x86 library code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib/pinctrl_ich6.c')
-rw-r--r-- | arch/x86/lib/pinctrl_ich6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/pinctrl_ich6.c b/arch/x86/lib/pinctrl_ich6.c index 3f94cdf..fb2d294 100644 --- a/arch/x86/lib/pinctrl_ich6.c +++ b/arch/x86/lib/pinctrl_ich6.c @@ -104,7 +104,7 @@ static int ich6_pinctrl_cfg_pin(s32 gpiobase, s32 iobase, int pin_node) /* if iobase is present, let's configure the pad */ if (iobase != -1) { - int iobase_addr; + ulong iobase_addr; /* * The offset for the same pin for the IOBASE and GPIOBASE are |