public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Amit Singh Tomar <amittomer25@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v9 10/12] actions: Move defconfig options to Kconfig
Date: Wed,  1 Apr 2020 12:49:33 +0530	[thread overview]
Message-ID: <1585725575-8050-11-git-send-email-amittomer25@gmail.com> (raw)
In-Reply-To: <1585725575-8050-1-git-send-email-amittomer25@gmail.com>

This patch moves some of the config options from bubblegum_96_defconfig
to platform specific Kconfig file.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
---
Changes since v8:
        * No changes.
Changes since v7:
        * No changes.
Changes since v6:
        * remove unnecessary string from SYS_PROMPT.
Changes since v5:
        * Newly added patch, was not there in earlier versions.
---
 arch/arm/mach-owl/Kconfig      | 15 +++++++++++++++
 configs/bubblegum_96_defconfig |  5 -----
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/arch/arm/mach-owl/Kconfig b/arch/arm/mach-owl/Kconfig
index cde2ade..2b5d725 100644
--- a/arch/arm/mach-owl/Kconfig
+++ b/arch/arm/mach-owl/Kconfig
@@ -24,4 +24,19 @@ config SYS_SOC
         default "s900" if MACH_S900
         default "s700" if MACH_S700
 
+config DISTRO_DEFAULTS
+	default y
+
+config NR_DRAM_BANKS
+	default 1
+
+config SYS_RELOC_GD_ENV_ADDR
+	default y
+
+config SYS_PROMPT
+	default "U-Boot => "
+
+config DISPLAY_BOARDINFO
+	default n
+
 endif
diff --git a/configs/bubblegum_96_defconfig b/configs/bubblegum_96_defconfig
index e76e9a2..0883167 100644
--- a/configs/bubblegum_96_defconfig
+++ b/configs/bubblegum_96_defconfig
@@ -1,19 +1,14 @@
 CONFIG_ARM=y
 CONFIG_ARCH_OWL=y
 CONFIG_ENV_SIZE=0x2000
-CONFIG_NR_DRAM_BANKS=1
 CONFIG_MACH_S900=y
 CONFIG_IDENT_STRING="\nBubblegum-96"
-CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTDELAY=5
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyOWL5,115200n8"
 # CONFIG_DISPLAY_CPUINFO is not set
-# CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_SYS_PROMPT="U-Boot => "
 CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIMER=y
 CONFIG_DEFAULT_DEVICE_TREE="bubblegum_96"
-CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-- 
2.7.4

  parent reply	other threads:[~2020-04-01  7:19 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-01  7:19 [PATCH v9 00/12] Actions S700 SoC support Amit Singh Tomar
2020-04-01  7:19 ` [PATCH v9 01/12] arm: actions: Add common framework for Actions Owl Semi SoCs Amit Singh Tomar
2020-04-05  6:56   ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 02/12] arm: actions: rename sysmap-s900 to sysmap-owl Amit Singh Tomar
2020-04-05  7:02   ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 03/12] serial: actions: add compatible string Amit Singh Tomar
2020-04-05  6:59   ` Manivannan Sadhasivam
2020-04-05 10:08     ` André Przywara
2020-04-05 10:54       ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 04/12] arm: dts: sync dts for Action Semi S900 Amit Singh Tomar
2020-04-05  7:01   ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 05/12] arm: dts: actions: s900: add u-boot specific dtsi file Amit Singh Tomar
2020-04-05  7:01   ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 06/12] clk: actions: Add common clock driver Amit Singh Tomar
2020-04-05  7:09   ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 07/12] arm: actions: add S700 SoC device tree Amit Singh Tomar
2020-04-05  7:13   ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 08/12] arm: dts: actions: s700: add u-boot specific dtsi file Amit Singh Tomar
2020-04-05  7:14   ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 09/12] arm: add support Actions Semi S700 Amit Singh Tomar
2020-04-05  7:14   ` Manivannan Sadhasivam
2020-04-01  7:19 ` Amit Singh Tomar [this message]
2020-04-05  7:16   ` [PATCH v9 10/12] actions: Move defconfig options to Kconfig Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 11/12] arm: add Cubieboard7 board support Amit Singh Tomar
2020-04-05  7:17   ` Manivannan Sadhasivam
2020-04-01  7:19 ` [PATCH v9 12/12] doc: boards: add Cubieboard7 documentation Amit Singh Tomar
2020-04-05  7:21   ` Manivannan Sadhasivam
2020-04-05  7:25 ` [PATCH v9 00/12] Actions S700 SoC support Manivannan Sadhasivam
2020-04-06 12:45   ` Amit Tomer

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=1585725575-8050-11-git-send-email-amittomer25@gmail.com \
    --to=amittomer25@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox