PPC: define post_word_{load/store} for all PPC boards.
PATCH 1/1 PPC: define post_word_{load/store} for all PPC boards.
Defining the post_word_{load/store} routines in the ppc common code eliminates the necessity to redefine them for each of the ppc CPUs or boards.
--- arch/ppc/lib/Makefile | 1 + arch/ppc/lib/commproc.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 arch/ppc/lib/commproc.c
arch/ppc/lib/Makefile +1 -0
@@ -38,6 +38,7 @@ COBJS-y += extable.o COBJS-y += interrupts.o COBJS-$(CONFIG_CMD_KGDB) += kgdb.o COBJS-y += time.o +COBJS-y += commproc.o SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
arch/ppc/lib/commproc.c new file +54 -0
54 lines not on this page · raw message
Signature · 1 line
1.6.3.3
PATCH 1/1 PPC: define post_word_{load/store} for all PPC boards.
Dear Michael Zaidman,
Quoted 10 lines · In message <[email protected]> you…
Defining the post_word_{load/store} routines in the ppc common code eliminates the necessity to redefine them for each of the ppc CPUs or boards.
Signed-off-by Michael Zaidman <[email protected]>--- arch/ppc/lib/Makefile | 1 + arch/ppc/lib/commproc.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 0 deletions(-) create mode 100644 arch/ppc/lib/commproc.c
NAK. "commproc" is by definition code for the communication processors on some freescale processors. It makes no sense to use this name for generica code.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Question: How does one get fresh air into a Russian church? Answer: One clicks on an icon, and a window opens!
PATCH 1/1 PPC: define post_word_{load/store} for all PPC boards.
Link to the related thread:
http://lists.denx.de/pipermail/u-boot/2010-April/070263.html