From: Chee, Tien Fong <tien.fong.chee@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/5] arm: socfpga: Move the FPGA driver header from arch/arm to include/
Date: Fri, 12 May 2017 08:06:58 +0000 [thread overview]
Message-ID: <1494576418.6027.25.camel@intel.com> (raw)
In-Reply-To: <1f5cfe5f-76e6-ae09-5f13-22e42b253b9d@denx.de>
On Jum, 2017-05-12 at 09:27 +0200, Marek Vasut wrote:
> On 05/12/2017 05:33 AM, Chee, Tien Fong wrote:
> >
> > On Kha, 2017-05-11 at 14:04 +0200, Marek Vasut wrote:
> > >
> > > On 05/11/2017 11:25 AM, tien.fong.chee at intel.com wrote:
> > > >
> > > >
> > > > From: Tien Fong Chee <tien.fong.chee@intel.com>
> > > >
> > > > Move arch/arm FPGA driver header to include/intel_socfpga which
> > > > would be shared between arch platform drivers and FPGA drivers.
> > > Doesn't this patchset only add support for arria10 FPGA ? If so,
> > > this
> > > patch is pointless in the context of this patchset.
> > >
> > Arria10 FPGA header include fpga_manager.h as common header.There
> > are
> > other headers depend on above common header. So that means they are
> > all
> > related to each others. Hence this patch is needed to ensure all
> > related restructure properly before adding Arria10 FPGA driver.
> But that stuff can still be in arch/arm/mach-socfpga/include , why do
> you move stuff into include/intel_fpg
>
Ohh...i already moved the fpga manager driver into driver/fpga, hence i
think the header file supposely should be moved into include/ because
it would be refered by both /drivers and arch/arm/mach-socfpga/. I
checked someothers also have this kind implementation. I am not sure
the U-boot framework is designed in this way, i can revert the changes
if it is not.
> >
> > >
> > > >
> > > >
> > > > Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
> > > > ---
> > > > arch/arm/mach-socfpga/reset_manager_arria10.c | 2 +-
> > > > arch/arm/mach-socfpga/reset_manager_gen5.c | 5 +-
> > > > arch/arm/mach-socfpga/system_manager_gen5.c | 2 +-
> > > > drivers/ddr/altera/sdram.c | 5 +-
> > > > drivers/fpga/socfpga.c | 5 +-
> > > > drivers/fpga/socfpga_gen5.c | 2 +-
> > > > include/intel_socfpga/fpga_manager.h | 37
> > > > +++++++++++++++
> > > > include/intel_socfpga/fpga_manager_gen5.h | 68
> > > > +++++++++++++++++++++++++++
> > > > 8 files changed, 116 insertions(+), 10 deletions(-)
> > > > create mode 100644 include/intel_socfpga/fpga_manager.h
> > > > create mode 100644 include/intel_socfpga/fpga_manager_gen5.h
> [...]
>
next prev parent reply other threads:[~2017-05-12 8:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 9:25 [U-Boot] [PATCH v2 0/5] Add Intel Arria 10 SoC FPGA driver tien.fong.chee at intel.com
2017-05-11 9:25 ` [U-Boot] [PATCH v2 1/5] arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset tien.fong.chee at intel.com
2017-05-11 11:57 ` Marek Vasut
2017-05-12 3:46 ` Chee, Tien Fong
2017-05-11 9:25 ` [U-Boot] [PATCH v2 2/5] arm: socfpga: Restructure FPGA driver in the preparation to support A10 tien.fong.chee at intel.com
2017-05-11 12:03 ` Marek Vasut
2017-05-12 3:45 ` Chee, Tien Fong
2017-05-12 7:26 ` Marek Vasut
2017-05-12 8:10 ` Chee, Tien Fong
2017-05-11 9:25 ` [U-Boot] [PATCH v2 3/5] arm: socfpga: Move FPGA manager driver to FPGA driver tien.fong.chee at intel.com
2017-05-11 9:25 ` [U-Boot] [PATCH v2 4/5] arm: socfpga: Move the FPGA driver header from arch/arm to include/ tien.fong.chee at intel.com
2017-05-11 12:04 ` Marek Vasut
2017-05-12 3:33 ` Chee, Tien Fong
2017-05-12 7:27 ` Marek Vasut
2017-05-12 8:06 ` Chee, Tien Fong [this message]
2017-05-11 9:25 ` [U-Boot] [PATCH v2 5/5] arm: socfpga: Add FPGA driver support for Arria 10 tien.fong.chee at intel.com
2017-05-11 12:09 ` Marek Vasut
2017-05-12 3:56 ` Chee, Tien Fong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494576418.6027.25.camel@intel.com \
--to=tien.fong.chee@intel.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.