From patchwork Fri Nov 24 15:24:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 119589 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2374184qgn; Fri, 24 Nov 2017 07:26:57 -0800 (PST) X-Google-Smtp-Source: AGs4zMZnyHuRa883ia7DFYVp3/Ceu/dqF22ulErVbReB61tILh/KsaBAxbQJbLItZRQ63GEMna0Z X-Received: by 10.80.164.209 with SMTP id x17mr11834680edb.158.1511537217343; Fri, 24 Nov 2017 07:26:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511537217; cv=none; d=google.com; s=arc-20160816; b=023DbqODStWinhYU9dOPcwJQn4Vmlt/aYeyxHodiMpEBUfHCXuTipYFD0//CgkBKK8 4qXJ2oHBk5DP+2HVjzjQlFm/5CIxOcj1o8wNU0iMNav4YUsPrpZ2HhrOFtM0+CdtwREJ GwJ+CgvviuR23xZzDdwa+K4BKktpMMHFnJxNORBISWoQPqdPbmu7kMRCxcdu0Zi7E+qb +dVSoAUdGUzkizjAPUbcL9eipc3tSG3Ana7KtZ7h5KEmpidhTxgha5MTiy6mou1DA3U/ lGH5WY/3VGYJQut4bGo6IuxDt5SV8dO4bntWofDKaek6rL69qSJjiAknZWssTuvq10WM /R6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=+R4gyHmBHyu6mBb2ydCxxTdFH3zNRh84In/apIWj2fw=; b=r1tqY5FdIbiY/ASXV/D3FL7if7N96bSUgMoigKFeuuwnwJlwpw7JPjPsj8IXdZE5BI FQy0XcNeE9Hax7UEkDwwNHUNKBkcCL34yPvoyMdM/6+W5++8UuNaTumq1tIa/RPjD3uG i1d8jE+mGMnS644lmkRFxL6xK0dvQuNmGw818xiTwesc15i+KSacEQTaRkUVgrUZ50Kc mvJ1x9Xhx0ljQbJh94+4886k/QQDQSolKqxaohQeVmj/uEJRJWFVnlTHg0HhxJTXOtc6 GjYHKM9L7sdXc3Tbe1LxbjHJciiYMhonZHAOahMu+MArYvfCdMVnvAx1FF3ZYfO8xqkO hUZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=kWRtuJXC; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id v21si5261980edb.428.2017.11.24.07.26.57; Fri, 24 Nov 2017 07:26:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=kWRtuJXC; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id E8605C21DC1; Fri, 24 Nov 2017 15:25:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id ADB2DC21DF7; Fri, 24 Nov 2017 15:24:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 16C1CC21C4A; Fri, 24 Nov 2017 15:24:19 +0000 (UTC) Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lists.denx.de (Postfix) with ESMTPS id BF617C21DA2 for ; Fri, 24 Nov 2017 15:24:18 +0000 (UTC) Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-10.nifty.com with ESMTP id vAOFO63k016678; Sat, 25 Nov 2017 00:24:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com vAOFO63k016678 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511537047; bh=bl5UAmpwEVh/p/AUZ0Rmh5kZNc7cLbYORdhNTGQZ2pQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kWRtuJXC9ZF7EYIXnwoy2pMZKLXInjXi/TxHc2DkE5a3RRf4X6y3jim7Tsq0aQKnX sTnIguDig3amSXtv8+HY7kOladsRtwUtK8zAIpFZy93aC4wQ/9JFje9hRsQ/IgA8ro fbmq7G6C7BrqZG43IcWi5EDVnAzRYnTON6bzwAMazYmewdnluYXQ72SkCHAWnmX2eC kJid7H4SC6lyZNYO6IFzM23DplQ+42m5Z4tz/bNp28ElQRhA7/qKKzkPU7WIkLxqQF T/oCjiSEZv8SHEVcS0HvNkXzWINp/LNd4xWOlJu19i9kEXsvcG73ohGtlVugElucJ0 2s2IssLrZUiOw== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 25 Nov 2017 00:24:02 +0900 Message-Id: <1511537046-7456-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511537046-7456-1-git-send-email-yamada.masahiro@socionext.com> References: <1511537046-7456-1-git-send-email-yamada.masahiro@socionext.com> Cc: Scott Wood Subject: [U-Boot] [PATCH 1/5] ARM: uniphier: set CONFIG_LOGLEVEL to 6 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Print out KERN_NOTICE or higher level log messages. Signed-off-by: Masahiro Yamada --- configs/uniphier_ld4_sld8_defconfig | 1 + configs/uniphier_v7_defconfig | 1 + configs/uniphier_v8_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/uniphier_ld4_sld8_defconfig b/configs/uniphier_ld4_sld8_defconfig index 3a991d7..542cebd 100644 --- a/configs/uniphier_ld4_sld8_defconfig +++ b/configs/uniphier_ld4_sld8_defconfig @@ -9,6 +9,7 @@ CONFIG_ARCH_UNIPHIER_LD4_SLD8=y CONFIG_MICRO_SUPPORT_CARD=y CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld4-ref" # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set +CONFIG_LOGLEVEL=6 CONFIG_SPL=y CONFIG_SPL_NOR_SUPPORT=y CONFIG_HUSH_PARSER=y diff --git a/configs/uniphier_v7_defconfig b/configs/uniphier_v7_defconfig index b4b54c0..9082ba5 100644 --- a/configs/uniphier_v7_defconfig +++ b/configs/uniphier_v7_defconfig @@ -8,6 +8,7 @@ CONFIG_SPL_NAND_SUPPORT=y CONFIG_MICRO_SUPPORT_CARD=y CONFIG_DEFAULT_DEVICE_TREE="uniphier-pxs2-vodka" # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set +CONFIG_LOGLEVEL=6 CONFIG_SPL=y CONFIG_SPL_NOR_SUPPORT=y CONFIG_HUSH_PARSER=y diff --git a/configs/uniphier_v8_defconfig b/configs/uniphier_v8_defconfig index bc4bbbf..746e451 100644 --- a/configs/uniphier_v8_defconfig +++ b/configs/uniphier_v8_defconfig @@ -7,6 +7,7 @@ CONFIG_ARCH_UNIPHIER_V8_MULTI=y CONFIG_MICRO_SUPPORT_CARD=y CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld20-ref" # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set +CONFIG_LOGLEVEL=6 CONFIG_HUSH_PARSER=y CONFIG_CMD_CONFIG=y CONFIG_CMD_IMLS=y From patchwork Fri Nov 24 15:24:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 119586 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2371230qgn; Fri, 24 Nov 2017 07:24:26 -0800 (PST) X-Google-Smtp-Source: AGs4zMbXJ8QDjH5LVI8NGVETwdex7jI8fqzAiOJExOrXUEAKOPWezFRE7LnG5dhpRsum0Ep5uz3A X-Received: by 10.80.174.230 with SMTP id f35mr39517875edd.25.1511537066803; Fri, 24 Nov 2017 07:24:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511537066; cv=none; d=google.com; s=arc-20160816; b=d7Fr6wBeCtwxG9w+WU5cCmfEsx/V85SIkiqKjYDdRPh6/bl8hmXU+bUMRKUQn6irva s7nJoz0pCngoRi5KNKBCtBTOewHqcBvsgEb7f1Yte0TagbBL4qwlq/uRDn6Ni5iVChtA zkqdSOGXosti8KCu0WvwoTqQsqfWAOrW10G5fc2Drd+Old1g8/YBNHTPVT4a5RIvebOE KeOwcRrKh1Nk4VX628hqxsau3qSgTanhpeTfewEkX0kfmJceV/+vJVu41qKLNfuJItJx +CoUE0Jwt9awnoopBFZlAwRs/5WlsbjrKULu9Pl8MpebEuJSpvs40gbBrAXAPLabsBgU OTlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=PEUYf+YD8M8cu7wc2xOSMC4Saaa3N48ooWdW+ZaqReQ=; b=lhxKi1SGRVhEbEqmC0OnRC0sJjCaZAx4T5VWuAAfWU55Kbv5gT8lH+dszwsB9rXSRN v38G1JUDxJA6JGJeL+nrRz22DQPkxbT3w3HDbf/Fjpgevb8cpO0jPces9D0fA8K+bylt pY3okN9ekBT+dq8fug2KxjADyonUvBu+M651+yA3axLfieqrRAq133VtjIXe0dPhUJNZ v26lDw1kBpHdaegCcJBVb502dkPodMFvDqq4rwHamel015EuzDxlTLlx0/IFSw2662ZR NrQ40ZSvZk7OpJZn3tWH1XrX+n46WwkbzTiwPlWvw+VELpOFfYrW6JOAxYQT9Vlqiu7D cLpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=UxOqENiM; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id m33si63540ede.423.2017.11.24.07.24.26; Fri, 24 Nov 2017 07:24:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=UxOqENiM; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id DEF55C21E01; Fri, 24 Nov 2017 15:24:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C723DC21D72; Fri, 24 Nov 2017 15:24:21 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CCC84C21DA9; Fri, 24 Nov 2017 15:24:19 +0000 (UTC) Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lists.denx.de (Postfix) with ESMTPS id 93728C21D72 for ; Fri, 24 Nov 2017 15:24:18 +0000 (UTC) Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-10.nifty.com with ESMTP id vAOFO63l016678; Sat, 25 Nov 2017 00:24:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com vAOFO63l016678 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511537048; bh=v+Y6knRmJ9DTTgbF+/cyISX8UqyEkhns2RzylhW6GpA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UxOqENiM4MpsZELFNeJ2Iw+lQi3sqKO65vpanhiz+J2bSO/n+E9GbLEWuWE/gs1S4 SmcxlN50wOICR2DIWlCrdOYZmLdptbXgdB2eUp1naZ91yDsZNOrA8Pel7xeEHprMdB NovO6F0mkmolyfILcLt+z2kPCn5mAjI//k2w5c78RGtCu1BeRENQsezYQ4AFmk/2WJ nJ4JBJBn69K8ilNCWTwIB2y+xsRshIoc5jiS7xJEgFUeJ0s+204p7uCgEvrybDEwEZ iMBNFXi90cO46crG1MWQX+pBJtIA6qRCsBIXDA7mIAkX4IphSyRAP3wtpPLubVtoG8 /uffjlSLcspLA== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 25 Nov 2017 00:24:03 +0900 Message-Id: <1511537046-7456-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511537046-7456-1-git-send-email-yamada.masahiro@socionext.com> References: <1511537046-7456-1-git-send-email-yamada.masahiro@socionext.com> Cc: Scott Wood Subject: [U-Boot] [PATCH 2/5] ARM: uniphier: remove IRQ settings X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This work-around has been here in U-Boot because the AIDET and GPIO drivers were missing in the upstream Linux. Both are now available in Linus' tree: - drivers/irqchip/irq-uniphier-aidet.c - drivers/gpio/gpio-uniphier.c Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/board_init.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c index a6ee22e..28784ea 100644 --- a/arch/arm/mach-uniphier/board_init.c +++ b/arch/arm/mach-uniphier/board_init.c @@ -17,37 +17,6 @@ DECLARE_GLOBAL_DATA_PTR; -static void uniphier_setup_xirq(void) -{ - const void *fdt = gd->fdt_blob; - int soc_node, aidet_node; - const fdt32_t *val; - unsigned long aidet_base; - u32 tmp; - - soc_node = fdt_path_offset(fdt, "/soc"); - if (soc_node < 0) - return; - - aidet_node = fdt_subnode_offset_namelen(fdt, soc_node, "aidet", 5); - if (aidet_node < 0) - return; - - val = fdt_getprop(fdt, aidet_node, "reg", NULL); - if (!val) - return; - - aidet_base = fdt32_to_cpu(*val); - - tmp = readl(aidet_base + 8); /* AIDET DETCONFR2 */ - tmp |= 0x00ff0000; /* Set XIRQ0-7 low active */ - writel(tmp, aidet_base + 8); - - tmp = readl(0x55000090); /* IRQCTL */ - tmp |= 0x000000ff; - writel(tmp, 0x55000090); -} - #ifdef CONFIG_ARCH_UNIPHIER_LD11 static void uniphier_ld11_misc_init(void) { @@ -192,10 +161,6 @@ int board_init(void) led_puts("U3"); - uniphier_setup_xirq(); - - led_puts("U4"); - support_card_late_init(); led_puts("Uboo"); From patchwork Fri Nov 24 15:24:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 119587 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2372655qgn; Fri, 24 Nov 2017 07:25:38 -0800 (PST) X-Google-Smtp-Source: AGs4zMZeCPSkAGIDEuPtYGDawN1JXQUv5dVjNE6/6/mEDP4oqt9A9D+OjK6aYe5MMZ0TOq8FgweF X-Received: by 10.80.157.141 with SMTP id w13mr42090991ede.151.1511537138165; Fri, 24 Nov 2017 07:25:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511537138; cv=none; d=google.com; s=arc-20160816; b=uJHyBKTYrRvp3WJ2qtk9GVfv6ZCeQcFLPDAjmJOpXYD+K+QkTzdRVTvvBn24JD81BG dguemvn5u9bW//HrLofgsc/J9BO5Ic3FivkFz94StJHm80aFI3+vt816eSI5MSbHaAsY md6n3+2ms31J4Jadnn4D/M7MBhjNo/+iQ+cBvLB5fByR4mkAFhsIIVGD5GZwasm1A1hs poI7wOqnzcDj82zmqVMHLIPRqetx+uOnQ28kB1IOOwjYdORmK2Aa5H2cHDDHs3WJTjC1 f4wTnqb+2jo0TffRUJEF2NNtMol1rMUSvZveXhan2yv3/o4iRvogYyOdPOEF/t3JQhAp KKzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=GUW7kfbrz+XQq3eH306dTu/MdObPJfFJMKQalTINbUI=; b=WKPSrgr/aZoABOQ2sfUZ/ubrDflEXMWQqQwJmf8PL58pZiL2laX3WT3MqTT+sYsC2R GaD+vrzxzRYbAH+ls8tbbPabGflK85oyd8GQ5rC4ov/mKp01DkKll1haW1I/pMqQeGtS 5SUCdwHw7U6/lf/IWb3PSGGnRPITcrjc7t7UyR1xlKHizPLODMoZqPWJvfgjEC3muq7Q 7QFzk7bLY8q0QRLzhDRc/TylnkpxDcXo8TC0ZKY+IIhF+bXtP71tSUpEx7kBCUWmApN8 PEYDg4FYOviWPTYfoAULVicQgNwqn0MhkuDLac/tVEUvD3HXetF6rjUTfJJn4kfCqoPT YBpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=UVYcPCFH; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id s13si8239984edk.452.2017.11.24.07.25.37; Fri, 24 Nov 2017 07:25:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=UVYcPCFH; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id A8616C21DB9; Fri, 24 Nov 2017 15:24:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C697EC21DB9; Fri, 24 Nov 2017 15:24:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D5A46C21C4A; Fri, 24 Nov 2017 15:24:19 +0000 (UTC) Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lists.denx.de (Postfix) with ESMTPS id 8A974C21C4A for ; Fri, 24 Nov 2017 15:24:18 +0000 (UTC) Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-10.nifty.com with ESMTP id vAOFO63m016678; Sat, 25 Nov 2017 00:24:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com vAOFO63m016678 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511537049; bh=nb3+c3B/xCtH6YM39g/Xotv4X2b0NMsl5S9btpMZjck=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UVYcPCFHMv1/h4dVYV8GqMZDiqiiXjrIcfJM0/QaZirVG8PNjlDKhrr7mcTIKCz7c Y0xr7vBWtk0PuwdFfkR59EsdlxpQvi42Et2bzYggKtoKxbS8Okho6aF3gQUgvRa1K1 YxIrKKbB00gqzEOvhYYyf7YJfhgYQ5oh/9CXXEKs2o67sBOF+ePHIwEtQQFo4F/chf 1VKrew8jLbW3ryz+ee/xFV/ERI8yLoXL3QZDkXl5GBH8YYJq2CTSIC37L5+IMYaZ02 4yJ94jrGHUeuEi2kU5ad2IjhJyda1+lmKmZVTonc/aI0z6jysRziJQ9nGM3vrfiD5w O6mJn7+kGiAuQ== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 25 Nov 2017 00:24:04 +0900 Message-Id: <1511537046-7456-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511537046-7456-1-git-send-email-yamada.masahiro@socionext.com> References: <1511537046-7456-1-git-send-email-yamada.masahiro@socionext.com> Cc: Scott Wood Subject: [U-Boot] [PATCH 3/5] ARM: uniphier: remove XIRQ pin settings X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The XIRQ pins are now set up on the Linux side by the GPIO hogging. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/board_init.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c index 28784ea..121b786 100644 --- a/arch/arm/mach-uniphier/board_init.c +++ b/arch/arm/mach-uniphier/board_init.c @@ -17,24 +17,9 @@ DECLARE_GLOBAL_DATA_PTR; -#ifdef CONFIG_ARCH_UNIPHIER_LD11 -static void uniphier_ld11_misc_init(void) -{ - sg_set_pinsel(149, 14, 8, 4); /* XIRQ0 -> XIRQ0 */ - sg_set_iectrl(149); - sg_set_pinsel(153, 14, 8, 4); /* XIRQ4 -> XIRQ4 */ - sg_set_iectrl(153); -} -#endif - #ifdef CONFIG_ARCH_UNIPHIER_LD20 static void uniphier_ld20_misc_init(void) { - sg_set_pinsel(149, 14, 8, 4); /* XIRQ0 -> XIRQ0 */ - sg_set_iectrl(149); - sg_set_pinsel(153, 14, 8, 4); /* XIRQ4 -> XIRQ4 */ - sg_set_iectrl(153); - /* ES1 errata: increase VDD09 supply to suppress VBO noise */ if (uniphier_get_soc_revision() == 1) { writel(0x00000003, 0x6184e004); @@ -105,7 +90,6 @@ static const struct uniphier_initdata uniphier_initdata[] = { .sbc_init = uniphier_ld11_sbc_init, .pll_init = uniphier_ld11_pll_init, .clk_init = uniphier_ld11_clk_init, - .misc_init = uniphier_ld11_misc_init, }, #endif #if defined(CONFIG_ARCH_UNIPHIER_LD20)