{"id":800992,"url":"http://patchwork.ozlabs.org/api/patches/800992/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1502630499-27299-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":"<1502630499-27299-1-git-send-email-aford173@gmail.com>","list_archive_url":null,"date":"2017-08-13T13:21:39","name":"[U-Boot] omap3_logic: Move CONFIG_SYS_NAND_U_BOOT_OFFS to Kconfig","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"b0cc27327885b69ff9c6288383d00f302a20a44f","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/1502630499-27299-1-git-send-email-aford173@gmail.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/800992/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/800992/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=\"UU/kUy9I\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xVfXq6kbBz9s8V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 13 Aug 2017 23:22:02 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid AF7A5C21E35; Sun, 13 Aug 2017 13:21:55 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 00612C21D7A;\n\tSun, 13 Aug 2017 13:21:53 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 6D8B1C21D7A; Sun, 13 Aug 2017 13:21:51 +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 DFF35C21C6A\n\tfor <u-boot@lists.denx.de>; Sun, 13 Aug 2017 13:21:50 +0000 (UTC)","by mail-io0-f194.google.com with SMTP id m88so6122136iod.1\n\tfor <u-boot@lists.denx.de>; Sun, 13 Aug 2017 06:21:50 -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\tj73sm2507913iod.86.2017.08.13.06.21.48\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 13 Aug 2017 06:21:48 -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,\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=InoH6cJQWkkwOgTBdDIAe3dWzpZcH2v+BUUMAP0Qy4M=;\n\tb=UU/kUy9Ivp3HimebKz5/rNv6M9zaVFD/hMo6/Nmuv8Y4iXerCaBtxJWTXXq6jhuHoo\n\tR3XSR/gMymfyMrqPCVhj20GCuL2HhgNgTe2u+KggWwtqOX+GXvKEKzSeqt6GTfvxGdPX\n\tMowmr1D2ezI0HTsDDwg18hzs0klGCIOqRsS/60HT0Ny5lpfWXKL7Ycrz03bFxeP15jaL\n\tys3LbrQpbYSp9izD/c4hkQBP/RqCjXSvUkg2iUiIOIMvNvTJTUw0Hw8BOvYp0u3N/Ie6\n\t+Ho28Ccmv2CMQvIR1aTnD0M1Rwo/5zGFtZhSIjOd5Y9EQY8CJgFEe0jRm5PuE3Rgt9DA\n\tDqxA==","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=InoH6cJQWkkwOgTBdDIAe3dWzpZcH2v+BUUMAP0Qy4M=;\n\tb=EGmlCVvTQ6i4MVUmK7zKtAmFfezKEanyQIdKFvklosXuIwlmy/SnrIykh/80JrPiai\n\tEp7Tx+4ZpnD4kH2tCeGmdJN2EVBHYA4p9Jqlrdhwy9hdf1+kQck52H7EU3/aMm1T1Uwa\n\t7JMnyjbMOmpfivbzOM1KjMhJM4qGiD1hgHdvF+FIpE+VqGrUqMQXCWU/lCwNIoNZBPO6\n\tOakaJwkI6+0bhKCuEcke6Q1C/OA9iB3ua2WNN+Zaprs393r6+ZePTpsRwoKvTJGDCK4K\n\tR1jpoMaLrwWaPmgw9N9iAXc/aFIHoq4t2l1EUWy2TXjPqnIXcfXlT71RzEp9Wx2vB6/5\n\tM0wg==","X-Gm-Message-State":"AHYfb5jpycyxgnonb+s9IlT9DCnE2NPA/WIP4MB84aX/GPHFvWKrTPi6\n\tn3MrVFeAJHm31hFN","X-Received":"by 10.107.55.135 with SMTP id\n\te129mr16355977ioa.166.1502630509288; \n\tSun, 13 Aug 2017 06:21:49 -0700 (PDT)","From":"Adam Ford <aford173@gmail.com>","To":"u-boot@lists.denx.de","Date":"Sun, 13 Aug 2017 08:21:39 -0500","Message-Id":"<1502630499-27299-1-git-send-email-aford173@gmail.com>","X-Mailer":"git-send-email 2.7.4","Cc":"adam.ford@logicpd.com","Subject":"[U-Boot] [PATCH] omap3_logic: Move CONFIG_SYS_NAND_U_BOOT_OFFS 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>","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":"Manually enable SYS_NAND_U_BOOT_LOCATIONS.\nSet CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000 and remove it from header\n\nSigned-off-by: Adam Ford <aford173@gmail.com>\n---\n configs/omap3_logic_defconfig | 4 +++-\n include/configs/omap3_logic.h | 1 -\n 2 files changed, 3 insertions(+), 2 deletions(-)","diff":"diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig\nindex 464a41f..8d382f7 100644\n--- a/configs/omap3_logic_defconfig\n+++ b/configs/omap3_logic_defconfig\n@@ -22,10 +22,10 @@ CONFIG_CMD_SPL=y\n CONFIG_CMD_SPL_NAND_OFS=0x240000\n # CONFIG_CMD_EEPROM is not set\n # CONFIG_CMD_FLASH is not set\n+# CONFIG_CMD_FPGA is not set\n CONFIG_CMD_NAND=y\n CONFIG_CMD_NAND_LOCK_UNLOCK=y\n # CONFIG_CMD_USB is not set\n-# CONFIG_CMD_FPGA is not set\n CONFIG_CMD_CACHE=y\n CONFIG_CMD_UBI=y\n CONFIG_ISO_PARTITION=y\n@@ -36,6 +36,8 @@ CONFIG_DM_MMC=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_MMC_OMAP36XX_PINS=y\n CONFIG_NAND=y\n+CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y\n+CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000\n CONFIG_SYS_NS16550=y\n CONFIG_USB=y\n CONFIG_USB_MUSB_GADGET=y\ndiff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h\nindex 5490fc9..c939003 100644\n--- a/include/configs/omap3_logic.h\n+++ b/include/configs/omap3_logic.h\n@@ -97,7 +97,6 @@\n #define CONFIG_BCH\n #define CONFIG_SYS_NAND_MAX_OOBFREE\t2\n #define CONFIG_SYS_NAND_MAX_ECCPOS\t56\n-#define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\n #define CONFIG_MTD_DEVICE\t\t/* needed for mtdparts commands */\n #define CONFIG_MTD_PARTITIONS\t\t/* required for UBI partition support */\n #define MTDIDS_DEFAULT\t\t\t\"nand0=omap2-nand.0\"\n","prefixes":["U-Boot"]}