]> git.sur5r.net Git - u-boot/commit
] fix monitor protection for CONFIG_MONITOR_IS_IN_RAM
authorWolfgang Wegner <w.wegner@astro-kom.de>
Tue, 2 Mar 2010 09:59:19 +0000 (10:59 +0100)
committerStefan Roese <sr@denx.de>
Thu, 4 Mar 2010 09:07:12 +0000 (10:07 +0100)
commit8f9a221045a4ace14fe006e1353c593619d1001a
tree8688b09285d8fd109461de2aa62d4c181c9d794f
parentf3651764e57e353251695691677bd95ba5a420bc
] fix monitor protection for CONFIG_MONITOR_IS_IN_RAM

For platforms with flash below ram addresses, the current check to
activate monitor protection is wrong/insufficient. This patch fixes
CONFIG_MONITOR_IS_IN_RAM for these systems by adding a check for
this configuration.

Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c