4 #if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER)
6 #if defined(CONFIG_SYS_POST_WORD_ADDR)
7 # define _POST_ADDR (CONFIG_SYS_POST_WORD_ADDR)
9 #error echo "No POST word address defined"
12 void post_word_store(ulong a)
14 volatile void *save_addr = (volatile void *)(_POST_ADDR);
16 out_be32(save_addr, a);
19 ulong post_word_load(void)
21 volatile void *save_addr = (volatile void *)(_POST_ADDR);
23 return in_be32(save_addr);
25 #endif /* CONFIG_POST || CONFIG_LOGBUFFER */