]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: fix lsblk command
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 13 Jul 2020 20:22:31 +0000 (22:22 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 16 Jul 2020 10:37:02 +0000 (12:37 +0200)
Add missing includes.
Add CMD_LSBLK to sandbox_defconfig.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/lsblk.c
configs/sandbox_defconfig

index ece8bbf108c79711fa0efae053704c4042ae136e..653dffce0419972bdf4f866ef0d95c432b5f39fc 100644 (file)
@@ -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[])
index 9b74e404bb5bb5c55e27f525ede9484297ec4c6b..d43d78df6f8489eb7ab727f792bd420fdc6bed2a 100644 (file)
@@ -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