diff options
Diffstat (limited to 'post')
-rw-r--r-- | post/Makefile | 8 | ||||
-rw-r--r-- | post/board/lwmon/Makefile | 29 | ||||
-rw-r--r-- | post/board/lwmon/sysmon.c (renamed from post/sysmon.c) | 0 | ||||
-rw-r--r-- | post/board/netta/Makefile | 29 | ||||
-rw-r--r-- | post/board/netta/codec.c (renamed from post/codec.c) | 0 | ||||
-rw-r--r-- | post/board/netta/dsp.c (renamed from post/dsp.c) | 0 | ||||
-rw-r--r-- | post/cpu/mpc8xx/Makefile | 29 | ||||
-rw-r--r-- | post/cpu/mpc8xx/cache_8xx.S (renamed from post/cache_8xx.S) | 0 | ||||
-rw-r--r-- | post/cpu/mpc8xx/ether.c (renamed from post/ether.c) | 0 | ||||
-rw-r--r-- | post/cpu/mpc8xx/spr.c (renamed from post/spr.c) | 0 | ||||
-rw-r--r-- | post/cpu/mpc8xx/uart.c (renamed from post/uart.c) | 0 | ||||
-rw-r--r-- | post/cpu/mpc8xx/usb.c (renamed from post/usb.c) | 0 | ||||
-rw-r--r-- | post/cpu/mpc8xx/watchdog.c (renamed from post/watchdog.c) | 0 | ||||
-rw-r--r-- | post/drivers/Makefile | 31 | ||||
-rw-r--r-- | post/drivers/cache.c (renamed from post/cache.c) | 0 | ||||
-rw-r--r-- | post/drivers/i2c.c (renamed from post/i2c.c) | 0 | ||||
-rw-r--r-- | post/drivers/memory.c (renamed from post/memory.c) | 0 | ||||
-rw-r--r-- | post/drivers/rtc.c (renamed from post/rtc.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/Makefile (renamed from post/cpu/Makefile) | 5 | ||||
-rw-r--r-- | post/lib_ppc/andi.c (renamed from post/cpu/andi.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/asm.S (renamed from post/cpu/asm.S) | 0 | ||||
-rw-r--r-- | post/lib_ppc/b.c (renamed from post/cpu/b.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/cmp.c (renamed from post/cpu/cmp.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/cmpi.c (renamed from post/cpu/cmpi.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/complex.c (renamed from post/cpu/complex.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/cpu.c (renamed from post/cpu.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/cpu_asm.h (renamed from post/cpu/cpu_asm.h) | 0 | ||||
-rw-r--r-- | post/lib_ppc/cr.c (renamed from post/cpu/cr.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/load.c (renamed from post/cpu/load.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/multi.c (renamed from post/cpu/multi.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/rlwimi.c (renamed from post/cpu/rlwimi.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/rlwinm.c (renamed from post/cpu/rlwinm.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/rlwnm.c (renamed from post/cpu/rlwnm.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/srawi.c (renamed from post/cpu/srawi.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/store.c (renamed from post/cpu/store.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/string.c (renamed from post/cpu/string.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/three.c (renamed from post/cpu/three.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/threei.c (renamed from post/cpu/threei.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/threex.c (renamed from post/cpu/threex.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/two.c (renamed from post/cpu/two.c) | 0 | ||||
-rw-r--r-- | post/lib_ppc/twox.c (renamed from post/cpu/twox.c) | 0 | ||||
-rw-r--r-- | post/post.c | 1 |
42 files changed, 123 insertions, 9 deletions
diff --git a/post/Makefile b/post/Makefile index 228bafc6a77..f32af951624 100644 --- a/post/Makefile +++ b/post/Makefile @@ -22,14 +22,10 @@ # -SUBDIRS = cpu +SUBDIRS = drivers cpu lib_$(ARCH) board/$(BOARDDIR) LIB = libpost.a -AOBJS = cache_8xx.o -COBJS = cache.o codec.o cpu.o dsp.o ether.o -COBJS += i2c.o memory.o post.o rtc.o -COBJS += spr.o sysmon.o tests.o uart.o -COBJS += usb.o watchdog.o +COBJS = post.o tests.o include $(TOPDIR)/post/rules.mk diff --git a/post/board/lwmon/Makefile b/post/board/lwmon/Makefile new file mode 100644 index 00000000000..899b0dc1f30 --- /dev/null +++ b/post/board/lwmon/Makefile @@ -0,0 +1,29 @@ +# +# (C) Copyright 2002-2006 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + + +LIB = libpostlwmon.a + +COBJS = sysmon.o + +include $(TOPDIR)/post/rules.mk diff --git a/post/sysmon.c b/post/board/lwmon/sysmon.c index f61d598244c..f61d598244c 100644 --- a/post/sysmon.c +++ b/post/board/lwmon/sysmon.c diff --git a/post/board/netta/Makefile b/post/board/netta/Makefile new file mode 100644 index 00000000000..60c7790ace9 --- /dev/null +++ b/post/board/netta/Makefile @@ -0,0 +1,29 @@ +# +# (C) Copyright 2002-2006 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + + +LIB = libpostnetta.a + +COBJS = codec.o dsp.o + +include $(TOPDIR)/post/rules.mk diff --git a/post/codec.c b/post/board/netta/codec.c index e8817520fc6..e8817520fc6 100644 --- a/post/codec.c +++ b/post/board/netta/codec.c diff --git a/post/dsp.c b/post/board/netta/dsp.c index 63531a2a4ca..63531a2a4ca 100644 --- a/post/dsp.c +++ b/post/board/netta/dsp.c diff --git a/post/cpu/mpc8xx/Makefile b/post/cpu/mpc8xx/Makefile new file mode 100644 index 00000000000..9dd3f0fce9b --- /dev/null +++ b/post/cpu/mpc8xx/Makefile @@ -0,0 +1,29 @@ +# +# (C) Copyright 2002-2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +LIB = libpostmpc8xx.a + +AOBJS = cache_8xx.o +COBJS = ether.o spr.o uart.o usb.o watchdog.o + +include $(TOPDIR)/post/rules.mk diff --git a/post/cache_8xx.S b/post/cpu/mpc8xx/cache_8xx.S index 2d41b5566a8..2d41b5566a8 100644 --- a/post/cache_8xx.S +++ b/post/cpu/mpc8xx/cache_8xx.S diff --git a/post/ether.c b/post/cpu/mpc8xx/ether.c index 8c87b5927e1..8c87b5927e1 100644 --- a/post/ether.c +++ b/post/cpu/mpc8xx/ether.c diff --git a/post/spr.c b/post/cpu/mpc8xx/spr.c index 330b977f1a5..330b977f1a5 100644 --- a/post/spr.c +++ b/post/cpu/mpc8xx/spr.c diff --git a/post/uart.c b/post/cpu/mpc8xx/uart.c index fd97e3899e9..fd97e3899e9 100644 --- a/post/uart.c +++ b/post/cpu/mpc8xx/uart.c diff --git a/post/usb.c b/post/cpu/mpc8xx/usb.c index 0c74cfa5dae..0c74cfa5dae 100644 --- a/post/usb.c +++ b/post/cpu/mpc8xx/usb.c diff --git a/post/watchdog.c b/post/cpu/mpc8xx/watchdog.c index 48c4282e1dc..48c4282e1dc 100644 --- a/post/watchdog.c +++ b/post/cpu/mpc8xx/watchdog.c diff --git a/post/drivers/Makefile b/post/drivers/Makefile new file mode 100644 index 00000000000..068fa98b14c --- /dev/null +++ b/post/drivers/Makefile @@ -0,0 +1,31 @@ +# +# (C) Copyright 2002-2006 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + + +SUBDIRS = + +LIB = libpostdrivers.a + +COBJS = cache.o i2c.o memory.o rtc.o + +include $(TOPDIR)/post/rules.mk diff --git a/post/cache.c b/post/drivers/cache.c index 501465c06a1..501465c06a1 100644 --- a/post/cache.c +++ b/post/drivers/cache.c diff --git a/post/i2c.c b/post/drivers/i2c.c index 1b2e64471b3..1b2e64471b3 100644 --- a/post/i2c.c +++ b/post/drivers/i2c.c diff --git a/post/memory.c b/post/drivers/memory.c index a2c088bad8d..a2c088bad8d 100644 --- a/post/memory.c +++ b/post/drivers/memory.c diff --git a/post/rtc.c b/post/drivers/rtc.c index 7d4f9b88ee6..7d4f9b88ee6 100644 --- a/post/rtc.c +++ b/post/drivers/rtc.c diff --git a/post/cpu/Makefile b/post/lib_ppc/Makefile index 645e83856c8..14354a03236 100644 --- a/post/cpu/Makefile +++ b/post/lib_ppc/Makefile @@ -21,12 +21,11 @@ # MA 02111-1307 USA # -SUBDIRS = -LIB = libcpu.a +LIB = libpostppc.a AOBJS = asm.o -COBJS = cmp.o cmpi.o two.o twox.o three.o threex.o +COBJS = cpu.o cmp.o cmpi.o two.o twox.o three.o threex.o COBJS += threei.o andi.o srawi.o rlwnm.o rlwinm.o rlwimi.o COBJS += store.o load.o cr.o b.o multi.o string.o complex.o diff --git a/post/cpu/andi.c b/post/lib_ppc/andi.c index 7ddf2ab2f3b..7ddf2ab2f3b 100644 --- a/post/cpu/andi.c +++ b/post/lib_ppc/andi.c diff --git a/post/cpu/asm.S b/post/lib_ppc/asm.S index a0815a43a77..a0815a43a77 100644 --- a/post/cpu/asm.S +++ b/post/lib_ppc/asm.S diff --git a/post/cpu/b.c b/post/lib_ppc/b.c index b4b17c8ff07..b4b17c8ff07 100644 --- a/post/cpu/b.c +++ b/post/lib_ppc/b.c diff --git a/post/cpu/cmp.c b/post/lib_ppc/cmp.c index 789a24cb7f1..789a24cb7f1 100644 --- a/post/cpu/cmp.c +++ b/post/lib_ppc/cmp.c diff --git a/post/cpu/cmpi.c b/post/lib_ppc/cmpi.c index e0c2aaff826..e0c2aaff826 100644 --- a/post/cpu/cmpi.c +++ b/post/lib_ppc/cmpi.c diff --git a/post/cpu/complex.c b/post/lib_ppc/complex.c index 033584bec08..033584bec08 100644 --- a/post/cpu/complex.c +++ b/post/lib_ppc/complex.c diff --git a/post/cpu.c b/post/lib_ppc/cpu.c index 1f2ded2bf26..1f2ded2bf26 100644 --- a/post/cpu.c +++ b/post/lib_ppc/cpu.c diff --git a/post/cpu/cpu_asm.h b/post/lib_ppc/cpu_asm.h index 1cbaf4121fe..1cbaf4121fe 100644 --- a/post/cpu/cpu_asm.h +++ b/post/lib_ppc/cpu_asm.h diff --git a/post/cpu/cr.c b/post/lib_ppc/cr.c index da6ef3745d0..da6ef3745d0 100644 --- a/post/cpu/cr.c +++ b/post/lib_ppc/cr.c diff --git a/post/cpu/load.c b/post/lib_ppc/load.c index 393c56830d9..393c56830d9 100644 --- a/post/cpu/load.c +++ b/post/lib_ppc/load.c diff --git a/post/cpu/multi.c b/post/lib_ppc/multi.c index 872438478fe..872438478fe 100644 --- a/post/cpu/multi.c +++ b/post/lib_ppc/multi.c diff --git a/post/cpu/rlwimi.c b/post/lib_ppc/rlwimi.c index f65f79a8e84..f65f79a8e84 100644 --- a/post/cpu/rlwimi.c +++ b/post/lib_ppc/rlwimi.c diff --git a/post/cpu/rlwinm.c b/post/lib_ppc/rlwinm.c index e240c41b1a4..e240c41b1a4 100644 --- a/post/cpu/rlwinm.c +++ b/post/lib_ppc/rlwinm.c diff --git a/post/cpu/rlwnm.c b/post/lib_ppc/rlwnm.c index 523cf4da59b..523cf4da59b 100644 --- a/post/cpu/rlwnm.c +++ b/post/lib_ppc/rlwnm.c diff --git a/post/cpu/srawi.c b/post/lib_ppc/srawi.c index 91c82c915f7..91c82c915f7 100644 --- a/post/cpu/srawi.c +++ b/post/lib_ppc/srawi.c diff --git a/post/cpu/store.c b/post/lib_ppc/store.c index f495bf2aab1..f495bf2aab1 100644 --- a/post/cpu/store.c +++ b/post/lib_ppc/store.c diff --git a/post/cpu/string.c b/post/lib_ppc/string.c index bd83bd13628..bd83bd13628 100644 --- a/post/cpu/string.c +++ b/post/lib_ppc/string.c diff --git a/post/cpu/three.c b/post/lib_ppc/three.c index c2d7476047f..c2d7476047f 100644 --- a/post/cpu/three.c +++ b/post/lib_ppc/three.c diff --git a/post/cpu/threei.c b/post/lib_ppc/threei.c index 79f01789c00..79f01789c00 100644 --- a/post/cpu/threei.c +++ b/post/lib_ppc/threei.c diff --git a/post/cpu/threex.c b/post/lib_ppc/threex.c index 2c72063848e..2c72063848e 100644 --- a/post/cpu/threex.c +++ b/post/lib_ppc/threex.c diff --git a/post/cpu/two.c b/post/lib_ppc/two.c index cfbac5e6208..cfbac5e6208 100644 --- a/post/cpu/two.c +++ b/post/lib_ppc/two.c diff --git a/post/cpu/twox.c b/post/lib_ppc/twox.c index 48d9954ca48..48d9954ca48 100644 --- a/post/cpu/twox.c +++ b/post/lib_ppc/twox.c diff --git a/post/post.c b/post/post.c index e1066da6bd1..ac419908605 100644 --- a/post/post.c +++ b/post/post.c @@ -430,6 +430,7 @@ unsigned long post_time_ms (unsigned long base) #ifdef CONFIG_PPC return (unsigned long)get_ticks () / (get_tbclk () / CFG_HZ) - base; #else +#warning "Not implemented yet" return 0; /* Not implemented yet */ #endif } |