Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2abd5a2 authored by Sudhakar Rajashekhara's avatar Sudhakar Rajashekhara Committed by Kevin Hilman
Browse files

davinci: da850/omap-l138: Modify NOR partition info



On DA850/OMAP-L138, NOR flash partition was starting from offset
ZERO erasing the UBL and u-boot when the complete NOR is erased.
This patch moves the start of the partition to 512K, after the
bootloaders and u-boot env variables.

This patch also creates a new partition on NOR Flash to store
Linux kernel image.

Signed-off-by: default avatarSudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 2f72e8dc
Loading
Loading
Loading
Loading
+13 −1
Original line number Original line Diff line number Diff line
@@ -46,8 +46,20 @@


static struct mtd_partition da850_evm_norflash_partition[] = {
static struct mtd_partition da850_evm_norflash_partition[] = {
	{
	{
		.name           = "NOR filesystem",
		.name           = "bootloaders + env",
		.offset         = 0,
		.offset         = 0,
		.size           = SZ_512K,
		.mask_flags     = MTD_WRITEABLE,
	},
	{
		.name           = "kernel",
		.offset         = MTDPART_OFS_APPEND,
		.size           = SZ_2M,
		.mask_flags     = 0,
	},
	{
		.name           = "filesystem",
		.offset         = MTDPART_OFS_APPEND,
		.size           = MTDPART_SIZ_FULL,
		.size           = MTDPART_SIZ_FULL,
		.mask_flags     = 0,
		.mask_flags     = 0,
	},
	},