Re: [PATCH] OMAP: Remove flash unlocking from the mapping driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Dmitry Krivoschekov <dmitry.krivoschekov@xxxxxxxxx> [080215 05:43]:
> Since commit 'e619a75ff6201b56' every MTD partition can
> be marked with MTD_POWERUP_LOCK flag  which means the partition
> will be unlocked upon kernel bootup. By default all
> Intel's chips with instant individual block locking feature
> have MTD_POWERUP_FLAG set. So we do not need to unlock
> the flash in the mapping driver anymore.
> 
> Signed-off-by: Dmitry Krivoschekov <dmitry.krivoschekov@xxxxxxxxx>
> ---
>  drivers/mtd/maps/omap_nor.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/mtd/maps/omap_nor.c b/drivers/mtd/maps/omap_nor.c
> index d72cc11..a1342a2 100644
> --- a/drivers/mtd/maps/omap_nor.c
> +++ b/drivers/mtd/maps/omap_nor.c
> @@ -108,10 +108,6 @@ static int __devinit omapflash_probe(struct
> platform_device *pdev)
>  	}
>  	info->mtd->owner = THIS_MODULE;
> 
> -	/* Unlock the flash device. */
> -	if (info->mtd->unlock)
> -		info->mtd->unlock(info->mtd, 0, info->mtd->size);
> -
>  #ifdef CONFIG_MTD_PARTITIONS
>  	err = parse_mtd_partitions(info->mtd, part_probes, &info->parts, 0);
>  	if (err > 0)

Pushing today.

For next time, can you please check your mailer? The pdev line above
is wrapped which causes errors when trying to apply.

Thanks,

Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux