{"id":810474,"url":"http://patchwork.ozlabs.org/api/patches/810474/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170906094755.22262-2-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":"<20170906094755.22262-2-wenyou.yang@microchip.com>","list_archive_url":null,"date":"2017-09-06T09:47:51","name":"[U-Boot,v2,1/5] ARM: at91: Move CONFIG_AT91FAMILY option to Kconfig","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"9d2013a58c0fc9759655187696eb97012e901e27","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/20170906094755.22262-2-wenyou.yang@microchip.com/mbox/","series":[{"id":1742,"url":"http://patchwork.ozlabs.org/api/series/1742/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1742","date":"2017-09-06T09:47:50","name":"configs: at91: Remove value of CONFIG_SYS_EXTRA_OPTIONS option","version":2,"mbox":"http://patchwork.ozlabs.org/series/1742/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810474/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810474/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 3xnJjC5CmKz9sCZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 19:50:07 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 5D469C21E28; Wed,  6 Sep 2017 09:49:13 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BAF63C21D55;\n\tWed,  6 Sep 2017 09:49:10 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 1D38FC21F4A; Wed,  6 Sep 2017 09:49:03 +0000 (UTC)","from DVREDG02.corp.atmel.com (nasmtp01.atmel.com [192.199.1.246])\n\tby lists.denx.de (Postfix) with ESMTPS id EECC0C21DBE\n\tfor <u-boot@lists.denx.de>; Wed,  6 Sep 2017 09:48:58 +0000 (UTC)","from apsmtp01.atmel.com (10.168.254.31) by DVREDG02.corp.atmel.com\n\t(10.42.103.31) with Microsoft SMTP Server (TLS) id 14.3.235.1;\n\tWed, 6 Sep 2017 03:48:16 -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\tWed, 6 Sep 2017 17:52:34 +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":"Wed, 6 Sep 2017 17:47:51 +0800","Message-ID":"<20170906094755.22262-2-wenyou.yang@microchip.com>","X-Mailer":"git-send-email 2.13.0","In-Reply-To":"<20170906094755.22262-1-wenyou.yang@microchip.com>","References":"<20170906094755.22262-1-wenyou.yang@microchip.com>","MIME-Version":"1.0","Subject":"[U-Boot] [PATCH v2 1/5] ARM: at91: Move CONFIG_AT91FAMILY option to\n\tKconfig","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\nMove the CONFIG_AT91FAMILY option from include/mach/<soc>.h header\nfile to Kconfig.\n\nSigned-off-by: Wenyou Yang <wenyou.yang@microchip.com>\n---\n\nChanges in v2: None\n\n arch/arm/mach-at91/Kconfig                    | 3 +++\n arch/arm/mach-at91/include/mach/at91rm9200.h  | 1 -\n arch/arm/mach-at91/include/mach/at91sam9260.h | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9261.h | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9263.h | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9g45.h | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9rl.h  | 5 -----\n arch/arm/mach-at91/include/mach/at91sam9x5.h  | 2 --\n arch/arm/mach-at91/include/mach/sama5d2.h     | 5 -----\n arch/arm/mach-at91/include/mach/sama5d3.h     | 5 -----\n arch/arm/mach-at91/include/mach/sama5d4.h     | 5 -----\n 11 files changed, 3 insertions(+), 43 deletions(-)","diff":"diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig\nindex 20f7eeaf09..2ca551044b 100644\n--- a/arch/arm/mach-at91/Kconfig\n+++ b/arch/arm/mach-at91/Kconfig\n@@ -1,5 +1,8 @@\n if ARCH_AT91\n \n+config AT91FAMILY\n+\tdef_bool y\n+\n choice\n \tprompt \"Atmel AT91 board select\"\n \toptional\ndiff --git a/arch/arm/mach-at91/include/mach/at91rm9200.h b/arch/arm/mach-at91/include/mach/at91rm9200.h\nindex d177bdcae5..d15fb7a292 100644\n--- a/arch/arm/mach-at91/include/mach/at91rm9200.h\n+++ b/arch/arm/mach-at91/include/mach/at91rm9200.h\n@@ -6,7 +6,6 @@\n #ifndef __AT91RM9200_H__\n #define __AT91RM9200_H__\n \n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 family */\n #define CONFIG_ARCH_CPU_INIT\t/* we need arch_cpu_init() for hw timers */\n #define CONFIG_AT91_GPIO\t/* and require always gpio features */\n \ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9260.h b/arch/arm/mach-at91/include/mach/at91sam9260.h\nindex 1a4e84b050..24d5dbd68a 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9260.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9260.h\n@@ -19,11 +19,6 @@\n #define AT91SAM9260_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9261.h b/arch/arm/mach-at91/include/mach/at91sam9261.h\nindex 914a3b0460..06403ce225 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9261.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9261.h\n@@ -19,11 +19,6 @@\n #define AT91SAM9261_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9263.h b/arch/arm/mach-at91/include/mach/at91sam9263.h\nindex 71675abf82..be9a665db5 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9263.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9263.h\n@@ -15,11 +15,6 @@\n #define AT91SAM9263_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9g45.h b/arch/arm/mach-at91/include/mach/at91sam9g45.h\nindex 5c32e24ed0..96922c4e6b 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9g45.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9g45.h\n@@ -13,11 +13,6 @@\n #define AT91SAM9G45_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9rl.h b/arch/arm/mach-at91/include/mach/at91sam9rl.h\nindex 70bbf4edaa..8f9155c9ea 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9rl.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9rl.h\n@@ -15,11 +15,6 @@\n #define AT91SAM9RL_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/at91sam9x5.h b/arch/arm/mach-at91/include/mach/at91sam9x5.h\nindex e7224e432d..f9710a172f 100644\n--- a/arch/arm/mach-at91/include/mach/at91sam9x5.h\n+++ b/arch/arm/mach-at91/include/mach/at91sam9x5.h\n@@ -12,8 +12,6 @@\n #ifndef __AT91SAM9X5_H__\n #define __AT91SAM9X5_H__\n \n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 family */\n-\n /*\n  * Peripheral identifiers/interrupts.\n  */\ndiff --git a/arch/arm/mach-at91/include/mach/sama5d2.h b/arch/arm/mach-at91/include/mach/sama5d2.h\nindex 25c85411e5..2ee3d68db3 100644\n--- a/arch/arm/mach-at91/include/mach/sama5d2.h\n+++ b/arch/arm/mach-at91/include/mach/sama5d2.h\n@@ -11,11 +11,6 @@\n #define __SAMA5D2_H\n \n /*\n- * definitions to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* It's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t\t0\t/* FIQ Interrupt ID */\ndiff --git a/arch/arm/mach-at91/include/mach/sama5d3.h b/arch/arm/mach-at91/include/mach/sama5d3.h\nindex d558f95141..0d32e3900f 100644\n--- a/arch/arm/mach-at91/include/mach/sama5d3.h\n+++ b/arch/arm/mach-at91/include/mach/sama5d3.h\n@@ -14,11 +14,6 @@\n #define SAMA5D3_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* it's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* Advanced Interrupt Controller (FIQ) */\ndiff --git a/arch/arm/mach-at91/include/mach/sama5d4.h b/arch/arm/mach-at91/include/mach/sama5d4.h\nindex 78cc2a7a0a..7e2657faeb 100644\n--- a/arch/arm/mach-at91/include/mach/sama5d4.h\n+++ b/arch/arm/mach-at91/include/mach/sama5d4.h\n@@ -11,11 +11,6 @@\n #define __SAMA5D4_H\n \n /*\n- * defines to be used in other places\n- */\n-#define CONFIG_AT91FAMILY\t/* It's a member of AT91 */\n-\n-/*\n  * Peripheral identifiers/interrupts.\n  */\n #define ATMEL_ID_FIQ\t0\t/* FIQ Interrupt */\n","prefixes":["U-Boot","v2","1/5"]}