commit | 688dadacc3559a498823b034ee08fafa911e2e72 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Jul 02 14:07:48 2022 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Jul 02 14:19:09 2022 +0200 |
tree | 7098f219eaac609a2bedfbfd893450088a0bb5a5 | |
parent | b4c00292b79a126ad2f803286995f1df23bf4d13 [diff] |
disk: honor CONFIG_SYS_64BIT_LBA 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 <heinrich.schuchardt@canonical.com>