All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anup Patel <Anup.Patel@wdc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v9 15/15] riscv: Enable CONFIG_SYS_BOOT_RAMDISK_HIGH for using initrd
Date: Thu, 21 Feb 2019 04:31:42 +0000	[thread overview]
Message-ID: <20190221042936.13441-16-anup.patel@wdc.com> (raw)
In-Reply-To: <20190221042936.13441-1-anup.patel@wdc.com>

This patch enables CONFIG_SYS_BOOT_RAMDISK_HIGH for RISC-V
because bootm will update initrd location in DTB only if
CONFIG_SYS_BOOT_RAMDISK_HIGH is enabled. If we don't enable
this option then bootm assumes DTB already has initrd details
which is not the case most of the time.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
---
 arch/riscv/include/asm/config.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/include/asm/config.h b/arch/riscv/include/asm/config.h
index 81bc975d2e..156cb94dc0 100644
--- a/arch/riscv/include/asm/config.h
+++ b/arch/riscv/include/asm/config.h
@@ -8,5 +8,6 @@
 #define _ASM_CONFIG_H_
 
 #define CONFIG_LMB
+#define CONFIG_SYS_BOOT_RAMDISK_HIGH
 
 #endif
-- 
2.17.1

      parent reply	other threads:[~2019-02-21  4:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21  4:30 [U-Boot] [PATCH v9 00/15] SiFive FU540 Support Anup Patel
2019-02-21  4:30 ` [U-Boot] [PATCH v9 01/15] riscv: Enable create symlink using kconfig Anup Patel
2019-02-21  4:30 ` [U-Boot] [PATCH v9 02/15] riscv: Rename cpu/qemu to cpu/generic Anup Patel
2019-02-21  4:30 ` [U-Boot] [PATCH v9 03/15] riscv: Add asm/dma-mapping.h for DMA mappings Anup Patel
2019-02-21  4:30 ` [U-Boot] [PATCH v9 04/15] riscv: Add place-holder asm/arch/clk.h for driver compilation Anup Patel
2019-02-21  4:30 ` [U-Boot] [PATCH v9 05/15] riscv: generic: Ensure that U-Boot runs within 4GB for 64bit systems Anup Patel
2019-02-21  4:30 ` [U-Boot] [PATCH v9 06/15] net: macb: Fix clk API usage for RISC-V systems Anup Patel
2019-02-21 18:35   ` Joe Hershberger
2019-02-21  4:30 ` [U-Boot] [PATCH v9 07/15] net: macb: Fix GEM hardware detection Anup Patel
2019-02-21  4:31 ` [U-Boot] [PATCH v9 08/15] clk: Add SiFive FU540 PRCI clock driver Anup Patel
2019-02-21  4:31 ` [U-Boot] [PATCH v9 09/15] clk: Add fixed-factor " Anup Patel
2019-02-21  4:31 ` [U-Boot] [PATCH v9 10/15] drivers: serial_sifive: Fix baud rate calculation Anup Patel
2019-02-21  4:31 ` [U-Boot] [PATCH v9 11/15] drivers: serial_sifive: Skip baudrate config if no input clock Anup Patel
2019-02-21  4:31 ` [U-Boot] [PATCH v9 12/15] cpu: Bind timer driver for boot hart Anup Patel
2019-02-21  4:31 ` [U-Boot] [PATCH v9 13/15] riscv: Add SiFive FU540 board support Anup Patel
2019-02-21  4:31 ` [U-Boot] [PATCH v9 14/15] doc: Add a readme guide for SiFive FU540 Anup Patel
2019-02-21  4:31 ` Anup Patel [this message]

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=20190221042936.13441-16-anup.patel@wdc.com \
    --to=anup.patel@wdc.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.