aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/misc_gen5.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2018-04-23 01:26:10 +0200
committerMarek Vasut <marex@denx.de>2018-05-18 10:30:46 +0200
commitf79173280c60f0de5c060b456a9aa19a33297ade (patch)
tree460f38034da3cba9ae3a083cfaf8b83ca9ceb449 /arch/arm/mach-socfpga/misc_gen5.c
parent768f23dc8ae30993882131bbf0cdadce43fd9619 (diff)
ARM: socfpga: Zap CONFIG_SOCFPGA_VIRTUAL_TARGET
This was never used, is not used anywhere and is just in the way by adding annoying ifdeffery. Get rid of it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <chin.liang.see@intel.com> Cc: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/arm/mach-socfpga/misc_gen5.c')
-rw-r--r--arch/arm/mach-socfpga/misc_gen5.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-socfpga/misc_gen5.c b/arch/arm/mach-socfpga/misc_gen5.c
index b9db3aef09..efec58d555 100644
--- a/arch/arm/mach-socfpga/misc_gen5.c
+++ b/arch/arm/mach-socfpga/misc_gen5.c
@@ -264,12 +264,8 @@ int arch_early_init_r(void)
setbits_le32(&scu_regs->sacr, 0xfff);
/* Configure the L2 controller to make SDRAM start at 0 */
-#ifdef CONFIG_SOCFPGA_VIRTUAL_TARGET
- writel(0x2, &nic301_regs->remap);
-#else
writel(0x1, &nic301_regs->remap); /* remap.mpuzero */
writel(0x1, &pl310->pl310_addr_filter_start);
-#endif
/* Add device descriptor to FPGA device table */
socfpga_fpga_add();