diff mbox

ARM: socfpga_defconfig: enable support for initramfs/initrd support

Message ID 1455230856-19648-1-git-send-email-dinguyen@opensource.altera.com (mailing list archive)
State New, archived
Headers show

Commit Message

dinguyen@opensource.altera.com Feb. 11, 2016, 10:47 p.m. UTC
From: Dinh Nguyen <dinguyen@opensource.altera.com>

Enable CONFIG_BLK_DEV_INITRD.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
---
 arch/arm/configs/socfpga_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Arnd Bergmann Feb. 11, 2016, 11:01 p.m. UTC | #1
On Thursday 11 February 2016 16:47:36 dinguyen@opensource.altera.com wrote:
> From: Dinh Nguyen <dinguyen@opensource.altera.com>
> 
> Enable CONFIG_BLK_DEV_INITRD.
> 
> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>

What for?

	Arnd
Kevin Hilman Feb. 12, 2016, 12:40 a.m. UTC | #2
Arnd Bergmann <arnd@arndb.de> writes:

> On Thursday 11 February 2016 16:47:36 dinguyen@opensource.altera.com wrote:
>> From: Dinh Nguyen <dinguyen@opensource.altera.com>
>> 
>> Enable CONFIG_BLK_DEV_INITRD.
>> 
>> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
>
> What for?
>

So the board farms doing boot testing can do so with an initramfs.

Acked-by: Kevin Hilman <khilman@baylibre.com>

Kevin
Arnd Bergmann Feb. 12, 2016, 10:01 a.m. UTC | #3
On Thursday 11 February 2016 16:40:14 Kevin Hilman wrote:
> Arnd Bergmann <arnd@arndb.de> writes:
> 
> > On Thursday 11 February 2016 16:47:36 dinguyen@opensource.altera.com wrote:
> >> From: Dinh Nguyen <dinguyen@opensource.altera.com>
> >> 
> >> Enable CONFIG_BLK_DEV_INITRD.
> >> 
> >> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
> >
> > What for?
> >
> 
> So the board farms doing boot testing can do so with an initramfs.
> 
> Acked-by: Kevin Hilman <khilman@baylibre.com>

Ah, got it. I thought this was just the option for the old-style blockdev
based initrd, not the new-style initramfs.

	Arnd
diff mbox

Patch

diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig
index f7f4e2e..753f1a5 100644
--- a/arch/arm/configs/socfpga_defconfig
+++ b/arch/arm/configs/socfpga_defconfig
@@ -7,6 +7,7 @@  CONFIG_LOG_BUF_SHIFT=14
 CONFIG_CGROUPS=y
 CONFIG_CPUSETS=y
 CONFIG_NAMESPACES=y
+CONFIG_BLK_DEV_INITRD=y
 CONFIG_EMBEDDED=y
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
@@ -107,4 +108,3 @@  CONFIG_DETECT_HUNG_TASK=y
 # CONFIG_SCHED_DEBUG is not set
 CONFIG_ENABLE_DEFAULT_TRACERS=y
 CONFIG_DEBUG_USER=y
-CONFIG_XZ_DEC=y