{"id":800562,"url":"http://patchwork.ozlabs.org/api/patches/800562/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1502459482-28634-1-git-send-email-aford173@gmail.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":"<1502459482-28634-1-git-send-email-aford173@gmail.com>","list_archive_url":null,"date":"2017-08-11T13:51:20","name":"[U-Boot] Convert CONFIG_SPL_OMAP3_ID_NAND to Kconfig","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"3f2f23471aa5b3025caa05370ee964fde6ffd413","submitter":{"id":67132,"url":"http://patchwork.ozlabs.org/api/people/67132/?format=json","name":"Adam Ford","email":"aford173@gmail.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/1502459482-28634-1-git-send-email-aford173@gmail.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/800562/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/800562/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>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"E9GlUe3a\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xTRJ2363zz9t2h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 11 Aug 2017 23:51:44 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 2D5DFC21E09; Fri, 11 Aug 2017 13:51:37 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 2D552C21C8B;\n\tFri, 11 Aug 2017 13:51:35 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid B8B73C21C8B; Fri, 11 Aug 2017 13:51:33 +0000 (UTC)","from mail-io0-f194.google.com (mail-io0-f194.google.com\n\t[209.85.223.194])\n\tby lists.denx.de (Postfix) with ESMTPS id 2704CC21C3F\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 13:51:33 +0000 (UTC)","by mail-io0-f194.google.com with SMTP id o9so3474079iod.5\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 06:51:33 -0700 (PDT)","from ubuntu16.lan (c-66-41-69-9.hsd1.mn.comcast.net. [66.41.69.9])\n\tby smtp.gmail.com with ESMTPSA id\n\tz7sm421295iof.64.2017.08.11.06.51.30\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 11 Aug 2017 06:51:31 -0700 (PDT)"],"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=FREEMAIL_FROM, KHOP_BIG_TO_CC,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=wKi9ugFRAS4qRYty66gaG6GLaXlKWtKeT0H4wWi5UOk=;\n\tb=E9GlUe3apUsnp9GR0gMmnOHanIgfggyZ2pnWdG1yVxDOJ0kDwfLZHp8qQsTqOy8hxL\n\tj1NjYYfEN2pK/oKU8rGhFamtTYuycQ84ycyrE6IB2YMFqUzIerakZnhKn/12l7u3rTfV\n\tC6TG9X3zq048dES514aHkHiepuDoxsSOlVpFk/7gGI6KVxlEuu/7I2c9MeTniz28uBK+\n\t0aSjWf3MpS1OymNc4fm/PH1KO9MreltdQVPXC/vKKc4MP3ZT/HaoEDydYn0Kmy8/C6SZ\n\t5GodwHTTh1z2o8NLNx22djFswx281AD8I96HwaIsRhseJRsodcXpJGwvd4uD2jywhEAY\n\t+gsg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=wKi9ugFRAS4qRYty66gaG6GLaXlKWtKeT0H4wWi5UOk=;\n\tb=OLPUy/yTfIVKNzqqhybSX5kDHD4OVeDrBrHprHqoe96EmBR/q5TzzZPpZcedNJRlRs\n\t44YARdME9DkWkA7YOO05EtucpdTOC2p3xEsFQ5uyTZrnPgtw+FhncwWZmdl3sDbVHeaP\n\thwMzxgNhmPoZ0OCwSd17k3L3EiOf1vxxy4nnr7vfO8Kh67/q7mXHaLCrLtmR9QnnRq2T\n\t6IJBpXxsA3VAfA+5T125sQvqbPX75bGCVRsZTOLmGn1bajv1HPFRFSXwcDzxXRyY1lxO\n\t+RO5+wCog9eto2fc29ucLx/rULhU+acBeFZTP4SpuBRhzhs52nsSLvACLg3xAb+X4TGR\n\tTyTQ==","X-Gm-Message-State":"AIVw1128iMELhQHil49GQltPucILjm+mIR5Z9ji00L3Sy4RnCgI2xOw0\n\tci5q4nSBKfSAVg==","X-Received":"by 10.107.172.1 with SMTP id v1mr13599925ioe.126.1502459491590; \n\tFri, 11 Aug 2017 06:51:31 -0700 (PDT)","From":"Adam Ford <aford173@gmail.com>","To":"Albert Aribaud <albert.u.boot@aribaud.net>,\n\tIgor Grinberg <grinberg@compulab.co.il>,\n\t\"Albert ARIBAUD (3ADEV)\" <albert.aribaud@3adev.fr>,\n\tEnric Balletbo i Serra <eballetbo@gmail.com>,\n\tAdam Ford <aford173@gmail.com>, Stefan Roese <sr@denx.de>,\n\tSimon Glass <sjg@chromium.org>, York Sun <york.sun@nxp.com>,\n\tHeiko Schocher <hs@denx.de>, Bin Meng <bmeng.cn@gmail.com>,\n\tChristophe Leroy <christophe.leroy@c-s.fr>,\n\tPetr Kulhavy <brain@jikos.cz>, \n\tAlex Deymo <deymo@google.com>, Lokesh Vutla <lokeshvutla@ti.com>,\n\t\"Andrew F. Davis\" <afd@ti.com>,\n\tMasahiro Yamada <yamada.masahiro@socionext.com>, u-boot@lists.denx.de","Date":"Fri, 11 Aug 2017 08:51:20 -0500","Message-Id":"<1502459482-28634-1-git-send-email-aford173@gmail.com>","X-Mailer":"git-send-email 2.7.4","Cc":"adam.ford@logicpd.com","Subject":"[U-Boot] [PATCH] Convert CONFIG_SPL_OMAP3_ID_NAND 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>","MIME-Version":"1.0","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":"This converts the following to Kconfig:\n   CONFIG_SPL_OMAP3_ID_NAND\n\nSigned-off-by: Adam Ford <aford173@gmail.com>\n---\n README                            | 4 ----\n arch/arm/mach-omap2/Kconfig       | 1 +\n arch/arm/mach-omap2/omap3/Kconfig | 6 ++++++\n include/configs/cm_t35.h          | 1 -\n include/configs/omap3_beagle.h    | 1 -\n include/configs/omap3_cairo.h     | 1 -\n include/configs/omap3_evm.h       | 1 -\n include/configs/omap3_igep00x0.h  | 1 -\n include/configs/omap3_logic.h     | 2 --\n include/configs/tao3530.h         | 1 -\n scripts/config_whitelist.txt      | 1 -\n 11 files changed, 7 insertions(+), 13 deletions(-)","diff":"diff --git a/README b/README\nindex 3735916..22294bf 100644\n--- a/README\n+++ b/README\n@@ -3028,10 +3028,6 @@ FIT uImage format:\n \t\tDefine this if you need to first read the OOB and then the\n \t\tdata. This is used, for example, on davinci platforms.\n \n-\t\tCONFIG_SPL_OMAP3_ID_NAND\n-\t\tSupport for an OMAP3-specific set of functions to return the\n-\t\tID and MFR of the first attached NAND chip, if present.\n-\n \t\tCONFIG_SPL_RAM_DEVICE\n \t\tSupport for running image already present in ram, in SPL binary\n \ndiff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig\nindex 89c91d1..533261c 100644\n--- a/arch/arm/mach-omap2/Kconfig\n+++ b/arch/arm/mach-omap2/Kconfig\n@@ -20,6 +20,7 @@ config OMAP34XX\n \timply SPL_LIBGENERIC_SUPPORT\n \timply SPL_MMC_SUPPORT\n \timply SPL_NAND_SUPPORT\n+\timply SPL_OMAP3_ID_NAND\n \timply SPL_POWER_SUPPORT\n \timply SPL_SERIAL_SUPPORT\n \timply SYS_I2C_OMAP24XX\ndiff --git a/arch/arm/mach-omap2/omap3/Kconfig b/arch/arm/mach-omap2/omap3/Kconfig\nindex 7b298d6..b90cade 100644\n--- a/arch/arm/mach-omap2/omap3/Kconfig\n+++ b/arch/arm/mach-omap2/omap3/Kconfig\n@@ -149,6 +149,12 @@ config TARGET_SNIPER\n \n endchoice\n \n+config SPL_OMAP3_ID_NAND\n+\tbool \"Support OMAP3-specific ID and MFR function\"\n+\thelp\n+\t  Support for an OMAP3-specific set of functions to return the\n+\t  ID and MFR of the first attached NAND chip, if present.\n+\n config SYS_SOC\n \tdefault \"omap3\"\n \ndiff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h\nindex f8f3c92..31c8389 100644\n--- a/include/configs/cm_t35.h\n+++ b/include/configs/cm_t35.h\n@@ -260,7 +260,6 @@\n #define CONFIG_SPL_NAND_BASE\n #define CONFIG_SPL_NAND_DRIVERS\n #define CONFIG_SPL_NAND_ECC\n-#define CONFIG_SPL_OMAP3_ID_NAND\n #define CONFIG_SPL_LDSCRIPT\t\t\"arch/arm/mach-omap2/u-boot-spl.lds\"\n \n /* NAND boot config */\ndiff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h\nindex a87a75e..16951bd 100644\n--- a/include/configs/omap3_beagle.h\n+++ b/include/configs/omap3_beagle.h\n@@ -258,7 +258,6 @@\n #define CONFIG_OMAP3_SPI\n \n /* Defines for SPL */\n-#define CONFIG_SPL_OMAP3_ID_NAND\n \n /* NAND boot config */\n #define CONFIG_SYS_NAND_BUSWIDTH_16BIT\ndiff --git a/include/configs/omap3_cairo.h b/include/configs/omap3_cairo.h\nindex 4f8ce54..30eaf50 100644\n--- a/include/configs/omap3_cairo.h\n+++ b/include/configs/omap3_cairo.h\n@@ -183,7 +183,6 @@\n #define CONFIG_OMAP3_SPI\n \n /* Defines for SPL */\n-#define CONFIG_SPL_OMAP3_ID_NAND\n \n /* NAND boot config */\n #define CONFIG_SYS_NAND_5_ADDR_CYCLE\ndiff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h\nindex bc859c8..234cfe8 100644\n--- a/include/configs/omap3_evm.h\n+++ b/include/configs/omap3_evm.h\n@@ -305,7 +305,6 @@\n #define CONFIG_SPL_BSS_START_ADDR\t0x80000000\n #define CONFIG_SPL_BSS_MAX_SIZE\t\t0x80000\t\t/* 512 KB */\n \n-#define CONFIG_SPL_OMAP3_ID_NAND\n #define CONFIG_SPL_LDSCRIPT\t\t\"arch/arm/mach-omap2/u-boot-spl.lds\"\n \n /*\ndiff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h\nindex 39f1e54..5ad354f 100644\n--- a/include/configs/omap3_igep00x0.h\n+++ b/include/configs/omap3_igep00x0.h\n@@ -97,7 +97,6 @@\n #define CONFIG_SYS_ONENAND_BLOCK_SIZE\t(128*1024)\n \n /* NAND config */\n-#define CONFIG_SPL_OMAP3_ID_NAND\n #define CONFIG_SYS_NAND_BUSWIDTH_16BIT\n #define CONFIG_SYS_NAND_5_ADDR_CYCLE\n #define CONFIG_SYS_NAND_PAGE_COUNT\t64\ndiff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h\nindex e5ffb85..8a26536 100644\n--- a/include/configs/omap3_logic.h\n+++ b/include/configs/omap3_logic.h\n@@ -259,8 +259,6 @@\n \n /* Defines for SPL */\n \n-#define CONFIG_SPL_OMAP3_ID_NAND\n-\n /* NAND: SPL falcon mode configs */\n #ifdef CONFIG_SPL_OS_BOOT\n #define CONFIG_CMD_SPL_NAND_OFS\t\t0x240000\ndiff --git a/include/configs/tao3530.h b/include/configs/tao3530.h\nindex 1f36ac6..4da0c4b 100644\n--- a/include/configs/tao3530.h\n+++ b/include/configs/tao3530.h\n@@ -241,7 +241,6 @@\n #define CONFIG_SPL_NAND_BASE\n #define CONFIG_SPL_NAND_DRIVERS\n #define CONFIG_SPL_NAND_ECC\n-#define CONFIG_SPL_OMAP3_ID_NAND\n #define CONFIG_SPL_LDSCRIPT\t\t\"arch/arm/mach-omap2/u-boot-spl.lds\"\n \n /* NAND boot config */\ndiff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt\nindex 4689d63..f90e0f7 100644\n--- a/scripts/config_whitelist.txt\n+++ b/scripts/config_whitelist.txt\n@@ -2267,7 +2267,6 @@ CONFIG_SPL_NAND_SIMPLE\n CONFIG_SPL_NAND_SOFTECC\n CONFIG_SPL_NAND_WORKSPACE\n CONFIG_SPL_NO_CPU_SUPPORT_CODE\n-CONFIG_SPL_OMAP3_ID_NAND\n CONFIG_SPL_PAD_TO\n CONFIG_SPL_PANIC_ON_RAW_IMAGE\n CONFIG_SPL_PBL_PAD\n","prefixes":["U-Boot"]}