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>
This commit is contained in:
parent
936d468b7b
commit
054de212ce
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#define LOG_CATEGORY UCLASS_PARTITION
|
||||
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
|
Loading…
Reference in a new issue