mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 10:01:32 +00:00
Remove compile warnings in fpga code
Patch by Stefan Roese, 07 Oct 2006
This commit is contained in:
parent
f3443867e9
commit
77d5034847
2 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,9 @@
|
||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Remove compile warnings in fpga code
|
||||||
|
Patch by Stefan Roese, 07 Oct 2006
|
||||||
|
|
||||||
* Add CONFIG_BOARD_RESET to configure board specific reset function
|
* Add CONFIG_BOARD_RESET to configure board specific reset function
|
||||||
Patch by Stefan Roese, 07 Oct 2006
|
Patch by Stefan Roese, 07 Oct 2006
|
||||||
|
|
||||||
|
|
|
@ -263,9 +263,9 @@ int do_fpga (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
puts ("Bad Magic Number\n");
|
puts ("Bad Magic Number\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
data = (char *)(fpga_data + sizeof(image_header_t));
|
data = ((ulong)fpga_data + sizeof(image_header_t));
|
||||||
data_size = ntohl(hdr->ih_size);
|
data_size = ntohl(hdr->ih_size);
|
||||||
rc = fpga_load (dev, data, data_size);
|
rc = fpga_load (dev, (void *)data, data_size);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue