[U-Boot-Users] PATCH: strswab

Hi Wolfgang,
I've decided to split the PXA IDE/PCMCIA/CF patch into several smaller ones.
Here's the patch that adds strswab functions and updates ide_ident() accordingly.
The CROSS_COMPILE variable in Makefile you can reject if you think it's not needed. I do not have a shell environment variable CROSS_COMPILE and it turned out that dirname was barking - CROSS_COMPILE in my environment is only set in the Makefile.
Fixes: o IDE firmware and model number are shown correctly on little endian machines
Changes: o added strswab function which swaps adjacent odd and even bytes in a NUL-terminated string o fixed IDE LBA capacity, device firmware and model number on little endian machines
Any issues, let me know.

In message 1078218841.26683.16.camel@tt-devel.ultra.si you wrote:
I've decided to split the PXA IDE/PCMCIA/CF patch into several smaller ones.
Thanks.
Here's the patch that adds strswab functions and updates ide_ident() accordingly.
Added.
The CROSS_COMPILE variable in Makefile you can reject if you think it's not needed. I do not have a shell environment variable CROSS_COMPILE and it turned out that dirname was barking - CROSS_COMPILE in my environment is only set in the Makefile.
Omitted.
Best regards,
Wolfgang Denk
participants (2)
-
Leon Kukovec
-
Wolfgang Denk