[PATCH] 64bit file support
Sascha Hauer
s.hauer at pengutronix.de
Tue Jun 26 15:54:53 EDT 2012
Hi All,
The following adds 64bit file support for barebox. It has been runtime
tested on a babbage board with a 8G SD card and on a pcm038 board with a
8G USB stick. Compile tested with all defconfigs.
Sascha
----------------------------------------------------------------
Sascha Hauer (10):
mtd: fix arguments to bad block ioctls
nand-bb: bb->offset may become a 64bit type
use loff_t for file offsets
introduce strtoull_suffix function
make parse_area_spec arguments loff_t
make memory display 64bit capable
make st_size in struct stat 64 bit
make cdev 64bit capable
memory commands: Make 64bit capable
partitions: Make 64bit capable
arch/arm/mach-imx/iim.c | 8 +++----
arch/arm/mach-mxs/ocotp.c | 4 ++--
arch/sandbox/board/hostfile.c | 4 ++--
commands/crc.c | 4 ++--
commands/digest.c | 4 ++--
commands/flash.c | 4 ++--
commands/ls.c | 2 +-
commands/mem.c | 49 ++++++++++++++++++++---------------------
common/block.c | 6 ++---
common/partitions.c | 29 ------------------------
drivers/base/driver.c | 2 +-
drivers/eeprom/at25.c | 8 +++----
drivers/mfd/lp3972.c | 2 +-
drivers/mfd/mc13xxx.c | 4 ++--
drivers/mfd/mc34704.c | 4 ++--
drivers/mfd/mc34708.c | 6 +++--
drivers/mfd/mc9sdz60.c | 4 ++--
drivers/mfd/twl-core.c | 4 ++--
drivers/mtd/core.c | 20 ++++++++++-------
drivers/mtd/mtdoob.c | 3 ++-
drivers/mtd/mtdraw.c | 9 +++++---
drivers/mtd/nand/nand-bb.c | 30 ++++++++++++-------------
drivers/mtd/ubi/cdev.c | 8 +++----
drivers/net/miidev.c | 4 ++--
drivers/nor/cfi_flash.c | 8 +++----
drivers/nor/m25p80.c | 16 +++++++++-----
fs/cramfs/cramfs.c | 2 +-
fs/devfs-core.c | 17 +++++++-------
fs/devfs.c | 10 ++++-----
fs/fat/fat.c | 6 ++---
fs/fs.c | 12 +++++-----
fs/nfs.c | 2 +-
fs/ramfs.c | 2 +-
fs/tftp.c | 2 +-
include/common.h | 5 +++--
include/driver.h | 28 +++++++++++------------
include/fs.h | 12 +++++-----
include/linux/stat.h | 2 +-
include/partition.h | 2 +-
lib/misc.c | 24 ++++++++++++--------
lib/vsprintf.c | 1 +
41 files changed, 183 insertions(+), 190 deletions(-)
More information about the barebox
mailing list