From: Alexander Dahl <post@lespocky.de>
To: u-boot@lists.denx.de
Cc: "Alexander Dahl" <ada@thorsis.com>,
"Wolfgang Wegner" <w.wegner@astro-kom.de>,
"Michal Simek" <michal.simek@amd.com>,
"Simon Glass" <sjg@chromium.org>, "Stefan Roese" <sr@denx.de>,
"Patrick Delaunay" <patrick.delaunay@foss.st.com>,
"Marek Behún" <marek.behun@nic.cz>
Subject: [PATCH v2 2/2] fpga: Convert SYS_FPGA_PROG_FEEDBACK to Kconfig
Date: Wed, 13 Jul 2022 14:33:00 +0200 [thread overview]
Message-ID: <20220713123307.21314-3-post@lespocky.de> (raw)
In-Reply-To: <20220713123307.21314-1-post@lespocky.de>
From: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
README | 4 ----
configs/astro_mcf5373l_defconfig | 1 +
drivers/fpga/Kconfig | 6 ++++++
include/configs/astro_mcf5373l.h | 1 -
scripts/config_whitelist.txt | 1 -
5 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/README b/README
index 8c31e5c0e3..2c4bde0b32 100644
--- a/README
+++ b/README
@@ -1330,10 +1330,6 @@ The following options need to be configured:
Enables support for FPGA family.
(SPARTAN2, SPARTAN3, VIRTEX2, CYCLONE2, ACEX1K, ACEX)
- CONFIG_SYS_FPGA_PROG_FEEDBACK
-
- Enable printing of hash marks during FPGA configuration.
-
CONFIG_SYS_FPGA_CHECK_BUSY
Enable checks on FPGA configuration interface busy
diff --git a/configs/astro_mcf5373l_defconfig b/configs/astro_mcf5373l_defconfig
index 3a44c7e8ec..9f5cb8702c 100644
--- a/configs/astro_mcf5373l_defconfig
+++ b/configs/astro_mcf5373l_defconfig
@@ -33,6 +33,7 @@ CONFIG_FPGA_ALTERA=y
CONFIG_FPGA_CYCLON2=y
CONFIG_FPGA_XILINX=y
CONFIG_FPGA_SPARTAN3=y
+CONFIG_SYS_FPGA_PROG_FEEDBACK=y
CONFIG_SYS_I2C_LEGACY=y
CONFIG_SYS_I2C_FSL=y
CONFIG_SYS_FSL_I2C_OFFSET=0x58000
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index 53d91676e0..e152ea14dc 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -95,4 +95,10 @@ config SYS_FPGA_CHECK_CTRLC
bool "Allow Control-C to interrupt FPGA configuration"
depends on FPGA
+config SYS_FPGA_PROG_FEEDBACK
+ bool "Progress output during FPGA configuration"
+ depends on FPGA
+ help
+ Enable printing of hash marks during FPGA configuration.
+
endmenu
diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h
index a8265e961a..da4d49741d 100644
--- a/include/configs/astro_mcf5373l.h
+++ b/include/configs/astro_mcf5373l.h
@@ -131,7 +131,6 @@
* it needs non-blocking CFI routines.
*/
-#define CONFIG_SYS_FPGA_PROG_FEEDBACK
#define CONFIG_SYS_FPGA_WAIT 1000
/* End of user parameters to be customized */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index efc2f3bcf7..fc07c5d257 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -743,7 +743,6 @@ CONFIG_SYS_FPGA_FTIM0
CONFIG_SYS_FPGA_FTIM1
CONFIG_SYS_FPGA_FTIM2
CONFIG_SYS_FPGA_FTIM3
-CONFIG_SYS_FPGA_PROG_FEEDBACK
CONFIG_SYS_FPGA_SIZE
CONFIG_SYS_FPGA_WAIT
CONFIG_SYS_FSL_BMAN_ADDR
--
2.30.2
next prev parent reply other threads:[~2022-07-13 12:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-13 12:32 [PATCH v2 0/2] fpga: Convert some options to Kconfig Alexander Dahl
2022-07-13 12:32 ` [PATCH v2 1/2] fpga: Convert SYS_FPGA_CHECK_CTRLC " Alexander Dahl
2022-07-13 12:56 ` Michal Simek
2022-07-13 13:20 ` Alexander Dahl
2022-07-13 13:53 ` Michal Simek
2022-07-13 14:07 ` Alexander Dahl
2022-07-13 14:18 ` Michal Simek
2022-07-13 14:19 ` Tom Rini
2022-07-13 12:33 ` Alexander Dahl [this message]
2022-07-13 12:50 ` [PATCH v2 2/2] fpga: Convert SYS_FPGA_PROG_FEEDBACK " Michal Simek
2022-07-13 13:11 ` Alexander Dahl
2022-07-13 14:19 ` Tom Rini
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=20220713123307.21314-3-post@lespocky.de \
--to=post@lespocky.de \
--cc=ada@thorsis.com \
--cc=marek.behun@nic.cz \
--cc=michal.simek@amd.com \
--cc=patrick.delaunay@foss.st.com \
--cc=sjg@chromium.org \
--cc=sr@denx.de \
--cc=u-boot@lists.denx.de \
--cc=w.wegner@astro-kom.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.