diff options
author | Michal Simek <monstr@monstr.eu> | 2011-10-12 23:23:21 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-23 23:32:44 +0200 |
commit | 9b94755af9552ce3cbecfdd2f9f1fa2b322d825a (patch) | |
tree | d839ddb9b45e8e0484eadbd688c3820678a0227f /drivers/net | |
parent | 7b5d61b5a3dd6c6f8f0723941beb700277de9407 (diff) | |
download | u-boot-imx-9b94755af9552ce3cbecfdd2f9f1fa2b322d825a.zip u-boot-imx-9b94755af9552ce3cbecfdd2f9f1fa2b322d825a.tar.gz u-boot-imx-9b94755af9552ce3cbecfdd2f9f1fa2b322d825a.tar.bz2 |
net: emaclite: Use unsigned long for baseaddr
Baseaddr should be unsigned long.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/xilinx_emaclite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index bb4fb01..ac3dae1 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -342,7 +342,7 @@ static int emaclite_recv(struct eth_device *dev) } -int xilinx_emaclite_initialize (bd_t *bis, int base_addr) +int xilinx_emaclite_initialize(bd_t *bis, unsigned long base_addr) { struct eth_device *dev; struct xemaclite *emaclite; @@ -366,7 +366,7 @@ int xilinx_emaclite_initialize (bd_t *bis, int base_addr) emaclite->rxpp = 1; #endif - sprintf(dev->name, "Xelite.%x", base_addr); + sprintf(dev->name, "Xelite.%lx", base_addr); dev->iobase = base_addr; dev->init = emaclite_init; |