[U-Boot] [PATCH 11/11 v4] ARM: Add Apollon UBI support

Magnus Lilja lilja.magnus at gmail.com
Wed Nov 19 21:43:26 CET 2008


Hi

2008/11/19 Stefan Roese <sr at denx.de>:
> From: Kyungmin Park <kyungmin.park at samsung.com>
>
> To enable UBI on Apollon you need to uncomment the CONFIG_SYS_USE_UBI
> macro.
>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  board/apollon/Makefile    |    3 +-
>  include/configs/apollon.h |   74 ++++++++++++++++++++++++++++++++++----------
>  2 files changed, 59 insertions(+), 18 deletions(-)
>
> diff --git a/board/apollon/Makefile b/board/apollon/Makefile
> index 9bac9a6..f20de3c 100644
> --- a/board/apollon/Makefile
> +++ b/board/apollon/Makefile
> @@ -25,9 +25,10 @@ include $(TOPDIR)/config.mk
>
>  LIB    = $(obj)lib$(BOARD).a
>
> -COBJS  := apollon.o mem.o sys_info.o
> +COBJS-y        := apollon.o mem.o sys_info.o
>  SOBJS  := lowlevel_init.o
>
> +COBJS  := $(COBJS-y)
>  SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
>  OBJS   := $(addprefix $(obj),$(COBJS))
>  SOBJS  := $(addprefix $(obj),$(SOBJS))
> diff --git a/include/configs/apollon.h b/include/configs/apollon.h
> index d71ed44..dff47fc 100644
> --- a/include/configs/apollon.h
> +++ b/include/configs/apollon.h
> @@ -53,6 +53,9 @@
>  #define CONFIG_SYS_USE_NOR             1
>  #endif
>
> +/* uncommnet if you want to use UBI */
> +#define CONFIG_SYS_USE_UBI

But it's already uncommnented!


/Magnus


More information about the U-Boot mailing list