From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 16 Oct 2011 17:51:39 +0200 Subject: [U-Boot] [PATCH 3/5 v1] integrator: do not test first part of the memory In-Reply-To: <1316332361-18454-1-git-send-email-linus.walleij@linaro.org> References: <1316332361-18454-1-git-send-email-linus.walleij@linaro.org> Message-ID: <4E9AFD8B.9040505@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Linus, Le 18/09/2011 09:52, Linus Walleij a ?crit : > When booting from Flash, the Integrator remaps its flash memory > from 0x24000000 to 0x00000000, and starts executing it at > 0x00000000. This ROM thus hides the RAM underneath and first > 0x40000 bytes of the memory cannot be tested by get_ram_size(). > So let's test from 0x40000 to the end of detected memory > instead. Is this masking of RAM by FLASH a hardware thing that cannot be avoided? Can't the U-Boot startup code somehow remap the FLASH elsewhere, and then proceed to really test the whole RAM? Amicalement, -- Albert.