From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2001:470:1f0b:db:abcd:42:0:1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D73992C031E for ; Fri, 21 Feb 2014 07:48:42 +1100 (EST) From: Sebastian Andrzej Siewior To: Benjamin Herrenschmidt Subject: [PATCH 2/2] powerpc: add "force config cmd line" Kconfig option Date: Thu, 20 Feb 2014 21:48:17 +0100 Message-Id: <1392929297-12837-2-git-send-email-bigeasy@linutronix.de> In-Reply-To: <1392929297-12837-1-git-send-email-bigeasy@linutronix.de> References: <1392929297-12837-1-git-send-email-bigeasy@linutronix.de> Cc: linuxppc-dev@lists.ozlabs.org, Sebastian Andrzej Siewior , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , powerpc uses early_init_dt_scan_chosen() from common fdt code. By enabling this option, the common code can take the built in command line over the one that is comming from bootloader / DT. Signed-off-by: Sebastian Andrzej Siewior --- arch/powerpc/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 957bf34..957d3e5 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -618,6 +618,15 @@ config CMDLINE some command-line options at build time by entering them here. In most cases you will need to specify the root device here. +config CMDLINE_FORCE + bool "Always use the default kernel command string" + depends on CMDLINE_BOOL + help + Always use the default kernel command string, even if the boot + loader passes other arguments to the kernel. + This is useful if you cannot or don't want to change the + command-line options your boot loader passes to the kernel. + config EXTRA_TARGETS string "Additional default image types" help -- 1.9.0.rc3