All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio@ossystems.com.br>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 6/6] rv1108: Add support for default distro_bootcmd
Date: Tue, 23 Oct 2018 10:35:56 -0300	[thread overview]
Message-ID: <20181023133556.10437-6-otavio@ossystems.com.br> (raw)
In-Reply-To: <20181023133556.10437-1-otavio@ossystems.com.br>

This allow easier integration of RV1108 based boards on generic
distributions and build systems.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

Changes in v2:
- new patch

 include/configs/rv1108_common.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/include/configs/rv1108_common.h b/include/configs/rv1108_common.h
index cc0384e2f4..99aa56ab35 100644
--- a/include/configs/rv1108_common.h
+++ b/include/configs/rv1108_common.h
@@ -28,3 +28,17 @@
 #define CONFIG_USB_OHCI_NEW
 #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	1
 #endif
+
+#ifndef CONFIG_SPL_BUILD
+#define ENV_MEM_LAYOUT_SETTINGS \
+	"scriptaddr=0x60000000\0" \
+	"fdt_addr_r=0x61f00000\0" \
+	"kernel_addr_r=0x62000000\0" \
+	"ramdisk_addr_r=0x64000000\0"
+
+#include <config_distro_bootcmd.h>
+#define CONFIG_EXTRA_ENV_SETTINGS \
+	ENV_MEM_LAYOUT_SETTINGS \
+	"partitions=" PARTS_DEFAULT \
+	BOOTENV
+#endif
-- 
2.19.1

  parent reply	other threads:[~2018-10-23 13:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23 13:35 [U-Boot] [PATCH v2 1/6] ARM: vexpress-ca9x4_defconfig: Enable CMD_UBI support Otavio Salvador
2018-10-23 13:35 ` [U-Boot] [PATCH v2 2/6] ARM: rpi_*_defconfig: Add support to find UUID for filesystem Otavio Salvador
2018-12-02 22:00   ` [U-Boot] [U-Boot, v2, " Alexander Graf
2018-12-02 22:33     ` Otavio Salvador
2018-12-02 22:36       ` Alexander Graf
2018-10-23 13:35 ` [U-Boot] [PATCH v2 3/6] clk_rv1108: Sync with vendor tree Otavio Salvador
2018-10-23 13:35 ` [U-Boot] [PATCH v2 4/6] rv1108: Enable eMMC support Otavio Salvador
2018-10-23 13:35 ` [U-Boot] [PATCH v2 5/6] rv1108: Make USB OTG functional Otavio Salvador
2018-10-23 13:35 ` Otavio Salvador [this message]
2018-11-16 15:03 ` [U-Boot] [U-Boot, v2, 1/6] ARM: vexpress-ca9x4_defconfig: Enable CMD_UBI support Tom Rini
2018-11-16 16:42   ` Otavio Salvador
2018-11-18 19:13     ` Linus Walleij
2018-11-18 20:51       ` Otavio Salvador

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=20181023133556.10437-6-otavio@ossystems.com.br \
    --to=otavio@ossystems.com.br \
    --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.