armv8: mmu: remove unused macro definition
authorAndy Yan <andy.yan@rock-chips.com>
Thu, 17 Aug 2017 07:55:01 +0000 (15:55 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 12 Sep 2017 22:00:08 +0000 (18:00 -0400)
Macro VA_BITS and PTE_BLOCK_BITS are not used
in the code, so remove them.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/include/asm/armv8/mmu.h
scripts/config_whitelist.txt

index a34990368e4b61f023d84da95966aff15efa998c..775274102826d3fa5fdb827f7f60d2957d69c3f1 100644 (file)
@@ -8,15 +8,6 @@
 #ifndef _ASM_ARMV8_MMU_H_
 #define _ASM_ARMV8_MMU_H_
 
-/***************************************************************/
-/*
- * The following definitions are related each other, shoud be
- * calculated specifically.
- */
-
-#define VA_BITS                        CONFIG_SYS_VA_BITS
-#define PTE_BLOCK_BITS         CONFIG_SYS_PTL2_BITS
-
 /*
  * block/section address mask and size definitions.
  */
index 94fa9a86e1ab20957519528e276f9c42ed8a857a..a8178d1c19ef0ab20c86551e26df4c2955b2bd42 100644 (file)
@@ -4418,7 +4418,6 @@ CONFIG_SYS_PSDPAR
 CONFIG_SYS_PSSR_VAL
 CONFIG_SYS_PTCPAR
 CONFIG_SYS_PTDPAR
-CONFIG_SYS_PTL2_BITS
 CONFIG_SYS_PTV
 CONFIG_SYS_PUAPAR
 CONFIG_SYS_QE_FMAN_FW_IN_MMC
@@ -4793,7 +4792,6 @@ CONFIG_SYS_USE_SERIALFLASH
 CONFIG_SYS_USE_SPIFLASH
 CONFIG_SYS_USR_EXCEP
 CONFIG_SYS_U_BOOT_OFFS
-CONFIG_SYS_VA_BITS
 CONFIG_SYS_VCXK_ACKNOWLEDGE_DDR
 CONFIG_SYS_VCXK_ACKNOWLEDGE_PIN
 CONFIG_SYS_VCXK_ACKNOWLEDGE_PORT