
On Fri, Sep 29, 2017 at 7:53 AM, See, Chin Liang chin.liang.see@intel.com wrote:
On Tue, 2017-09-26 at 17:08 -0500, Dinh Nguyen wrote:
On Tue, Sep 19, 2017 at 4:22 AM, chin.liang.see@intel.com wrote:
From: Chin Liang See chin.liang.see@intel.com
Add Reset Manager driver support for Stratix SoC
Signed-off-by: Chin Liang See chin.liang.see@intel.com
arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 2 + .../mach-socfpga/include/mach/reset_manager_s10.h | 116 +++++++++++++++++ arch/arm/mach-socfpga/reset_manager.c | 5 + arch/arm/mach-socfpga/reset_manager_s10.c | 140 +++++++++++++++++++++
I don't see why you need to add a new file for S10? The functionality between Gen 5 and Stratix10 is identical for the reset manager.
Not really, they have same functions name but sequences are difference due to diff interconnect technology. Hence, try to avoid too much #if #else
How so? I'm able to re-use the same driver for Linux on the Stratix10.
Dinh