fpga: region: use image info as parameter for programming region
authorAlan Tull <atull@kernel.org>
Wed, 15 Nov 2017 20:20:19 +0000 (14:20 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 15:30:37 +0000 (16:30 +0100)
commit61c32102391ff38dfd4aba835dd0f99db6b46908
tree511334facdfa6d898fab5f692fdd56e8fb0fdfdc
parented81f5fc3c35c22d0fc62813cfa4e11b6aea0a64
fpga: region: use image info as parameter for programming region

Use FPGA image info (region->info) when region code is
programming the FPGA to pass in multiple parameters.

This is a baby step in refactoring the FPGA region code to
separate out common FPGA region code from FPGA region
Device Tree overlay support.

Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/fpga-region.c
include/linux/fpga/fpga-mgr.h