From patchwork Sun Jan 15 05:59:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 91520 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp888791qgi; Sat, 14 Jan 2017 22:01:04 -0800 (PST) X-Received: by 10.223.151.214 with SMTP id t22mr17788612wrb.2.1484460064639; Sat, 14 Jan 2017 22:01:04 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id o5si17062908wro.241.2017.01.14.22.01.04; Sat, 14 Jan 2017 22:01:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 40FE0A75D2; Sun, 15 Jan 2017 07:00:49 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E9evOIB3p0bR; Sun, 15 Jan 2017 07:00:49 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7B0B6B38AE; Sun, 15 Jan 2017 07:00:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A0FE3A75F3 for ; Sun, 15 Jan 2017 06:59:40 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nrVgxC5XiKqy for ; Sun, 15 Jan 2017 06:59:40 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by theia.denx.de (Postfix) with ESMTPS id 2F1E8A75D7 for ; Sun, 15 Jan 2017 06:59:36 +0100 (CET) Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-10.nifty.com with ESMTP id v0F5xD3e016694; Sun, 15 Jan 2017 14:59:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v0F5xD3e016694 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1484459957; bh=U5bBtFcxWU/3Z9BOXi0JnvZCMWVYgBbTJZvvISI6LS0=; h=From:To:Cc:Subject:Date:From; b=Othy0INpZUHK73UHjkFj0g5W2wqKlmmjrU7yHV7igfHfSPKz3YU3JnunNSPtoAcKb soKXHdRHIKrjTtg56iLIbooPdzV9SerXyW6hQKHYodbNXZ06ZLH8jdr13UdOy1cvFp 1mEBf/6ujo6VTsCLZ2to4aAdP+ojzN2zNHsfabA6gE/MVJsnDoqsNKv8R2K0xrlUQ6 Q3u5VwlsB+2Ab2KR239zj+9Bc94xJqQmP9d1sKO6TGHFMMKtwjbQf/CAZygIBZLTqY GQJQZnjjORm4F9h77CLKmu8ZLl/6aZsYIK9Bvjtf/29Cfe8q9StLImSQYf0DJA/zJ0 ANohsmkOHwSCA== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sun, 15 Jan 2017 14:59:01 +0900 Message-Id: <1484459950-8644-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Albert Aribaud Subject: [U-Boot] [PATCH 0/9] ARM: uniphier: UniPhier changes for v2017.03-rc1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" Mostly cleanups of SoC init code. Masahiro Yamada (9): ARM: uniphier: remove unneeded argument of uniphier_ld20_pll_init() ARM: uniphier: split out UMC clock enable ARM: uniphier: refactor MEMCONF init code ARM: uniphier: refactor SBC init code ARM: uniphier: refactor Support Card init code ARM: uniphier: make BCU init into void function ARM: uniphier: refactor board_init() ARM: uniphier: refactor spl_init_board() ARM: uniphier: move SBC and Support Card init code to U-Boot proper arch/arm/mach-uniphier/Makefile | 10 +- arch/arm/mach-uniphier/bcu/bcu-ld4.c | 4 +- arch/arm/mach-uniphier/bcu/bcu-sld3.c | 4 +- arch/arm/mach-uniphier/board_init.c | 237 +++++++++++++-------- arch/arm/mach-uniphier/clk/Makefile | 18 +- .../clk/{early-clk-ld11.c => clk-dram-ld11.c} | 8 +- .../clk/{early-clk-ld20.c => clk-dram-ld20.c} | 8 +- .../clk/{early-clk-pro5.c => clk-dram-pro5.c} | 9 +- .../clk/{early-clk-pxs2.c => clk-dram-pxs2.c} | 14 +- .../clk/{early-clk-ld4.c => clk-dram-sld3.c} | 9 +- arch/arm/mach-uniphier/clk/clk-early-ld11.c | 21 ++ arch/arm/mach-uniphier/clk/clk-early-sld3.c | 30 +++ arch/arm/mach-uniphier/clk/dpll-pro5.c | 6 + arch/arm/mach-uniphier/clk/dpll-pxs2.c | 6 + arch/arm/mach-uniphier/clk/pll-ld20.c | 4 +- arch/arm/mach-uniphier/dram/Makefile | 2 + arch/arm/mach-uniphier/dram/umc-pro5.c | 12 ++ arch/arm/mach-uniphier/dram/umc-sld3.c | 6 + arch/arm/mach-uniphier/init.h | 56 ++--- arch/arm/mach-uniphier/init/Makefile | 15 -- arch/arm/mach-uniphier/init/init-ld11.c | 63 ------ arch/arm/mach-uniphier/init/init-ld20.c | 62 ------ arch/arm/mach-uniphier/init/init-ld4.c | 59 ----- arch/arm/mach-uniphier/init/init-pro4.c | 56 ----- arch/arm/mach-uniphier/init/init-pro5.c | 42 ---- arch/arm/mach-uniphier/init/init-pxs2.c | 50 ----- arch/arm/mach-uniphier/init/init-sld3.c | 49 ----- arch/arm/mach-uniphier/init/init-sld8.c | 59 ----- arch/arm/mach-uniphier/init/init.c | 71 ------ arch/arm/mach-uniphier/memconf.c | 163 ++++++++++++++ arch/arm/mach-uniphier/memconf/Makefile | 9 - arch/arm/mach-uniphier/memconf/memconf-pxs2.c | 68 ------ arch/arm/mach-uniphier/memconf/memconf-sld3.c | 60 ------ arch/arm/mach-uniphier/memconf/memconf.c | 107 ---------- arch/arm/mach-uniphier/micro-support-card.c | 7 +- arch/arm/mach-uniphier/micro-support-card.h | 5 - arch/arm/mach-uniphier/sbc/Makefile | 17 +- arch/arm/mach-uniphier/sbc/sbc-admulti.c | 53 ----- arch/arm/mach-uniphier/sbc/sbc-ld11.c | 25 +++ arch/arm/mach-uniphier/sbc/sbc-ld4.c | 6 +- arch/arm/mach-uniphier/sbc/sbc-pxs2.c | 6 +- .../arm/mach-uniphier/sbc/{sbc-savepin.c => sbc.c} | 36 +++- arch/arm/mach-uniphier/spl_board_init.c | 185 ++++++++++++++++ 43 files changed, 713 insertions(+), 1024 deletions(-) rename arch/arm/mach-uniphier/clk/{early-clk-ld11.c => clk-dram-ld11.c} (74%) rename arch/arm/mach-uniphier/clk/{early-clk-ld20.c => clk-dram-ld20.c} (78%) rename arch/arm/mach-uniphier/clk/{early-clk-pro5.c => clk-dram-pro5.c} (76%) rename arch/arm/mach-uniphier/clk/{early-clk-pxs2.c => clk-dram-pxs2.c} (70%) rename arch/arm/mach-uniphier/clk/{early-clk-ld4.c => clk-dram-sld3.c} (69%) create mode 100644 arch/arm/mach-uniphier/clk/clk-early-ld11.c create mode 100644 arch/arm/mach-uniphier/clk/clk-early-sld3.c create mode 100644 arch/arm/mach-uniphier/clk/dpll-pro5.c create mode 100644 arch/arm/mach-uniphier/clk/dpll-pxs2.c create mode 100644 arch/arm/mach-uniphier/dram/umc-pro5.c create mode 100644 arch/arm/mach-uniphier/dram/umc-sld3.c delete mode 100644 arch/arm/mach-uniphier/init/Makefile delete mode 100644 arch/arm/mach-uniphier/init/init-ld11.c delete mode 100644 arch/arm/mach-uniphier/init/init-ld20.c delete mode 100644 arch/arm/mach-uniphier/init/init-ld4.c delete mode 100644 arch/arm/mach-uniphier/init/init-pro4.c delete mode 100644 arch/arm/mach-uniphier/init/init-pro5.c delete mode 100644 arch/arm/mach-uniphier/init/init-pxs2.c delete mode 100644 arch/arm/mach-uniphier/init/init-sld3.c delete mode 100644 arch/arm/mach-uniphier/init/init-sld8.c delete mode 100644 arch/arm/mach-uniphier/init/init.c create mode 100644 arch/arm/mach-uniphier/memconf.c delete mode 100644 arch/arm/mach-uniphier/memconf/Makefile delete mode 100644 arch/arm/mach-uniphier/memconf/memconf-pxs2.c delete mode 100644 arch/arm/mach-uniphier/memconf/memconf-sld3.c delete mode 100644 arch/arm/mach-uniphier/memconf/memconf.c delete mode 100644 arch/arm/mach-uniphier/sbc/sbc-admulti.c create mode 100644 arch/arm/mach-uniphier/sbc/sbc-ld11.c rename arch/arm/mach-uniphier/sbc/{sbc-savepin.c => sbc.c} (58%) create mode 100644 arch/arm/mach-uniphier/spl_board_init.c -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot