diff options
author | Dinh Nguyen <dinh.linux@gmail.com> | 2016-01-06 13:48:43 -0600 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-01-16 07:07:22 +0100 |
commit | b00a21f0886fe4038ce64905479259879021a4a8 (patch) | |
tree | d5bf3905f6abc298de1d635a0a610562c65a6086 /drivers | |
parent | 1720fad0f19827b94a845dc26ac7d390edbae836 (diff) | |
download | u-boot-imx-b00a21f0886fe4038ce64905479259879021a4a8.zip u-boot-imx-b00a21f0886fe4038ce64905479259879021a4a8.tar.gz u-boot-imx-b00a21f0886fe4038ce64905479259879021a4a8.tar.bz2 |
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 <dinguyen@opensource.altera.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/fpga/socfpga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/socfpga.c b/drivers/fpga/socfpga.c index 4448250..431e159 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 |