From 4ce1e3e087d3b35e60c05f423ed09b4523eac8cd Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Thu, 22 Oct 2015 16:00:35 +0900 Subject: [PATCH] cmd: fastboot: support module flashing This patch supports flashing of modules partition which contains kernel modules. The partition is second partion of total partitions. Change-Id: I16f3f1848d630e8dcb2f66d98d1b23a4c9157640 Signed-off-by: Chanho Park --- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c index 23629b9d7..ef9bd274b 100644 --- a/common/cmd_fastboot.c +++ b/common/cmd_fastboot.c @@ -2261,6 +2261,8 @@ int do_sdfuse (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) update_from_sd(part_num, "dtb", getenv("fdtfile")); } + + update_from_sd(part_num, "modules", "modules.img"); update_from_sd(part_num, "rootfs", "rootfs.img"); update_from_sd(part_num, "data", "data.img"); -- 2.34.1