Skip to contentSkip to conversation

ARM: Add Apollon UBI support

PATCH New Stefan Roese 3 participants 3 messages Nov 19, 2008

lore
Share & tools
lore
#0 lore raw

PATCH v4 11/11 ARM: Add Apollon UBI support

From: Kyungmin Park <[email protected]>

To enable UBI on Apollon you need to uncomment the CONFIG_SYS_USE_UBI macro.

---
 board/apollon/Makefile    |    3 +-
 include/configs/apollon.h |   74 ++++++++++++++++++++++++++++++++++----------
 2 files changed, 59 insertions(+), 18 deletions(-)
board/apollon/Makefile +2 -1
index 9bac9a6..f20de3c 100644
@@ -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))
include/configs/apollon.h +57 -17

132 lines not on this page · raw message

Signature · 1 line
1.6.0.4
#1 lore raw

PATCH v4 11/11 ARM: Add Apollon UBI support

Hi

2008/11/19 Stefan Roese <[email protected]>:

Quoted 33 lines

From: Kyungmin Park <[email protected]>

To enable UBI on Apollon you need to uncomment the CONFIG_SYS_USE_UBI macro.

---
 board/apollon/Makefile    |    3 +-
 include/configs/apollon.h |   74 ++++++++++++++++++++++++++++++++++----------
 2 files changed, 59 insertions(+), 18 deletions(-)
board/apollon/Makefile +2 -1
index 9bac9a6..f20de3c 100644
@@ -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))
include/configs/apollon.h +0 -0
index d71ed44..dff47fc 100644

include/configs/apollon.h line 57

Quoted 5 lines
include/configs/apollon.h +2 -0
@@ -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

#2 lore raw

PATCH v4 11/11 ARM: Add Apollon UBI support

Hi,

Quoted 39 lines · Magnus Lilja

Hi

2008/11/19 Stefan Roese <[email protected]>:

Quoted 36 lines

From: Kyungmin Park <[email protected]>

To enable UBI on Apollon you need to uncomment the CONFIG_SYS_USE_UBI macro.

---
 board/apollon/Makefile    |    3 +-
 include/configs/apollon.h |   74 ++++++++++++++++++++++++++++++++++----------
 2 files changed, 59 insertions(+), 18 deletions(-)
board/apollon/Makefile +2 -1
index 9bac9a6..f20de3c 100644
@@ -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))
include/configs/apollon.h +0 -0
index d71ed44..dff47fc 100644
@@ -53,6 +53,9 @@
 #define CONFIG_SYS_USE_NOR             1
 #endif
 
Quoted 5 lines

include/configs/apollon.h line 57

Quoted 2 lines
include/configs/apollon.h +2 -0
+/* 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