diff options
| author | Heiko Schocher <hs@denx.de> | 2011-04-03 20:10:22 +0000 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2011-04-28 00:52:38 +0200 | 
| commit | f314313494f50aae7b5f75764d67c9f02c84c4df (patch) | |
| tree | 6d4e25598c1da2e61f409648f0d3afc7c5f5e7c6 | |
| parent | 1b41493defcf8940bce91859de16d7a956ebc569 (diff) | |
| download | olio-uboot-2014.01-f314313494f50aae7b5f75764d67c9f02c84c4df.tar.xz olio-uboot-2014.01-f314313494f50aae7b5f75764d67c9f02c84c4df.zip | |
mpc52xx, digsy_mtc: protect default flash sectors
call flash_protect_default() to protect default sectors.
Signed-off-by: Heiko Schocher <hs@denx.de>
| -rw-r--r-- | board/digsy_mtc/digsy_mtc.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/board/digsy_mtc/digsy_mtc.c b/board/digsy_mtc/digsy_mtc.c index 79cb3f134..9f13a3d10 100644 --- a/board/digsy_mtc/digsy_mtc.c +++ b/board/digsy_mtc/digsy_mtc.c @@ -42,6 +42,7 @@  #if defined(CONFIG_DIGSY_REV5)  #include "is45s16800a2.h"  #include <mtd/cfi_flash.h> +#include <flash.h>  #else  #include "is42s16800a-7t.h"  #endif @@ -398,6 +399,7 @@ int update_flash_size (int flash_size)  			size += flash_get_size(base, i);  		}  	} +	flash_protect_default();  	gd->bd->bi_flashstart = base;  	return 0;  } |