[U-Boot] [PATCH] post, memory test: add memory_post_test() to include file

Heiko Schocher hs at denx.de
Wed Jun 1 08:24:07 CEST 2011


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 <hs at denx.de>
---
 include/post.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/post.h b/include/post.h
index 519cef1..cda6e76 100644
--- a/include/post.h
+++ b/include/post.h
@@ -187,6 +187,7 @@ extern int post_hotkeys_pressed(void);
 #define CONFIG_SYS_POST_CODEC		0x00200000
 #define CONFIG_SYS_POST_COPROC		0x00400000
 
+int memory_post_test(int flags);
 #endif /* CONFIG_POST */
 
 #endif /* _POST_H */
-- 
1.7.4.4



More information about the U-Boot mailing list