]> git.sur5r.net Git - u-boot/commit
SPEAr: Enable CONFIG_SYS_FLASH_PROTECTION
authorVipin Kumar <vipin.kumar@st.com>
Mon, 7 May 2012 07:36:54 +0000 (13:06 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:41 +0000 (14:07 +0200)
commit484e0b05f2dca43a827c950c91b31e151b48a8ef
tree8ba3e2186471058738c5cceeb87af2c59651f336
parentbda7f435a22c024959e831f089da19052cfff113
SPEAr: Enable CONFIG_SYS_FLASH_PROTECTION

This patch enables flash protection(lock/unlock) for CFI devices.
This is necessary because the Parallel NOR flash connected on the spear
boards, M28W64, can be locked/unlocked on a sector basis. Moreover, all its
sectors are in locked state at reset and these have to be unlocked explicitly
before being erased or written.

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
include/configs/spear3xx_evb.h