mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
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>
This commit is contained in:
parent
31d34c6c4b
commit
8bb065630f
1 changed files with 2 additions and 2 deletions
|
@ -186,8 +186,8 @@ void cs4340_upload_firmware(struct phy_device *phydev)
|
||||||
while (*addr != 0x0a) {
|
while (*addr != 0x0a) {
|
||||||
line_temp[i++] = *addr++;
|
line_temp[i++] = *addr++;
|
||||||
if (0x50 < i) {
|
if (0x50 < i) {
|
||||||
printf("Not found Cortina PHY ucode at 0x%x\n",
|
printf("Not found Cortina PHY ucode at 0x%p\n",
|
||||||
CONFIG_CORTINA_FW_ADDR);
|
(char *)CONFIG_CORTINA_FW_ADDR);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue