]> code.ossystems Code Review - bsp/u-boot.git/commit
spi: sf_ops: Add SPI protection mechanism from the kernel
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 16 Oct 2015 16:33:30 +0000 (13:33 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 28 Oct 2015 13:02:27 +0000 (11:02 -0200)
commit6e057b95c8d2937661763c8201c479cd04bc91fa
tree08a2ded8cae8053cdf8c0f94f5617b1eb1ed3355
parent3f150e4b1c17b9fc71884690bc903b44c1db9836
spi: sf_ops: Add SPI protection mechanism from the kernel

Add the SPI NOR protection mechanism from the kernel.

This code is based on the work from Brian Norris <computersforpeace@gmail.com>

https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/mtd/spi-nor/spi-nor.c?id=62593cf40b23b523b9fc9334ca61ba6c595ebb09

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mtd/spi/sf_ops.c
include/spi_flash.h