{"id":802410,"url":"http://patchwork.ozlabs.org/api/patches/802410/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1502956501-16583-1-git-send-email-andy.yan@rock-chips.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":"<1502956501-16583-1-git-send-email-andy.yan@rock-chips.com>","list_archive_url":null,"date":"2017-08-17T07:55:01","name":"[U-Boot,v2,1/2] armv8: mmu: remove unused macro definition","commit_ref":"4f84cb980fdc25d7735fe114021b4a84ea601b9f","pull_url":null,"state":"accepted","archived":false,"hash":"51348de6386cbe9ab924c4384810aa5385fd63d0","submitter":{"id":65124,"url":"http://patchwork.ozlabs.org/api/people/65124/?format=json","name":"Andy Yan","email":"andy.yan@rock-chips.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/1502956501-16583-1-git-send-email-andy.yan@rock-chips.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/802410/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/802410/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 3xXz8s4S7Gz9t3D\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 17 Aug 2017 17:57:49 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 5DB91C21F18; Thu, 17 Aug 2017 07:56:57 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id ED9F5C21F0B;\n\tThu, 17 Aug 2017 07:56:55 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid A731AC21EAE; Thu, 17 Aug 2017 07:55:17 +0000 (UTC)","from regular1.263xmail.com (regular1.263xmail.com [211.150.99.131])\n\tby lists.denx.de (Postfix) with ESMTPS id BA557C21EE5\n\tfor <u-boot@lists.denx.de>; Thu, 17 Aug 2017 07:55:13 +0000 (UTC)","from andy.yan?rock-chips.com (unknown [192.168.167.190])\n\tby regular1.263xmail.com (Postfix) with ESMTP id 975DE62F6;\n\tThu, 17 Aug 2017 15:55:08 +0800 (CST)","from localhost.localdomain (localhost [127.0.0.1])\n\tby smtp.263.net (Postfix) with ESMTPA id 6E4DD3C5;\n\tThu, 17 Aug 2017 15:55:08 +0800 (CST)","from localhost.localdomain (unknown [58.22.7.114])\n\tby smtp.263.net (Postfix) whith ESMTP id 17888SKUOYC;\n\tThu, 17 Aug 2017 15:55:09 +0800 (CST)"],"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=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","X-263anti-spam":"KSV:0;","X-MAIL-GRAY":"0","X-MAIL-DELIVERY":"1","X-KSVirus-check":"0","X-ABS-CHECKED":"4","X-RL-SENDER":"andy.yan@rock-chips.com","X-FST-TO":"agraf@suse.de","X-SENDER-IP":"58.22.7.114","X-LOGIN-NAME":"andy.yan@rock-chips.com","X-UNIQUE-TAG":"<adf6b6c6438dde4f982b4b8c8ea83a20>","X-ATTACHMENT-NUM":"0","X-SENDER":"yxj@rock-chips.com","X-DNS-TYPE":"0","From":"Andy Yan <andy.yan@rock-chips.com>","To":"agraf@suse.de, andre.przywara@arm.com,\n\tphilipp.tomsich@theobroma-systems.com","Date":"Thu, 17 Aug 2017 15:55:01 +0800","Message-Id":"<1502956501-16583-1-git-send-email-andy.yan@rock-chips.com>","X-Mailer":"git-send-email 2.7.4","Cc":"u-boot@lists.denx.de, Andy Yan <andy.yan@rock-chips.com>","Subject":"[U-Boot] [PATCH v2 1/2] armv8: mmu: remove unused macro definition","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":"Macro VA_BITS and PTE_BLOCK_BITS are not used\nin the code, so remove them.\n\nSigned-off-by: Andy Yan <andy.yan@rock-chips.com>\nReviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n\n---\n\nChanges in v2:\n- remove CONFIG_SYS_PTL2_BITS from the whitelist\n\n arch/arm/include/asm/armv8/mmu.h | 9 ---------\n scripts/config_whitelist.txt     | 2 --\n 2 files changed, 11 deletions(-)","diff":"diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h\nindex a349903..7752741 100644\n--- a/arch/arm/include/asm/armv8/mmu.h\n+++ b/arch/arm/include/asm/armv8/mmu.h\n@@ -8,15 +8,6 @@\n #ifndef _ASM_ARMV8_MMU_H_\n #define _ASM_ARMV8_MMU_H_\n \n-/***************************************************************/\n-/*\n- * The following definitions are related each other, shoud be\n- * calculated specifically.\n- */\n-\n-#define VA_BITS\t\t\tCONFIG_SYS_VA_BITS\n-#define PTE_BLOCK_BITS\t\tCONFIG_SYS_PTL2_BITS\n-\n /*\n  * block/section address mask and size definitions.\n  */\ndiff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt\nindex db28457..63b8b25 100644\n--- a/scripts/config_whitelist.txt\n+++ b/scripts/config_whitelist.txt\n@@ -4440,7 +4440,6 @@ CONFIG_SYS_PSDPAR\n CONFIG_SYS_PSSR_VAL\n CONFIG_SYS_PTCPAR\n CONFIG_SYS_PTDPAR\n-CONFIG_SYS_PTL2_BITS\n CONFIG_SYS_PTV\n CONFIG_SYS_PUAPAR\n CONFIG_SYS_QE_FMAN_FW_IN_MMC\n@@ -4815,7 +4814,6 @@ CONFIG_SYS_USE_SERIALFLASH\n CONFIG_SYS_USE_SPIFLASH\n CONFIG_SYS_USR_EXCEP\n CONFIG_SYS_U_BOOT_OFFS\n-CONFIG_SYS_VA_BITS\n CONFIG_SYS_VCXK_ACKNOWLEDGE_DDR\n CONFIG_SYS_VCXK_ACKNOWLEDGE_PIN\n CONFIG_SYS_VCXK_ACKNOWLEDGE_PORT\n","prefixes":["U-Boot","v2","1/2"]}