diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2008-09-23 09:38:49 -0500 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2008-09-24 09:58:34 -0500 |
commit | 162c41c03179727a1d14262f703c9a8bc40231fa (patch) | |
tree | 7ff0e37a80e4589aae3d264fe8925f07ea93395a /include/configs/MPC8315ERDB.h | |
parent | d26154c9a692586b66eb6d1f8e1b67c75e40ea70 (diff) | |
download | bootable_bootloader_goldelico_gta04-162c41c03179727a1d14262f703c9a8bc40231fa.zip bootable_bootloader_goldelico_gta04-162c41c03179727a1d14262f703c9a8bc40231fa.tar.gz bootable_bootloader_goldelico_gta04-162c41c03179727a1d14262f703c9a8bc40231fa.tar.bz2 |
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 <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/MPC8315ERDB.h')
-rw-r--r-- | include/configs/MPC8315ERDB.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h index 5879a82..83f64c6 100644 --- a/include/configs/MPC8315ERDB.h +++ b/include/configs/MPC8315ERDB.h @@ -193,6 +193,7 @@ #define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */ #define CFG_FLASH_SIZE 8 /* FLASH size is 8M */ +#define CFG_FLASH_PROTECTION 1 /* Use h/w Flash protection. */ #define CFG_LBLAWBAR0_PRELIM CFG_FLASH_BASE /* Window base at flash base */ #define CFG_LBLAWAR0_PRELIM 0x80000016 /* 8MB window size */ |