mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
mips: ath79: ar933x: Avoid warning with gcc5
GCC 5.3 report a warning: 'upper' and 'lower' may be used uninitialized in this function [-Wmaybe-uninitialized]. Compiler might need explicit initializer. Signed-off-by: Wills Wang <wills.wang@live.com>
This commit is contained in:
parent
42a3f3e6eb
commit
4349b55b99
1 changed files with 2 additions and 0 deletions
|
|
@ -268,6 +268,8 @@ void ddr_tap_tuning(void)
|
|||
dir = 1;
|
||||
tap = readl(regs + AR71XX_DDR_REG_TAP_CTRL0);
|
||||
val = tap;
|
||||
upper = tap;
|
||||
lower = tap;
|
||||
while (!done) {
|
||||
err = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue