Skip to content
Snippets Groups Projects
Commit 47340a46 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Fixed compilation for ARM when using a (standard) hard-FP toolchain

Patch by Anders Larsen, 07 Oct 2005
parent 96782c63
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4: Changes for U-Boot 1.1.4:
====================================================================== ======================================================================
* Fixed compilation for ARM when using a (standard) hard-FP toolchain
Patch by Anders Larsen, 07 Oct 2005
* Cleanup warnings for cpu/arm720t & cpu/arm1136 files. * Cleanup warnings for cpu/arm720t & cpu/arm1136 files.
sed the linker scripts, rather than pre-process them. sed the linker scripts, rather than pre-process them.
Patch by Peter Pearse, 07 Oct 2005 Patch by Peter Pearse, 07 Oct 2005
......
...@@ -221,7 +221,7 @@ static void flash_printqry (flash_info_t * info, flash_sect_t sect) ...@@ -221,7 +221,7 @@ static void flash_printqry (flash_info_t * info, flash_sect_t sect)
cfiptr_t cptr; cfiptr_t cptr;
int x, y; int x, y;
for (x = 0; x < 0x40; x += 16 / info->portwidth) { for (x = 0; x < 0x40; x += 16U / info->portwidth) {
cptr.cp = cptr.cp =
flash_make_addr (info, sect, flash_make_addr (info, sect,
x + FLASH_OFFSET_CFI_RESP); x + FLASH_OFFSET_CFI_RESP);
...@@ -807,7 +807,7 @@ static void flash_make_cmd (flash_info_t * info, uchar cmd, void *cmdbuf) ...@@ -807,7 +807,7 @@ static void flash_make_cmd (flash_info_t * info, uchar cmd, void *cmdbuf)
#else #else
for (i = 1; i <= info->portwidth; i++) for (i = 1; i <= info->portwidth; i++)
#endif #endif
*cp++ = (i % info->chipwidth) ? '\0' : cmd; *cp++ = (i & (info->chipwidth - 1)) ? '\0' : cmd;
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment