From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Tong Zhang <ztong0001@gmail.com>
Cc: Paul Bolle <pebolle@tiscali.nl>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
insop.song@gainspeed.com, devel@driverdev.osuosl.org
Subject: Re: [PATCH] staging: gs_fpgaboot: revert removed board specific code
Date: Fri, 4 Feb 2022 15:23:33 +0100 [thread overview]
Message-ID: <Yf025dphJw2rUVR5@kroah.com> (raw)
In-Reply-To: <20220204054028.3123858-1-ztong0001@gmail.com>
On Thu, Feb 03, 2022 at 09:40:27PM -0800, Tong Zhang wrote:
> gs_fpgaboot is currently useless since the board specific code is
> removed in 06a3fab941da.
Nit, commits should be printed out like this:
06a3fab941da ("staging: gs_fpgaboot: remove checks for CONFIG_B4860G100")
> Loading the driver will always fail since
> xl_init_io() always returns -1. This driver is broken since 2014 and I
> doubt anyone is actually using it, we could either remove it or revert
> to the previous working version.
Let's just remove it obviously no one is using it.
Or do you want to use it for your hardware? if so, let's fix it for
that platform.
>
> $ modprobe gs_fpga
> GPIO INIT FAIL!!
>
> This patch reverts previously removed code and adds a Kconfig to make
> this board selectable for PPC_85xx processors.
>
> Fixes: 06a3fab941da ("staging: gs_fpgaboot: remove checks for CONFIG_B4860G100")
> Signed-off-by: Tong Zhang <ztong0001@gmail.com>
> ---
> drivers/staging/gs_fpgaboot/Kconfig | 14 ++-
> drivers/staging/gs_fpgaboot/io.c | 173 ++++++++++++++++++++++++++++
> 2 files changed, 186 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/gs_fpgaboot/Kconfig b/drivers/staging/gs_fpgaboot/Kconfig
> index 968a153c4ab6..0b4144450123 100644
> --- a/drivers/staging/gs_fpgaboot/Kconfig
> +++ b/drivers/staging/gs_fpgaboot/Kconfig
> @@ -5,4 +5,16 @@
> config GS_FPGABOOT
> tristate "Xilinx FPGA firmware download module"
> help
> - Xilinx FPGA firmware download module
> + Xilinx FPGA firmware download module.
> +
> +choice
> + prompt "Support Board"
> + depends on GS_FPGABOOT
That's an odd config option, what will that show? Shouldn't the prompt
have something to do with the board name?
Anyway, no new config options please, either lets remove it or fix it
for your hardware.
thanks,
greg k-h
next prev parent reply other threads:[~2022-02-04 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-04 5:40 [PATCH] staging: gs_fpgaboot: revert removed board specific code Tong Zhang
2022-02-04 8:51 ` Dan Carpenter
2022-02-04 14:23 ` Greg Kroah-Hartman [this message]
2022-02-04 18:36 ` Tong Zhang
2022-02-04 19:08 ` [PATCH] staging: drop fpgaboot driver Tong Zhang
2022-02-08 9:46 ` Greg Kroah-Hartman
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=Yf025dphJw2rUVR5@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=devel@driverdev.osuosl.org \
--cc=insop.song@gainspeed.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=pebolle@tiscali.nl \
--cc=ztong0001@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).