From: Robin Getz Date: Mon, 21 Dec 2009 20:31:08 +0000 (-0500) Subject: Blackfin: add a netconsole helper X-Git-Tag: v2010.03-rc1~152^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0097870e3d72f10ec58ae22488945fd9ee37289f;p=platform%2Fkernel%2Fu-boot.git Blackfin: add a netconsole helper Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger --- diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index db10ccc..f7a2d5c 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/configs/bfin_adi_common.h @@ -178,7 +178,19 @@ "erase 0x20000000 +$(filesize);" \ "cp.b $(loadaddr) 0x20000000 $(filesize)" # endif +# ifdef CONFIG_NETCONSOLE +# define NETCONSOLE_ENV \ + "nc=" \ + "set ncip ${serverip};" \ + "set stdin nc;" \ + "set stdout nc" \ + "\0" +# else +# define NETCONSOLE_ENV +# endif # define NETWORK_ENV_SETTINGS \ + NETCONSOLE_ENV \ + \ "ubootfile=" UBOOT_ENV_FILE "\0" \ "update=" \ "tftp $(loadaddr) $(ubootfile);" \