summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc512x/common.c
diff options
context:
space:
mode:
authorMichael Zaidman <michael.zaidman@gmail.com>2010-09-20 08:51:53 +0200
committerWolfgang Denk <wd@denx.de>2010-09-21 21:39:31 +0200
commit800eb09641ae67c707b65acff112684a954b7f44 (patch)
treee0f44fbddcb437cb5283642fcb65eb4d86a53058 /arch/powerpc/cpu/mpc512x/common.c
parente2fad3fce947edf97ff7186bcf36b9adf113ac94 (diff)
downloadtalos-obmc-uboot-800eb09641ae67c707b65acff112684a954b7f44.tar.gz
talos-obmc-uboot-800eb09641ae67c707b65acff112684a954b7f44.zip
POST cleanup.
- Revives POST for blackfin arch; - Removes redundant code: arch/blackfin/lib/post.c arch/powerpc/cpu/ppc4xx/commproc.c arch/powerpc/cpu/mpc512x/common.c - fixes up the post_word_{load|store} usage. Signed-off-by: Michael Zaidman <michael.zaidman@gmail.com> Acked-by: Detlev Zundel <dzu@denx.de> Tested-by: Anatolij Gustschin <agust@denx.de> List of the maintainers of the affected by patch boards: Cc: Stephan Linz <linz@li-pro.net> Cc: Denis Peter <d.peter@mpl.ch> Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Stefan Roese <sr@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Niklaus Giger <niklaus.giger@netstal.com> Cc: Larry Johnson <lrj@acm.org> Cc: Feng Kan <fkan@amcc.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc512x/common.c')
-rw-r--r--arch/powerpc/cpu/mpc512x/common.c25
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 180d323cf9..0000000000
--- 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 */
OpenPOWER on IntegriCloud