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

Kyungmin Park kmpark at infradead.org
Thu Nov 20 00:03:43 CET 2008


Hi,

On Thu, Nov 20, 2008 at 5:43 AM, Magnus Lilja <lilja.magnus at gmail.com> wrote:
> 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!
>

Yes, you're right. I will fix it soon.

Thank you,
Kyungmin Park


More information about the U-Boot mailing list