From 6ee1416e8184b4d9ebe6087d396a60bcecf3551c Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Mon, 4 Apr 2011 08:10:21 +0200 Subject: 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 Signed-off-by: Stefan Roese --- include/flash.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/flash.h') diff --git a/include/flash.h b/include/flash.h index 1b6821a0e9..0ca70d9c9c 100644 --- a/include/flash.h +++ b/include/flash.h @@ -92,6 +92,7 @@ typedef unsigned long flash_sect_t; /* Prototypes */ extern unsigned long flash_init (void); +extern void flash_protect_default(void); extern void flash_print_info (flash_info_t *); extern int flash_erase (flash_info_t *, int, int); extern int flash_sect_erase (ulong addr_first, ulong addr_last); -- cgit v1.2.1