diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2010-12-08 13:49:12 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2011-01-11 21:03:26 +0900 |
commit | 45ce6f9e35663ea69fcb268e18e9e7f9fda4881d (patch) | |
tree | ed6c0b5b6dc68a77aaccb4fec6b3b25e4a12ed59 /arch/sh/lib/Makefile | |
parent | 9980df5616a1561460ea079451db1b57c96131f5 (diff) | |
download | talos-obmc-uboot-45ce6f9e35663ea69fcb268e18e9e7f9fda4881d.tar.gz talos-obmc-uboot-45ce6f9e35663ea69fcb268e18e9e7f9fda4881d.zip |
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 <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'arch/sh/lib/Makefile')
-rw-r--r-- | arch/sh/lib/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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)) |