From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 27 Aug 2014 21:24:05 +0200 Subject: [U-Boot] [PATCH] ARM: datacache always disabled when RAM extends to 0xFFFFFFFF In-Reply-To: <1409133055-18860-1-git-send-email-jaccon.bastiaansen@gmail.com> References: <1409133055-18860-1-git-send-email-jaccon.bastiaansen@gmail.com> Message-ID: <201408272124.05258.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, August 27, 2014 at 11:50:55 AM, Jaccon Bastiaansen wrote: > The dram_bank_mmu_setup() function contains a loop to configure the data > caching policy for each 1 Mbyte page of the RAM memory range. When RAM > extends to 0xFFFFFFFF, the RAM start address + the RAM size will equal > 2^32. But because the RAM start address and RAM size are unsigned longs, > the result of this addition is zero. The loop is therefore not executed > and the datacache is effectively disabled. > > Signed-off-by: Jaccon Bastiaansen Yeah, I sent similar patch [1] long ago. Albert, care to pick it please ? [1] http://lists.denx.de/pipermail/u-boot/2014-August/185254.html Best regards, Marek Vasut