From 162c41c03179727a1d14262f703c9a8bc40231fa Mon Sep 17 00:00:00 2001 From: Kim Phillips Date: Tue, 23 Sep 2008 09:38:49 -0500 Subject: mpc83xx: add h/w flash protection to board configs the operating system may leave flash in a h/w locked state after writing. This allows u-boot to continue to write flash by enabling h/w unlocking by default. Signed-off-by: Kim Phillips --- include/configs/MPC8313ERDB.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/MPC8313ERDB.h') diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h index 55d78528d..b36121758 100644 --- a/include/configs/MPC8313ERDB.h +++ b/include/configs/MPC8313ERDB.h @@ -174,6 +174,7 @@ #define CONFIG_FLASH_CFI_DRIVER /* use the CFI driver */ #define CFG_FLASH_BASE 0xFE000000 /* start of FLASH */ #define CFG_FLASH_SIZE 8 /* flash size in MB */ +#define CFG_FLASH_PROTECTION 1 /* Use h/w Flash protection. */ #define CFG_FLASH_EMPTY_INFO /* display empty sectors */ #define CFG_FLASH_USE_BUFFER_WRITE /* buffer up multiple bytes */ -- cgit v1.2.3