cmd: fastboot: support module flashing
authorChanho Park <chanho61.park@samsung.com>
Thu, 22 Oct 2015 07:00:35 +0000 (16:00 +0900)
committerChanho Park <chanho61.park@samsung.com>
Thu, 22 Oct 2015 07:00:35 +0000 (16:00 +0900)
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 <chanho61.park@samsung.com>
common/cmd_fastboot.c

index 23629b9d7b0e1d8cd627472d07f035731322f20f..ef9bd274bb82d339cb2d50694b155b3beff2649b 100644 (file)
@@ -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");