[U-Boot] [PATCH 2/5][v2] powerpc/mpc85xx: new SPL support for IFC NAND
Prabhakar Kushwaha
prabhakar at freescale.com
Sat Apr 6 04:38:32 CEST 2013
On 04/06/2013 02:10 AM, Scott Wood wrote:
> On 03/22/2013 02:08:05 AM, Prabhakar Kushwaha wrote:
>> diff --git a/board/freescale/common/Makefile
>> b/board/freescale/common/Makefile
>> index 75725b4..a4d521c 100644
>> --- a/board/freescale/common/Makefile
>> +++ b/board/freescale/common/Makefile
>> @@ -29,6 +29,15 @@ endif
>>
>> LIB = $(obj)libfreescale.o
>>
>> +MINIMAL=
>> +
>> +ifdef CONFIG_SPL_BUILD
>> +ifdef CONFIG_SPL_INIT_MINIMAL
>> +MINIMAL=y
>> +endif
>> +endif
>> +
>> +ifndef MINIMAL
>> COBJS-$(CONFIG_FSL_CADMUS) += cadmus.o
>> COBJS-$(CONFIG_FSL_VIA) += cds_via.o
>> COBJS-$(CONFIG_FMAN_ENET) += fman.o
>> @@ -62,6 +71,7 @@ SUBLIB-$(CONFIG_P3041DS) +=
>> p_corenet/libp_corenet.o
>> SUBLIB-$(CONFIG_P4080DS) += p_corenet/libp_corenet.o
>> SUBLIB-$(CONFIG_P5020DS) += p_corenet/libp_corenet.o
>> SUBLIB-$(CONFIG_P5040DS) += p_corenet/libp_corenet.o
>> +endif
>>
>> SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
>> OBJS := $(addprefix $(obj),$(COBJS-y))
>
> If this is needed to avoid pulling in any files from this directory,
> why did p1_p2_rdb_pc not need this? Is there a particular file that
> is failing to build or failing to get optimized away
I cannot avoid this directory :(.
because new SPL compile this directory even after undef QIXIS defines
#ifndef CONFIG_SPL_BUILD
#define CONFIG_FSL_QIXIS
#endif
make[3]: Leaving directory
`/home/b32579/Workspace/MERGE/OPENSRC/U-BOOT/u-boot/board/freescale/bsc9132qds'
make -C
/home/b32579/Workspace/MERGE/OPENSRC/U-BOOT/u-boot/board/freescale/common/
make[3]: Entering directory
`/home/b32579/Workspace/MERGE/OPENSRC/U-BOOT/u-boot/board/freescale/common'
--
--
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc
-g -Os -fpic -mrelocatable -ffunction-sections -fdata-sections -meabi
-D__KERNEL__ -ffunction-sections -fdata-sections
-DCONFIG_SYS_TEXT_BASE=0x00201000 -DCONFIG_SPL_TEXT_BASE=0xFFFFE000
-DCONFIG_SPL_BUILD
-I/home/b32579/Workspace/MERGE/OPENSRC/U-BOOT/u-boot/include
-fno-builtin -ffreestanding -nostdinc -isystem
/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/include
-pipe -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float
-mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes
-fno-stack-protector -Wno-format-nonliteral -Wno-format-security -o
/home/b32579/Workspace/MERGE/OPENSRC/U-BOOT/u-boot/spl/board/freescale/common/qixis.o
qixis.c -c
qixis.c: In function 'qixis_read':
---
qixis.c:36:20: error: 'QIXIS_BASE' undeclared (first use in this function)
qixis.c:36:20: note: each undeclared identifier is reported only once
for each function it appears in
make: *** [BSC9132QDS_NAND_DDRCLK133] Error 2
Regards,
Prabhakar
More information about the U-Boot
mailing list