mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
board/ep82xxm/ep82xxm.c: Fix GCC 4.6 build warning
Fix: ep82xxm.c: In function 'initdram': ep82xxm.c:233:16: warning: variable 'ramtmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
#include <pci.h>
|
#include <pci.h>
|
||||||
#endif
|
#endif
|
||||||
#include <miiphy.h>
|
#include <miiphy.h>
|
||||||
|
#include <linux/compiler.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* I/O Port configuration table
|
* I/O Port configuration table
|
||||||
@@ -230,8 +231,8 @@ phys_size_t initdram(int board_type)
|
|||||||
uint psdmr = CONFIG_SYS_PSDMR;
|
uint psdmr = CONFIG_SYS_PSDMR;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
unsigned char ramtmp;
|
|
||||||
unsigned char *ramptr1 = (unsigned char *)0x00000110;
|
unsigned char *ramptr1 = (unsigned char *)0x00000110;
|
||||||
|
__maybe_unused unsigned char ramtmp;
|
||||||
|
|
||||||
memctl->memc_mptpr = CONFIG_SYS_MPTPR;
|
memctl->memc_mptpr = CONFIG_SYS_MPTPR;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user