diff options
author | pankaj chauhan <pankaj.chauhan@freescale.com> | 2015-03-20 19:28:17 -0700 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-04-23 08:55:57 -0700 |
commit | 8bb065630f14076c21351d46dbb9eb81c79bf0a4 (patch) | |
tree | c52e6f88853123651c6243d55a813555b71f05f8 /drivers/net | |
parent | 31d34c6c4b4470b4cd2094693259fb48ec51e652 (diff) | |
download | u-boot-imx-8bb065630f14076c21351d46dbb9eb81c79bf0a4.zip u-boot-imx-8bb065630f14076c21351d46dbb9eb81c79bf0a4.tar.gz u-boot-imx-8bb065630f14076c21351d46dbb9eb81c79bf0a4.tar.bz2 |
net/phy/cortina: Fix compilation warning
Fix comilation warning which is emitted when
firmware address is more than 32 bit.
Signed-off-by: pankaj chauhan <pankaj.chauhan@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/phy/cortina.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c index 254f056..3a2b3bb 100644 --- a/drivers/net/phy/cortina.c +++ b/drivers/net/phy/cortina.c @@ -186,8 +186,8 @@ void cs4340_upload_firmware(struct phy_device *phydev) while (*addr != 0x0a) { line_temp[i++] = *addr++; if (0x50 < i) { - printf("Not found Cortina PHY ucode at 0x%x\n", - CONFIG_CORTINA_FW_ADDR); + printf("Not found Cortina PHY ucode at 0x%p\n", + (char *)CONFIG_CORTINA_FW_ADDR); return; } } |