Re: [PATCH 1/1] disk: honor CONFIG_SYS_64BIT_LBA

2022-07-03 Thread Tom Rini
On Mon, Jul 04, 2022 at 09:30:24AM +0900, AKASHI Takahiro wrote: > On Sat, Jul 02, 2022 at 02:20:21PM +0200, Heinrich Schuchardt wrote: > > Without the patch for qemu-x86_defconfig: > > > > * sizeof(lbaint_t) = 4 in dev_read() > > * sizeof(lbaint_t) = 8 in blkcache_read() > > > > CONFIG_SYS_64BIT

Re: [PATCH 1/1] disk: honor CONFIG_SYS_64BIT_LBA

2022-07-03 Thread AKASHI Takahiro
On Sat, Jul 02, 2022 at 02:20:21PM +0200, Heinrich Schuchardt wrote: > Without the patch for qemu-x86_defconfig: > > * sizeof(lbaint_t) = 4 in dev_read() > * sizeof(lbaint_t) = 8 in blkcache_read() > > CONFIG_SYS_64BIT_LBA is defined in common.h via > include/configs/x86-common.h:22. > > We have

[PATCH 1/1] disk: honor CONFIG_SYS_64BIT_LBA

2022-07-02 Thread Heinrich Schuchardt
Without the patch for qemu-x86_defconfig: * sizeof(lbaint_t) = 4 in dev_read() * sizeof(lbaint_t) = 8 in blkcache_read() CONFIG_SYS_64BIT_LBA is defined in common.h via include/configs/x86-common.h:22. We have to include common.h before including blk.h. Signed-off-by: Heinrich Schuchardt ---