ARM: socfpga: Factor out handoff register configuration
authorMarek Vasut <marex@denx.de>
Tue, 16 Apr 2019 21:05:24 +0000 (23:05 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 29 Apr 2019 08:08:55 +0000 (10:08 +0200)
commit8df653c32545171ecede4b740e38e8a4af4ed9eb
treee54962d3badf68654d8531c373de8fc198a478b4
parent6aebc0d11a10f48a54146c5e71bbef15a1a458fc
ARM: socfpga: Factor out handoff register configuration

Factor out the code for programming preloader handoff register values,
the ISWGRP Handoff 0 and 1. These registers later control which bridges
are enabled by the "bridge" command on Gen5 devices.

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/include/mach/reset_manager_gen5.h
arch/arm/mach-socfpga/reset_manager_gen5.c