From patchwork Mon Sep 15 13:35:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4905431 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6A2BDBEEA5 for ; Mon, 15 Sep 2014 13:33:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2A4E82018B for ; Mon, 15 Sep 2014 13:33:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F0E4201C0 for ; Mon, 15 Sep 2014 13:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751036AbaIONdR (ORCPT ); Mon, 15 Sep 2014 09:33:17 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:59983 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbaIONdQ (ORCPT ); Mon, 15 Sep 2014 09:33:16 -0400 Received: by mail-pd0-f174.google.com with SMTP id v10so6195590pde.19 for ; Mon, 15 Sep 2014 06:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=m9J8tUCOlaCvcK6jnkP5l98qnW1bDoRHuGtJez1UVIc=; b=dsvSwdeBC5kWxCiFjUlkNePUO5P2UEyz/pHPHTYmKYBliVzm7SGNMsM9V2BNR85Vry WtMEZgEmjZbJLpt7w01tiehYXMZRKMod4dt36SbnPP64eVxucPaEKep6iFcCrs8a11oO kDWyM6bWTAYghYQmxIzpVXLEeVPrZ3U7Co7pE2IiLl+NclhRY/3334hEFabrhCrBK5mL amvjy5hEzO4H/5vpGVHy6TydARlM0UVvgZwBI58Z79YTj2m5fd7RLkkxjJkNRP450YRB U3R/S1AEjVG93Z9ttOXvETrS+qSJm4Q7bgiYqwEH6J2T28Xul0ZcBdvgocHQ2XfE6YFa kwcw== X-Received: by 10.68.139.99 with SMTP id qx3mr39119702pbb.75.1410787996213; Mon, 15 Sep 2014 06:33:16 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id p6sm10952665pds.13.2014.09.15.06.33.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Sep 2014 06:33:13 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au Date: Mon, 15 Sep 2014 22:35:36 +0900 Message-Id: <20140915133536.21371.34861.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: r8a7794: Reserve memory as other R-Car Gen2 SoCs Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Other R-Car Gen2 SoCs such as r8a7790 and r8a7791 reserve the top 256 MiB of memory for use with CMA. Adjust the board-less r8a7794 code to do the same. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/setup-r8a7794.c | 1 + 1 file changed, 1 insertion(+) -- 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/mach-shmobile/setup-r8a7794.c +++ work/arch/arm/mach-shmobile/setup-r8a7794.c 2014-09-15 18:29:21.000000000 +0900 @@ -28,5 +28,6 @@ DT_MACHINE_START(R8A7794_DT, "Generic R8 .init_early = shmobile_init_delay, .init_late = shmobile_init_late, .init_time = rcar_gen2_timer_init, + .reserve = rcar_gen2_reserve, .dt_compat = r8a7794_boards_compat_dt, MACHINE_END