]> git.sur5r.net Git - u-boot/commit
mtd, cfi: introduce void flash_protect_default(void)
authorHeiko Schocher <hs@denx.de>
Mon, 4 Apr 2011 06:10:21 +0000 (08:10 +0200)
committerStefan Roese <sr@denx.de>
Thu, 7 Apr 2011 08:20:22 +0000 (10:20 +0200)
commit6ee1416e8184b4d9ebe6087d396a60bcecf3551c
treea110bf71d130969b8cdeebff2839f1e036f66f3c
parent2c9f48af7315ab7eeba739bec37256b246c64819
mtd, cfi: introduce void flash_protect_default(void)

collect code which protects default sectors in a function, called
flash_protect_default. So boardspecific code can call it too.

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c
include/flash.h