{"id":813692,"url":"http://patchwork.ozlabs.org/api/patches/813692/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170914030744.8956-3-wenyou.yang@microchip.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170914030744.8956-3-wenyou.yang@microchip.com>","list_archive_url":null,"date":"2017-09-14T03:07:41","name":"[U-Boot,v3,2/5] ARM: at91: Add the SoC options to Kconfig","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"1eafc8cfb81dd8c4d118df840e795b84be15f2b6","submitter":{"id":69532,"url":"http://patchwork.ozlabs.org/api/people/69532/?format=json","name":"Wenyou Yang","email":"Wenyou.Yang@microchip.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170914030744.8956-3-wenyou.yang@microchip.com/mbox/","series":[{"id":3016,"url":"http://patchwork.ozlabs.org/api/series/3016/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3016","date":"2017-09-14T03:07:39","name":"configs: at91: Remove value of CONFIG_SYS_EXTRA_OPTIONS option","version":3,"mbox":"http://patchwork.ozlabs.org/series/3016/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/813692/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/813692/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xt3T50XQXz9t3f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 13:11:05 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid CD31AC21F5B; Thu, 14 Sep 2017 03:09:48 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 16B2CC21EEA;\n\tThu, 14 Sep 2017 03:09:47 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid C8867C21E28; Thu, 14 Sep 2017 03:09:30 +0000 (UTC)","from DVREDG01.corp.atmel.com (nasmtp01.atmel.com [192.199.1.245])\n\tby lists.denx.de (Postfix) with ESMTPS id 38381C21E26\n\tfor <u-boot@lists.denx.de>; Thu, 14 Sep 2017 03:09:25 +0000 (UTC)","from apsmtp01.atmel.com (10.168.254.31) by DVREDG01.corp.atmel.com\n\t(10.42.103.30) with Microsoft SMTP Server (TLS) id 14.3.235.1;\n\tWed, 13 Sep 2017 21:08:33 -0600","from shaarm01.corp.atmel.com (10.168.254.13) by apsmtp01.atmel.com\n\t(10.168.254.31) with Microsoft SMTP Server id 14.3.235.1;\n\tThu, 14 Sep 2017 11:12:57 +0800"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"Wenyou Yang <wenyou.yang@microchip.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>, Simon Glass\n\t<sjg@chromium.org>, Heiko Schocher <hs@denx.de>, Tom Rini\n\t<trini@konsulko.com>, Andreas <andreas@biessmann.org>","Date":"Thu, 14 Sep 2017 11:07:41 +0800","Message-ID":"<20170914030744.8956-3-wenyou.yang@microchip.com>","X-Mailer":"git-send-email 2.13.0","In-Reply-To":"<20170914030744.8956-1-wenyou.yang@microchip.com>","References":"<20170914030744.8956-1-wenyou.yang@microchip.com>","MIME-Version":"1.0","Subject":"[U-Boot] [PATCH v3 2/5] ARM: at91: Add the SoC options to Kconfig","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"From: Wenyou Yang <wenyou.yang@atmel.com>\n\nTo prepare to remove the SoCs options such as SAMA5D2, SAMA5D3\nand SAMA5D4 from the CONFIG_SYS_EXTRA_OPTIONS option which is\ndeprecated, add the SoC options to Kconfig.\n\nSigned-off-by: Wenyou Yang <wenyou.yang@microchip.com>\n---\n\nChanges in v3: None\nChanges in v2: None\n\n arch/arm/mach-at91/Kconfig | 106 +++++++++++++++++++++++++++++++++------------\n 1 file changed, 79 insertions(+), 27 deletions(-)","diff":"diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig\nindex 2ca551044b..5dc4dcc4fe 100644\n--- a/arch/arm/mach-at91/Kconfig\n+++ b/arch/arm/mach-at91/Kconfig\n@@ -3,6 +3,58 @@ if ARCH_AT91\n config AT91FAMILY\n \tdef_bool y\n \n+config AT91SAM9260\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9G20\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9XE\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9261\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9263\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9G45\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9M10G45\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9N12\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9RL\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config AT91SAM9X5\n+\tbool\n+\tselect CPU_ARM926EJS\n+\n+config SAMA5D2\n+\tbool\n+\tselect CPU_V7\n+\n+config SAMA5D3\n+\tbool\n+\tselect CPU_V7\n+\n+config SAMA5D4\n+\tbool\n+\tselect CPU_V7\n+\n choice\n \tprompt \"Atmel AT91 board select\"\n \toptional\n@@ -13,24 +65,24 @@ config TARGET_AT91RM9200EK\n \n config TARGET_AT91SAM9260EK\n \tbool \"Atmel at91sam9260 reference board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9260\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_ETHERNUT5\n \tbool \"Ethernut5 board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9XE\n \n config TARGET_SNAPPER9260\n \tbool \"Support snapper9260\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9260\n \tselect DM\n \tselect DM_SERIAL\n \tselect DM_GPIO\n \n config TARGET_GURNARD\n \tbool \"Support gurnard\"\n+\tselect AT91SAM9G45\n \tselect BOARD_LATE_INIT\n-\tselect CPU_ARM926EJS\n \tselect DM\n \tselect DM_SERIAL\n \tselect DM_GPIO\n@@ -38,107 +90,107 @@ config TARGET_GURNARD\n \n config TARGET_AT91SAM9261EK\n \tbool \"Atmel at91sam9261 reference board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9261\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_PM9261\n \tbool \"Ronetix pm9261 board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9261\n \n config TARGET_AT91SAM9263EK\n \tbool \"Atmel at91sam9263 reference board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9263\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_USB_A9263\n \tbool \"Caloa USB A9260 board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9263\n \n config TARGET_PM9263\n \tbool \"Ronetix pm9263 board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9263\n \n config TARGET_AT91SAM9M10G45EK\n \tbool \"Atmel AT91SAM9M10G45-EK board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9M10G45\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_PM9G45\n \tbool \"Ronetix pm9g45 board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9G45\n \n config TARGET_PICOSAM9G45\n \tbool \"Mini-box picosam9g45 board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9M10G45\n \tselect SUPPORT_SPL\n \n config TARGET_AT91SAM9N12EK\n \tbool \"Atmel AT91SAM9N12-EK board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9N12\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_AT91SAM9RLEK\n \tbool \"Atmel at91sam9rl reference board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9RL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_AT91SAM9X5EK\n \tbool \"Atmel AT91SAM9X5-EK board\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9X5\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_SAMA5D2_PTC\n \tbool \"SAMA5D2 PTC board\"\n-\tselect CPU_V7\n+\tselect SAMA5D2\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_SAMA5D2_XPLAINED\n \tbool \"SAMA5D2 Xplained board\"\n-\tselect CPU_V7\n+\tselect SAMA5D2\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_SAMA5D3_XPLAINED\n \tbool \"SAMA5D3 Xplained board\"\n-\tselect CPU_V7\n+\tselect SAMA5D3\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_SAMA5D3XEK\n \tbool \"SAMA5D3X-EK board\"\n+\tselect SAMA5D3\n \tselect BOARD_LATE_INIT\n-\tselect CPU_V7\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_SAMA5D4_XPLAINED\n \tbool \"SAMA5D4 Xplained board\"\n-\tselect CPU_V7\n+\tselect SAMA5D4\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_SAMA5D4EK\n \tbool \"SAMA5D4 Evaluation Kit\"\n-\tselect CPU_V7\n+\tselect SAMA5D4\n \tselect SUPPORT_SPL\n \tselect BOARD_EARLY_INIT_F\n \n config TARGET_MA5D4EVK\n \tbool \"Aries MA5D4EVK Evaluation Kit\"\n-\tselect CPU_V7\n+\tselect SAMA5D4\n \tselect SUPPORT_SPL\n \n config TARGET_MEESC\n \tbool \"Support meesc\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9263\n \n config TARGET_CORVUS\n \tbool \"Support corvus\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9M10G45\n \tselect SUPPORT_SPL\n \tselect DM\n \tselect DM_SERIAL\n@@ -147,7 +199,7 @@ config TARGET_CORVUS\n \n config TARGET_TAURUS\n \tbool \"Support taurus\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9G20\n \tselect SUPPORT_SPL\n \tselect DM\n \tselect DM_SERIAL\n@@ -156,7 +208,7 @@ config TARGET_TAURUS\n \n config TARGET_SMARTWEB\n \tbool \"Support smartweb\"\n-\tselect CPU_ARM926EJS\n+\tselect AT91SAM9260\n \tselect SUPPORT_SPL\n \tselect DM\n \tselect DM_SERIAL\n@@ -165,7 +217,7 @@ config TARGET_SMARTWEB\n \n config TARGET_VINCO\n \tbool \"Support VINCO\"\n-\tselect CPU_V7\n+\tselect SAMA5D4\n \tselect SUPPORT_SPL\n \n endchoice\n","prefixes":["U-Boot","v3","2/5"]}