diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-11-19 17:06:53 (GMT) |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-04-14 13:20:27 (GMT) |
commit | df548d3c3e2bbc40258713167859ffc2ce99a900 (patch) | |
tree | 63759a73724848ba192874aa552861e03faf1058 /cpu/at32ap/Makefile | |
parent | 03d1e1365796cd15d1726e8a51fd8b5be50b2fe9 (diff) | |
download | u-boot-df548d3c3e2bbc40258713167859ffc2ce99a900.tar.xz |
AVR32: Resource management rewrite
Rewrite the resource management code (i.e. I/O memory, clock gating,
gpio) so it doesn't depend on any global state. This is necessary
because this code is heavily used before relocation to RAM, so we
can't write to any global variables.
As an added bonus, this makes u-boot's memory footprint a bit smaller,
although some functionality has been left out; all clocks are enabled
all the time, and there's no checking for gpio line conflicts.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'cpu/at32ap/Makefile')
-rw-r--r-- | cpu/at32ap/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/at32ap/Makefile b/cpu/at32ap/Makefile index f62ec8b..3f1bb07 100644 --- a/cpu/at32ap/Makefile +++ b/cpu/at32ap/Makefile @@ -30,7 +30,7 @@ LIB := $(obj)lib$(CPU).a START := start.o SOBJS := entry.o COBJS := cpu.o hsdramc.o exception.o cache.o -COBJS += interrupts.o device.o pm.o pio.o +COBJS += interrupts.o pio.o SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) START := $(addprefix $(obj),$(START)) |