mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Franck Jullien <franck.jullien@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 1/2] openrisc: switch to defaultenv-2 and change boardinfo
Date: Tue, 16 Oct 2012 21:54:55 +0200	[thread overview]
Message-ID: <1350417296-26963-2-git-send-email-franck.jullien@gmail.com> (raw)
In-Reply-To: <1350417296-26963-1-git-send-email-franck.jullien@gmail.com>

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>

---
 arch/openrisc/Kconfig                   |    3 ++-
 arch/openrisc/configs/generic_defconfig |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index a3cb337..bcfd67f 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -1,6 +1,7 @@
 config OPENRISC
 	bool
 	select HAVE_CONFIGURABLE_MEMORY_LAYOUT
+	select HAVE_DEFAULT_ENVIRONMENT_NEW
 	default y
 
 # not used
@@ -9,7 +10,7 @@ config ARCH_TEXT_BASE
 	default 0x00000000
 
 config BOARDINFO
-	default "Openrisc simulator" if GENERIC
+	default "or1k" if GENERIC
 
 choice
 	prompt "Select your board"
diff --git a/arch/openrisc/configs/generic_defconfig b/arch/openrisc/configs/generic_defconfig
index 68e0371..7ae85b0 100644
--- a/arch/openrisc/configs/generic_defconfig
+++ b/arch/openrisc/configs/generic_defconfig
@@ -3,13 +3,13 @@ CONFIG_HUSH_FANCY_PROMPT=y
 CONFIG_CMDLINE_EDITING=y
 CONFIG_AUTO_COMPLETE=y
 CONFIG_PARTITION=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
 CONFIG_CMD_EDIT=y
 CONFIG_CMD_SAVEENV=y
-CONFIG_CMD_LOADENV=y
 CONFIG_CMD_EXPORT=y
 CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_TIME=y
+CONFIG_CMD_ECHO_E=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_FLASH=y
 # CONFIG_CMD_BOOTM is not set
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-10-16 19:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16 19:54 [PATCH 0/2] openrisc: cleanup generic board Franck Jullien
2012-10-16 19:54 ` Franck Jullien [this message]
2012-10-16 19:54 ` [PATCH 2/2] openrisc: generic board cleanup Franck Jullien
2012-10-16 21:33   ` Sascha Hauer
2012-10-17  6:10     ` Franck Jullien
2012-10-21  8:57 ` [PATCH 0/2] openrisc: cleanup generic board Sascha Hauer

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=1350417296-26963-2-git-send-email-franck.jullien@gmail.com \
    --to=franck.jullien@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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