ARM: socfpga: Factor out handoff register configuration
authorMarek Vasut <[email protected]>
Tue, 16 Apr 2019 21:05:24 +0000 (23:05 +0200)
committerMarek Vasut <[email protected]>
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 <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Simon Goldschmidt <[email protected]>
Cc: Tien Fong Chee <[email protected]>
arch/arm/mach-socfpga/include/mach/reset_manager_gen5.h
arch/arm/mach-socfpga/reset_manager_gen5.c