diff options
author | Wolfgang Denk <wd@denx.de> | 2010-09-22 22:35:44 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-22 22:35:44 +0200 |
commit | d1475d8aab7a6ab7ea7534a98bd20e59f150c2e3 (patch) | |
tree | 9cba64584a5b520e8074c722f662d27387f2fd84 /arch/powerpc/cpu/mpc512x | |
parent | 0cc89de8ef60214083739904b011f6c255922723 (diff) | |
parent | 800eb09641ae67c707b65acff112684a954b7f44 (diff) | |
download | u-boot-imx-d1475d8aab7a6ab7ea7534a98bd20e59f150c2e3.zip u-boot-imx-d1475d8aab7a6ab7ea7534a98bd20e59f150c2e3.tar.gz u-boot-imx-d1475d8aab7a6ab7ea7534a98bd20e59f150c2e3.tar.bz2 |
Merge branch 'master' of /home/wd/git/u-boot/master
Diffstat (limited to 'arch/powerpc/cpu/mpc512x')
-rw-r--r-- | arch/powerpc/cpu/mpc512x/common.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/powerpc/cpu/mpc512x/common.c b/arch/powerpc/cpu/mpc512x/common.c deleted file mode 100644 index 180d323..0000000 --- a/arch/powerpc/cpu/mpc512x/common.c +++ /dev/null @@ -1,25 +0,0 @@ -#include <common.h> -#include <asm/io.h> - -#if defined(CONFIG_POST) || defined(CONFIG_LOGBUFFER) - -#if defined(CONFIG_SYS_POST_WORD_ADDR) -# define _POST_ADDR (CONFIG_SYS_POST_WORD_ADDR) -#else -#error echo "No POST word address defined" -#endif - -void post_word_store(ulong a) -{ - volatile void *save_addr = (volatile void *)(_POST_ADDR); - - out_be32(save_addr, a); -} - -ulong post_word_load(void) -{ - volatile void *save_addr = (volatile void *)(_POST_ADDR); - - return in_be32(save_addr); -} -#endif /* CONFIG_POST || CONFIG_LOGBUFFER */ |