From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gao Ya'nan Date: Fri, 9 Apr 2010 19:06:49 +0800 Subject: [U-Boot] [PATCH 1/2] Fix comments for map_flash_by_law1 Message-ID: <1270811210-2399-1-git-send-email-abutter.gao@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de --- cpu/mpc83xx/start.S | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/mpc83xx/start.S b/cpu/mpc83xx/start.S index 68bb620..d7b03a9 100644 --- a/cpu/mpc83xx/start.S +++ b/cpu/mpc83xx/start.S @@ -1156,7 +1156,7 @@ map_flash_by_law1: ori r4, r4, (CONFIG_SYS_FLASH_BASE)@l stw r4, LBLAWBAR1(r3) /* LBLAWBAR1 <= CONFIG_SYS_FLASH_BASE */ - /* Store 0x80000012 + log2(CONFIG_SYS_FLASH_SIZE) into LBLAWAR1 */ + /* Store 0x80000012 + log2(CONFIG_SYS_FLASH_SIZE) + 1 into LBLAWAR1 */ lis r4, (0x80000012)@h ori r4, r4, (0x80000012)@l li r5, CONFIG_SYS_FLASH_SIZE @@ -1164,7 +1164,7 @@ map_flash_by_law1: addi r4, r4, 1 bne 1b - stw r4, LBLAWAR1(r3) /* LBLAWAR1 <= 8MB Flash Size */ + stw r4, LBLAWAR1(r3) /* LBLAWAR1 <= Flash Size */ blr /* Though all the LBIU Local Access Windows and LBC Banks will be -- 1.7.0