X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=target%2Flinux%2Fsibyte%2Fpatches%2F002-sibyte_remove_standalone_support.patch;h=2c46ccf66d599e34f9a2cb9d6d0884db67a04eb0;hb=ed2d03fdee38a559d628e947cb23ef46a04f16f8;hp=e9d63113fddf6a409bf1e0963fed55ae0c1d0803;hpb=810339235c1ab41fa69577f5f8bc14fd7596b1dd;p=openwrt-10.03%2F.git diff --git a/target/linux/sibyte/patches/002-sibyte_remove_standalone_support.patch b/target/linux/sibyte/patches/002-sibyte_remove_standalone_support.patch index e9d63113f..2c46ccf66 100644 --- a/target/linux/sibyte/patches/002-sibyte_remove_standalone_support.patch +++ b/target/linux/sibyte/patches/002-sibyte_remove_standalone_support.patch @@ -103,7 +103,7 @@ Signed-off-by: Imre Kaloz -lib-$(CONFIG_SIBYTE_CFE_CONSOLE) += console.o --- a/arch/mips/sibyte/cfe/setup.c +++ /dev/null -@@ -1,350 +0,0 @@ +@@ -1,344 +0,0 @@ -/* - * Copyright (C) 2000, 2001, 2002, 2003 Broadcom Corporation - * @@ -394,13 +394,7 @@ Signed-off-by: Imre Kaloz - */ - cfe_cons_handle = cfe_getstdhandle(CFE_STDHANDLE_CONSOLE); - if (cfe_getenv("LINUX_CMDLINE", arcs_cmdline, CL_SIZE) < 0) { -- if (argc < 0) { -- /* -- * It's OK for direct boot to not provide a -- * command line -- */ -- strcpy(arcs_cmdline, "root=/dev/ram0 "); -- } else { +- if (argc >= 0) { - /* The loader should have set the command line */ - /* too early for panic to do any good */ - printk("LINUX_CMDLINE not defined in cfe.");