ARM: socfpga: Fully unmap the FPGA bridges from L3 space
authorMarek Vasut <marex@denx.de>
Tue, 16 Apr 2019 20:13:29 +0000 (22:13 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 29 Apr 2019 08:08:55 +0000 (10:08 +0200)
commitba2cfcee889db2de099c46a60090624edf202a81
treeb63f56082fda4931c1966a54adc9d0310b98f42f
parentc1d4b464c8b8826b1d8a6d84ee5202f71ce933d1
ARM: socfpga: Fully unmap the FPGA bridges from L3 space

Instead of just putting the bridges into reset, fully remove the bridges
from the L3 main bridge space when disabling them by clearing bits in
NIC-301 remap register. Moreover, only touch the 3 LSbits in brgmodrst
register as the rest of the bits are undefined.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Cc: Tien Fong Chee <tien.fong.chee@intel.com>
arch/arm/mach-socfpga/reset_manager_gen5.c