This patch allows same kernel offset even we use different tzsw offset.
We could start same location for kernel start offset.
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
part_num++;
/* image 5 should be kernel */
+#ifdef CONFIG_KERNEL_OFFSET
+ image[part_num].start_blk = CONFIG_KERNEL_OFFSET * 2048;
+#else
image[part_num].start_blk = image[part_num - 1].start_blk + MOVI_ENV_BLKCNT;
+#endif
image[part_num].used_blk = MOVI_ZIMAGE_BLKCNT;
image[part_num].size = PART_SIZE_KERNEL;
image[part_num].attribute = 0x5;