summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2021-06-16 10:54:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-16 10:54:36 +0200
commitf85310fcb23642f38c0f686c50c5c800e6eb106a (patch)
tree7853c8919527b6f9481f64e9f7cbe35f3c00d8af /arch/arm/mach-socfpga
parentc2e98455d880cf25c19a940198ad054931423879 (diff)
parentebd5bb2cf2b2d9905f969c0ad0b51c2ede24792a (diff)
downloadbarebox-f85310fcb23642f38c0f686c50c5c800e6eb106a.tar.gz
barebox-f85310fcb23642f38c0f686c50c5c800e6eb106a.tar.xz
Merge branch 'for-next/compiler-warnings'
Diffstat (limited to 'arch/arm/mach-socfpga')
-rw-r--r--arch/arm/mach-socfpga/arria10-xload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/arria10-xload.c b/arch/arm/mach-socfpga/arria10-xload.c
index 6f137e300e..e52fd1ed87 100644
--- a/arch/arm/mach-socfpga/arria10-xload.c
+++ b/arch/arm/mach-socfpga/arria10-xload.c
@@ -136,7 +136,7 @@ static int a10_fpga_init(void *buf)
{
uint32_t stat, mask;
uint32_t val;
- uint32_t timeout;
+ int timeout;
val = CFGWDTH_32 << A10_FPGAMGR_IMGCFG_CTL_02_CFGWIDTH_SHIFT;
a10_update_bits(A10_FPGAMGR_IMGCFG_CTL_02_OFST,