X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fpost.h;h=ac93f439692f95f4cdc6e8fb57f276b9bc3e5f29;hb=26750c8aee2383a026e0cf89e9310628d3a5a6a0;hp=3d23d22aea1c5741329d89515f71935b08fc7515;hpb=0886eef9ba25b9e8da4bbaefc1a0b6da7a9567dc;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/post.h b/include/post.h index 3d23d22..ac93f43 100644 --- a/include/post.h +++ b/include/post.h @@ -33,6 +33,7 @@ #if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER) +#ifndef CONFIG_POST_EXTERNAL_WORD_FUNCS #ifdef CONFIG_SYS_POST_WORD_ADDR #define _POST_WORD_ADDR CONFIG_SYS_POST_WORD_ADDR #else @@ -85,6 +86,13 @@ static inline void post_word_store (ulong value) { out_le32((volatile void *)(_POST_WORD_ADDR), value); } + +#else + +extern ulong post_word_load(void); +extern void post_word_store(ulong value); + +#endif /* CONFIG_POST_EXTERNAL_WORD_FUNCS */ #endif /* defined (CONFIG_POST) || defined(CONFIG_LOGBUFFER) */ #endif /* __ASSEMBLY__ */ @@ -188,6 +196,7 @@ extern int memory_post_test(int flags); #define CONFIG_SYS_POST_CODEC 0x00200000 #define CONFIG_SYS_POST_COPROC 0x00400000 #define CONFIG_SYS_POST_FLASH 0x00800000 +#define CONFIG_SYS_POST_MEM_REGIONS 0x01000000 #endif /* CONFIG_POST */