[U-Boot-Users] IDE LBA48 support and vsprintf 64bit support

Hi Here are two patches. First patch gives vsprintf the ability to print 64bit integers by using L as the qualifier Eg printf("a 64 bit number: %Lx", a64bitnumber); Also adds simple_strtoull (that handles long longs)
Second patch adds 48bit addressing support to the IDE interface. Needs the vsprintf patches to be able to print larger capacity.
Changelog * Patch by Rune Torgersen Added 48-bit addressing support (LBA48) in IDE Added 64-bit support in vsprintf (qualifier L) Added 64-bit str to int function.
Rune Torgersen System Developer Innovative Systems LLC 1000 Innovative Drive Mitchell, SD 57301 Ph: 605-995-6120 www.innovsys.com

In message DCEAAC0833DD314AB0B58112AD99B93B06DA76@ismail.innsys.innovsys.com you wrote:
Here are two patches. First patch gives vsprintf the ability to print 64bit integers by using L as the qualifier Eg printf("a 64 bit number: %Lx", a64bitnumber); Also adds simple_strtoull (that handles long longs)
Second patch adds 48bit addressing support to the IDE interface. Needs the vsprintf patches to be able to print larger capacity.
Ummm... actually I don't like to increase the memory footprint for all systems for a feature which nearly nobody ever needs. I think it should be possible to print the large capacities without using such data formats (I guess you don't need 64 bit precision).
Best regards,
Wolfgang Denk
participants (2)
-
Rune Torgersen
-
Wolfgang Denk