From: Dinh Nguyen Date: Wed, 6 Jan 2016 19:48:43 +0000 (-0600) Subject: arm: socfpga: set the fpga global bit to disable HPS to FPGA signals X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=b00a21f0886fe4038ce64905479259879021a4a8;p=u-boot.git arm: socfpga: set the fpga global bit to disable HPS to FPGA signals We should be setting the FPGA Interface Group global bit that will correctly disable all interfaces between the FPGA and HPS. Signed-off-by: Dinh Nguyen --- diff --git a/drivers/fpga/socfpga.c b/drivers/fpga/socfpga.c index 4448250f5c..431e159e48 100644 --- a/drivers/fpga/socfpga.c +++ b/drivers/fpga/socfpga.c @@ -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_module); + writel(0, &sysmgr_regs->fpgaintfgrp_gbl); /* Disable all signals from FPGA to HPS SDRAM */ #define SDR_CTRLGRP_FPGAPORTRST_ADDRESS 0x5080