From 45ce6f9e35663ea69fcb268e18e9e7f9fda4881d Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Wed, 8 Dec 2010 13:49:12 +0900 Subject: sh: Add support zimageboot command for Renesas SH Curent U-Boot can boot zImage by use the "go" command. But this is not right method. And this method can not set command-line to linux kernel. zimageboot sets command-line in environment of u-boot in linux kernel, and provides function to boot it. Signed-off-by: Nobuhiro Iwamatsu --- arch/sh/lib/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/sh/lib/Makefile') diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile index 7f6039699d..c0670cbc88 100644 --- a/arch/sh/lib/Makefile +++ b/arch/sh/lib/Makefile @@ -31,6 +31,9 @@ COBJS-y += time_sh2.o else COBJS-y += time.o endif +ifeq ($(CONFIG_CMD_SH_ZIMAGEBOOT),y) +COBJS-y += zimageboot.o +endif SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) -- cgit