diff mbox

[U-Boot,v2,12/16] apalis/colibri_t20/t30: enable raw initrd support

Message ID eb25a6ccc831462f6960ba9c73850aeb8745999e.1437426110.git.marcel.ziswiler@toradex.com
State Superseded
Delegated to: Tom Warren
Headers show

Commit Message

Marcel Ziswiler July 20, 2015, 10:35 p.m. UTC
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Enable optional raw initrd support to allow boot using an initrd.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
 include/configs/apalis_t30.h  | 3 +++
 include/configs/colibri_t20.h | 3 +++
 include/configs/colibri_t30.h | 3 +++
 3 files changed, 9 insertions(+)

Comments

Stephen Warren July 27, 2015, 7:45 p.m. UTC | #1
On 07/20/2015 04:35 PM, Marcel Ziswiler wrote:
> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
>
> Enable optional raw initrd support to allow boot using an initrd.

> diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h

> +#define CONFIG_SYS_BOOT_RAMDISK_HIGH

Doesn't arch/arm/include/asm/config.h set this already?
Marcel Ziswiler July 28, 2015, 1:27 a.m. UTC | #2
On 27 July 2015 21:45:18 CEST, Stephen Warren <swarren@wwwdotorg.org> wrote:
>On 07/20/2015 04:35 PM, Marcel Ziswiler wrote:
>> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
>>
>> Enable optional raw initrd support to allow boot using an initrd.
>
>> diff --git a/include/configs/apalis_t30.h
>b/include/configs/apalis_t30.h
>
>> +#define CONFIG_SYS_BOOT_RAMDISK_HIGH
>
>Doesn't arch/arm/include/asm/config.h set this already?

Wow wasn't aware of that one yet. Yes, I believe you are right. I will drop this one then in an upcoming v3.
diff mbox

Patch

diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h
index 283b002..898ccdf 100644
--- a/include/configs/apalis_t30.h
+++ b/include/configs/apalis_t30.h
@@ -79,6 +79,9 @@ 
 #undef CONFIG_SYS_MAXARGS
 #define CONFIG_SYS_MAXARGS		32
 
+#define CONFIG_SUPPORT_RAW_INITRD
+#define CONFIG_SYS_BOOT_RAMDISK_HIGH
+
 #include "tegra-common-usb-gadget.h"
 #include "tegra-common-post.h"
 
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index 72a328f..4c45ef8 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -113,6 +113,9 @@ 
 #undef CONFIG_SYS_MAXARGS
 #define CONFIG_SYS_MAXARGS		32
 
+#define CONFIG_SUPPORT_RAW_INITRD
+#define CONFIG_SYS_BOOT_RAMDISK_HIGH
+
 #include "tegra-common-usb-gadget.h"
 #include "tegra-common-post.h"
 
diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h
index 249b5c0..3ef4778 100644
--- a/include/configs/colibri_t30.h
+++ b/include/configs/colibri_t30.h
@@ -72,6 +72,9 @@ 
 #undef CONFIG_SYS_MAXARGS
 #define CONFIG_SYS_MAXARGS		32
 
+#define CONFIG_SUPPORT_RAW_INITRD
+#define CONFIG_SYS_BOOT_RAMDISK_HIGH
+
 #include "tegra-common-usb-gadget.h"
 #include "tegra-common-post.h"