{"id":691146,"url":"http://patchwork.ozlabs.org/api/patches/691146/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1478239124-22664-1-git-send-email-wenyou.yang@atmel.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":"<1478239124-22664-1-git-send-email-wenyou.yang@atmel.com>","list_archive_url":null,"date":"2016-11-04T05:58:44","name":"[U-Boot,v1] sama5d2_xplained: move CONFIG_SYS_NO_FLASH to default config files","commit_ref":null,"pull_url":null,"state":"deferred","archived":false,"hash":"881e821c2564afe84e617b345da62ce4ea952b49","submitter":{"id":16102,"url":"http://patchwork.ozlabs.org/api/people/16102/?format=json","name":"Wenyou Yang","email":"wenyou.yang@atmel.com"},"delegate":{"id":6342,"url":"http://patchwork.ozlabs.org/api/users/6342/?format=json","username":"abiessmann","first_name":"Andreas","last_name":"Bießmann","email":"andreas.biessmann@googlemail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1478239124-22664-1-git-send-email-wenyou.yang@atmel.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/691146/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/691146/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","Received":["from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 3t9B4902t9z9t1C\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  4 Nov 2016 16:59:21 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 60E97A75CC;\n\tFri,  4 Nov 2016 06:59:19 +0100 (CET)","from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 8l-FfAegYfW7; Fri,  4 Nov 2016 06:59:19 +0100 (CET)","from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 95EFEA75B8;\n\tFri,  4 Nov 2016 06:59:18 +0100 (CET)","from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 73244A75B8\n\tfor <u-boot@lists.denx.de>; Fri,  4 Nov 2016 06:59:15 +0100 (CET)","from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id XpmiuuW0LKgY for <u-boot@lists.denx.de>;\n\tFri,  4 Nov 2016 06:59:15 +0100 (CET)","from eusmtp01.atmel.com (eusmtp01.atmel.com [212.144.249.243])\n\tby theia.denx.de (Postfix) with ESMTPS id 3F7F8A75AC\n\tfor <u-boot@lists.denx.de>; Fri,  4 Nov 2016 06:59:10 +0100 (CET)","from apsmtp01.atmel.com (10.168.254.31) by eusmtp01.atmel.com\n\t(10.145.145.31) with Microsoft SMTP Server id 14.3.235.1;\n\tFri, 4 Nov 2016 06:59:04 +0100","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\tFri, 4 Nov 2016 14:00:20 +0800"],"X-policyd-weight":"NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)","From":"Wenyou Yang <wenyou.yang@atmel.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Fri, 4 Nov 2016 13:58:44 +0800","Message-ID":"<1478239124-22664-1-git-send-email-wenyou.yang@atmel.com>","X-Mailer":"git-send-email 2.7.4","MIME-Version":"1.0","Subject":"[U-Boot] [PATCH v1] sama5d2_xplained: move CONFIG_SYS_NO_FLASH to\n\tdefault config files","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.15","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<http://lists.denx.de/mailman/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":"<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Move CONFIG_SYS_NO_FLASH symbol to the default config files, such as,\nconfigs/sama5d2_xplained_*_defconfig.\n\nSigned-off-by: Wenyou Yang <wenyou.yang@atmel.com>\n---\n\n configs/sama5d2_xplained_mmc_defconfig      | 9 ++++-----\n configs/sama5d2_xplained_spiflash_defconfig | 7 +++----\n include/configs/sama5d2_xplained.h          | 3 ---\n 3 files changed, 7 insertions(+), 12 deletions(-)","diff":"diff --git a/configs/sama5d2_xplained_mmc_defconfig b/configs/sama5d2_xplained_mmc_defconfig\nindex 8a786f1..b63787a 100644\n--- a/configs/sama5d2_xplained_mmc_defconfig\n+++ b/configs/sama5d2_xplained_mmc_defconfig\n@@ -8,12 +8,11 @@ CONFIG_SPL_FAT_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n-CONFIG_DM_GPIO=y\n-CONFIG_DM_SERIAL=y\n CONFIG_DEFAULT_DEVICE_TREE=\"at91-sama5d2_xplained\"\n CONFIG_FIT=y\n CONFIG_SYS_EXTRA_OPTIONS=\"SAMA5D2,SYS_USE_MMC\"\n CONFIG_BOOTDELAY=3\n+CONFIG_SYS_NO_FLASH=y\n # CONFIG_DISPLAY_BOARDINFO is not set\n CONFIG_SPL=y\n CONFIG_HUSH_PARSER=y\n@@ -34,24 +33,24 @@ CONFIG_OF_CONTROL=y\n CONFIG_SPL_OF_CONTROL=y\n CONFIG_DM=y\n CONFIG_SPL_DM=y\n-CONFIG_BLK=y\n CONFIG_CLK=y\n CONFIG_SPL_CLK=y\n CONFIG_CLK_AT91=y\n CONFIG_AT91_UTMI=y\n CONFIG_AT91_H32MX=y\n CONFIG_AT91_GENERIC_CLK=y\n+CONFIG_DM_GPIO=y\n CONFIG_ATMEL_PIO4=y\n CONFIG_DM_I2C=y\n CONFIG_SYS_I2C_AT91=y\n CONFIG_DM_MMC=y\n-CONFIG_DM_MMC_OPS=y\n CONFIG_ATMEL_SDHCI=y\n CONFIG_DM_SPI_FLASH=y\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_ATMEL=y\n CONFIG_PINCTRL=y\n CONFIG_PINCTRL_AT91PIO4=y\n+CONFIG_DM_SERIAL=y\n CONFIG_DEBUG_UART=y\n CONFIG_DEBUG_UART_ATMEL=y\n CONFIG_DEBUG_UART_BASE=0xf8020000\n@@ -62,8 +61,8 @@ CONFIG_ATMEL_USART=y\n CONFIG_DM_SPI=y\n CONFIG_ATMEL_SPI=y\n CONFIG_USB=y\n-CONFIG_USB_STORAGE=y\n CONFIG_DM_USB=y\n CONFIG_USB_EHCI_HCD=y\n+CONFIG_USB_STORAGE=y\n CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_ATMEL_USBA=y\ndiff --git a/configs/sama5d2_xplained_spiflash_defconfig b/configs/sama5d2_xplained_spiflash_defconfig\nindex 51594e7..74e661d 100644\n--- a/configs/sama5d2_xplained_spiflash_defconfig\n+++ b/configs/sama5d2_xplained_spiflash_defconfig\n@@ -7,12 +7,11 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_SPI_FLASH_SUPPORT=y\n CONFIG_SPL_SPI_SUPPORT=y\n-CONFIG_DM_GPIO=y\n-CONFIG_DM_SERIAL=y\n CONFIG_DEFAULT_DEVICE_TREE=\"at91-sama5d2_xplained\"\n CONFIG_FIT=y\n CONFIG_SYS_EXTRA_OPTIONS=\"SAMA5D2,SYS_USE_SERIALFLASH\"\n CONFIG_BOOTDELAY=3\n+CONFIG_SYS_NO_FLASH=y\n # CONFIG_DISPLAY_BOARDINFO is not set\n CONFIG_SPL=y\n CONFIG_HUSH_PARSER=y\n@@ -33,24 +32,24 @@ CONFIG_OF_CONTROL=y\n CONFIG_SPL_OF_CONTROL=y\n CONFIG_DM=y\n CONFIG_SPL_DM=y\n-CONFIG_BLK=y\n CONFIG_CLK=y\n CONFIG_SPL_CLK=y\n CONFIG_CLK_AT91=y\n CONFIG_AT91_UTMI=y\n CONFIG_AT91_H32MX=y\n CONFIG_AT91_GENERIC_CLK=y\n+CONFIG_DM_GPIO=y\n CONFIG_ATMEL_PIO4=y\n CONFIG_DM_I2C=y\n CONFIG_SYS_I2C_AT91=y\n CONFIG_DM_MMC=y\n-CONFIG_DM_MMC_OPS=y\n CONFIG_ATMEL_SDHCI=y\n CONFIG_DM_SPI_FLASH=y\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_ATMEL=y\n CONFIG_PINCTRL=y\n CONFIG_PINCTRL_AT91PIO4=y\n+CONFIG_DM_SERIAL=y\n CONFIG_DEBUG_UART=y\n CONFIG_DEBUG_UART_ATMEL=y\n CONFIG_DEBUG_UART_BASE=0xf8020000\ndiff --git a/include/configs/sama5d2_xplained.h b/include/configs/sama5d2_xplained.h\nindex f694645..ce530ea 100644\n--- a/include/configs/sama5d2_xplained.h\n+++ b/include/configs/sama5d2_xplained.h\n@@ -10,9 +10,6 @@\n #ifndef __CONFIG_H\n #define __CONFIG_H\n \n-/* No NOR flash, this definition should put before common header */\n-#define CONFIG_SYS_NO_FLASH\n-\n #include \"at91-sama5_common.h\"\n \n #define CONFIG_BOARD_EARLY_INIT_F\n","prefixes":["U-Boot","v1"]}