From 897f7e681fe64af88b904fcced164df302b98858 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Sun, 13 Apr 2003 11:53:57 +0100 Subject: [PATCH] [ARM PATCH] 1497/1: Cleanup of head.S Patch from Dirk Behme Please see mail thread '[patch] Cleanup of head.S?' from 25 Feb 2003. Let us remove the third part now. The mapping set by this code is done already. The comment of rmk was 'I suspect we can kill (3) without hurting stuff that's merged into the -rmk tree, although I'm sure there's a reason it existed. I'll have to check my mail archives, but I think there was a machine that required, but it appears not to be merged.' So, let's try and see if somebody cries... --- arch/arm/kernel/head.S | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index 97dad3972f37b..04a32ea49695e 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S @@ -205,18 +205,6 @@ __create_page_tables: add r3, r3, #1 << 20 str r3, [r0], #4 @ KERNEL + 3MB - /* - * Ensure that the first section of RAM is present. - * we assume that: - * 1. the RAM is aligned to a 32MB boundary - * 2. the kernel is executing in the same 32MB chunk - * as the start of RAM. - */ - bic r0, r0, #0x01f00000 >> 18 @ round down - and r2, r5, #0xfe000000 @ round down - add r3, r8, r2 @ flags + rambase - str r3, [r0] - bic r8, r8, #0x0c @ turn off cacheable @ and bufferable bits #ifdef CONFIG_DEBUG_LL -- 2.53.0