Skip to content
Snippets Groups Projects
Commit a409a8b8 authored by Dinh Nguyen's avatar Dinh Nguyen Committed by Marek Vasut
Browse files

Revert "arm: socfpga: set the fpga global bit to disable HPS to FPGA signals"


Apparently, the logic for the FPGA global bit is not universal between Gen5
and Gen10 devices is not the same. Disabling this bit, while applicable to
Gen10 devices, will break FPGA programming on Gen5 devices.

Signed-off-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
parent 44189a03
No related branches found
No related tags found
No related merge requests found
......@@ -269,7 +269,7 @@ int socfpga_load(Altera_desc *desc, const void *rbf_data, size_t rbf_size)
/* Prior programming the FPGA, all bridges need to be shut off */
/* Disable all signals from hps peripheral controller to fpga */
writel(0, &sysmgr_regs->fpgaintfgrp_gbl);
writel(0, &sysmgr_regs->fpgaintfgrp_module);
/* Disable all signals from FPGA to HPS SDRAM */
#define SDR_CTRLGRP_FPGAPORTRST_ADDRESS 0x5080
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment