From patchwork Wed Jun 5 07:55:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2665961 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id AE47A3FD4F for ; Wed, 5 Jun 2013 07:47:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752181Ab3FEHrz (ORCPT ); Wed, 5 Jun 2013 03:47:55 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:39052 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751723Ab3FEHrz (ORCPT ); Wed, 5 Jun 2013 03:47:55 -0400 Received: by mail-pd0-f173.google.com with SMTP id v10so1450419pde.4 for ; Wed, 05 Jun 2013 00:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=NblSTOBUdyG3keEeKJX3CRYVI4kvWY/Hoe3OLyNkbPw=; b=ZlB73ZXLhqGgeWsu6fRY0nqkMHxdojebAunJv3PUadHBzLFJY7L97MbBT+hhi3h01P bduRTjisJ1IMKqDMnnqHwvVU9dhjFQeFIJhJ5e1GX5+8QJ++J/JsQHsVh57M0veXoP9k kUWKhbZOJ3qaeUDp9SS9rjFKxDeeXVZ1bzVi9AV06527hPW7rGgwkxwl6UWNndutRe5v VhRWe4uFUoSXO44RQxPDDid/I8ZxEHBzLmb65PcsgjtsTzqUoER8c8YRaGbR1tw4k6KA 6T+jWWyL6Z/ysWlps0Ku1x/oqOpAQvsaikzwly0as6296s/KZf436wbcRqQiWVRHJKYR j32w== X-Received: by 10.68.185.194 with SMTP id fe2mr31168784pbc.45.1370418474688; Wed, 05 Jun 2013 00:47:54 -0700 (PDT) Received: from [127.0.0.1] (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id ag4sm66906429pbc.20.2013.06.05.00.47.52 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 00:47:54 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: arnd@arndb.de, horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, Magnus Damm , linux-arm-kernel@lists.infradead.org Date: Wed, 05 Jun 2013 16:55:22 +0900 Message-Id: <20130605075522.17653.20769.sendpatchset@w520> In-Reply-To: <20130605075514.17653.77135.sendpatchset@w520> References: <20130605075514.17653.77135.sendpatchset@w520> Subject: [PATCH 01/02] ARM: shmobile: Let romImage rely on default ATAGS Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Remove the ATAGS data structure from head-shmobile.S since a default ATAGS is already provided by the code in arch/arm/kernel/atags_parser.c. Passing a NULL as ATAGS is valid. For actual hardware specific setup the fixup callback in the board code may be used. Signed-off-by: Magnus Damm --- arch/arm/boot/compressed/head-shmobile.S | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/boot/compressed/head-shmobile.S +++ work/arch/arm/boot/compressed/head-shmobile.S 2013-06-05 11:59:06.000000000 +0900 @@ -55,26 +55,9 @@ __tmp_stack: __continue: #endif /* CONFIG_ZBOOT_ROM_MMC || CONFIG_ZBOOT_ROM_SH_MOBILE_SDHI */ - b 1f -__atags:@ tag #1 - .long 12 @ tag->hdr.size = tag_size(tag_core); - .long 0x54410001 @ tag->hdr.tag = ATAG_CORE; - .long 0 @ tag->u.core.flags = 0; - .long 0 @ tag->u.core.pagesize = 0; - .long 0 @ tag->u.core.rootdev = 0; - @ tag #2 - .long 8 @ tag->hdr.size = tag_size(tag_mem32); - .long 0x54410002 @ tag->hdr.tag = ATAG_MEM; - .long CONFIG_MEMORY_SIZE @ tag->u.mem.size = CONFIG_MEMORY_SIZE; - .long CONFIG_MEMORY_START @ @ tag->u.mem.start = CONFIG_MEMORY_START; - @ tag #3 - .long 0 @ tag->hdr.size = 0 - .long 0 @ tag->hdr.tag = ATAG_NONE; -1: - /* Set board ID necessary for boot */ ldr r7, 1f @ Set machine type register - adr r8, __atags @ Set atag register + mov r8, #0 @ pass null pointer as atag b 2f 1 : .long MACH_TYPE