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
@ -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…
Reference in New Issue
Block a user