X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fflash.h;h=0ca70d9c9cc632bb87e0d3d2e02669d0598c87e5;hb=dbbf13ba7b3a8624016fb369447407c77a8b0f7d;hp=8feca1b5fad5a700c9eb73a63e1f6f921a541332;hpb=3a7b2c21fb08b022e3e624cd071002b4aaed1606;p=u-boot diff --git a/include/flash.h b/include/flash.h index 8feca1b5fa..0ca70d9c9c 100644 --- a/include/flash.h +++ b/include/flash.h @@ -58,6 +58,8 @@ typedef struct { #endif } flash_info_t; +extern flash_info_t flash_info[]; /* info for FLASH chips */ + typedef unsigned long flash_sect_t; /* @@ -90,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);