All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [PATCH 09/10] xilinx: Merge together BOOT_SCRIPT_OFFSET between MB and ARM
Date: Thu, 22 Oct 2020 12:32:21 +0200	[thread overview]
Message-ID: <3d66776d91717a2ce0a0251b3b77166ac1584ab6.1603362738.git.michal.simek@xilinx.com> (raw)
In-Reply-To: <cover.1603362738.git.michal.simek@xilinx.com>

There is no reason not to use commong Kconfig by Microblaze too.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/microblaze/Kconfig                 | 1 +
 board/xilinx/Kconfig                    | 6 +++---
 board/xilinx/microblaze-generic/Kconfig | 5 -----
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 2755cce884c5..99a17bccb388 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -23,6 +23,7 @@ config TARGET_MICROBLAZE_GENERIC
 
 endchoice
 
+source "board/xilinx/Kconfig"
 source "board/xilinx/microblaze-generic/Kconfig"
 
 endmenu
diff --git a/board/xilinx/Kconfig b/board/xilinx/Kconfig
index 51f6d2bac8ad..64507b5d8438 100644
--- a/board/xilinx/Kconfig
+++ b/board/xilinx/Kconfig
@@ -50,12 +50,12 @@ config XILINX_OF_BOARD_DTB_ADDR
 
 config BOOT_SCRIPT_OFFSET
 	hex "Boot script offset"
-	depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL
-	default 0xFC0000 if ARCH_ZYNQ
+	depends on ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || MICROBLAZE
+	default 0xFC0000 if ARCH_ZYNQ || MICROBLAZE
 	default 0x3E80000 if ARCH_ZYNQMP
 	default 0x7F80000 if ARCH_VERSAL
 	help
-	   Specifies distro boot script offset in NAND/NOR flash.
+	   Specifies distro boot script offset in NAND/QSPI/NOR flash.
 
 config ZYNQ_MAC_IN_EEPROM
 	bool "Reading MAC address from EEPROM"
diff --git a/board/xilinx/microblaze-generic/Kconfig b/board/xilinx/microblaze-generic/Kconfig
index 7a97211a1ecd..f2fa0f72b13f 100644
--- a/board/xilinx/microblaze-generic/Kconfig
+++ b/board/xilinx/microblaze-generic/Kconfig
@@ -38,9 +38,4 @@ config XILINX_MICROBLAZE0_HW_VER
 	string "Core version number"
 	default "7.10.d"
 
-config BOOT_SCRIPT_OFFSET
-        hex "Boot script offset"
-        default 0xFC0000
-        help
-           Specifies distro boot script offset in NAND/QSPI flash.
 endif
-- 
2.28.0

  parent reply	other threads:[~2020-10-22 10:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22 10:32 [PATCH 00/10] xilinx: common: Several minor fixups Michal Simek
2020-10-22 10:32 ` [PATCH 01/10] arm64: zynqmp: Fix zynqmp mini qspi max frequency Michal Simek
2020-10-22 10:32 ` [PATCH 02/10] xilinx: common: Protect board_late_init_xilinx() Michal Simek
2020-10-22 10:32 ` [PATCH 03/10] xilinx: Add DDR base address to bootscript address Michal Simek
2020-10-22 10:32 ` [PATCH 04/10] xilinx: Enable FRU command for all ARM based platforms Michal Simek
2020-10-22 10:32 ` [PATCH 05/10] xilinx: zynq: Change types from u32 to uint32_t Michal Simek
2020-10-22 10:32 ` [PATCH 06/10] xilinx: zynq: Enable AES command Michal Simek
2020-10-22 10:32 ` [PATCH 07/10] xilinx: Enable SF_TEST command for all ARM based platforms Michal Simek
2020-10-22 10:32 ` [PATCH 08/10] xilinx: Remove additional newline in config files Michal Simek
2020-10-22 10:32 ` Michal Simek [this message]
2020-10-22 10:32 ` [PATCH 10/10] arm64: versal: Set initrd_high to as high as possible Michal Simek
2020-10-22 17:45   ` Tom Rini
2020-10-23  5:43     ` Michal Simek
2020-10-27  7:29       ` Michal Simek
2020-10-27  7:27 ` [PATCH 00/10] xilinx: common: Several minor fixups Michal Simek

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=3d66776d91717a2ce0a0251b3b77166ac1584ab6.1603362738.git.michal.simek@xilinx.com \
    --to=michal.simek@xilinx.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.