summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-13 22:22:31 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-16 12:37:02 +0200
commitb961d552f9abbe60bc60aba700c97822299dab53 (patch)
tree81db59411f2f2d4f9dcb50f0e4f880fefbb57204
parenta2f0b504f4a9320c97bcf1cbd67f42de8a08fbc6 (diff)
downloadu-boot-b961d552f9abbe60bc60aba700c97822299dab53.tar.gz
cmd: fix lsblk command
Add missing includes. Add CMD_LSBLK to sandbox_defconfig. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--cmd/lsblk.c2
-rw-r--r--configs/sandbox_defconfig1
2 files changed, 3 insertions, 0 deletions
diff --git a/cmd/lsblk.c b/cmd/lsblk.c
index ece8bbf108..653dffce04 100644
--- a/cmd/lsblk.c
+++ b/cmd/lsblk.c
@@ -5,6 +5,8 @@
*/
#include <common.h>
+#include <blk.h>
+#include <command.h>
#include <dm.h>
static int do_lsblk(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[])
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 9b74e404bb..d43d78df6f 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -48,6 +48,7 @@ CONFIG_CMD_GPT=y
CONFIG_CMD_GPT_RENAME=y
CONFIG_CMD_IDE=y
CONFIG_CMD_I2C=y
+CONFIG_CMD_LSBLK=y
CONFIG_CMD_OSD=y
CONFIG_CMD_PCI=y
CONFIG_CMD_READ=y