From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 26 Jul 2011 10:26:51 +0200 Subject: [U-Boot] [PATCH] post, memory test: add memory_post_test() to include file In-Reply-To: <20110725214345.992A1138EED5@gemini.denx.de> References: <1306909447-19603-1-git-send-email-hs@denx.de> <1306909447-19603-3-git-send-email-hs@denx.de> <20110725214345.992A1138EED5@gemini.denx.de> Message-ID: <20110726082651.F2CE3138EED4@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heiko, In message <1306909447-19603-3-git-send-email-hs@denx.de> you wrote: > This include is needed, if this memory test is used "outside" > from post code, for example booting with nand_spl, and using > this memory test before copying u-boot code to RAM and jumping > to it. > > Signed-off-by: Heiko Schocher > --- > include/post.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) This got applied as commit f18714d, but obviously this patch has not been tested before as it is breaking a ton of boards: ... Configuring for NETTA_ISDN - Board: NETTA, Options: NETTA_ISDN=1 include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [lib_powerpc/libpostpowerpc.o] Error 2 make: *** [libpost.o] Error 2 ppc_6xx-size: 'u-boot': No such file Configuring for NETTA_ISDN_6412 - Board: NETTA, Options: NETTA_ISDN=1,NETTA_6412=1 include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [lib_powerpc/libpostpowerpc.o] Error 2 make: *** [libpost.o] Error 2 ppc_6xx-size: 'u-boot': No such file Configuring for NETTA_ISDN_6412_SWAPHOOK - Board: NETTA, Options: NETTA_ISDN=1,NETTA_6412=1,NETTA_SWAPHOOK=1 include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [lib_powerpc/libpostpowerpc.o] Error 2 make: *** [libpost.o] Error 2 ppc_6xx-size: 'u-boot': No such file Configuring for NETTA_ISDN_SWAPHOOK - Board: NETTA, Options: NETTA_ISDN=1,NETTA_SWAPHOOK=1 include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [lib_powerpc/libpostpowerpc.o] Error 2 make: *** [libpost.o] Error 2 ppc_6xx-size: 'u-boot': No such file Configuring for NETTA_SWAPHOOK - Board: NETTA, Options: NETTA_SWAPHOOK=1 include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [lib_powerpc/libpostpowerpc.o] Error 2 make: *** [libpost.o] Error 2 ppc_6xx-size: 'u-boot': No such file ... Configuring for KUP4X board... include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' make[2]: *** [lib_powerpc/asm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... include/post.h: Assembler messages: include/post.h:190: Error: Unrecognized opcode: `int' ... Please fix!! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de We fight only when there is no other choice. We prefer the ways of peaceful contact. -- Kirk, "Spectre of the Gun", stardate 4385.3