Skip to contentSkip to conversation

davinci: add basic dm355/dm350/dm335 support

PATCH New David Brownell 1 participant 1 message Apr 18, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 5/5 davinci: add basic dm355/dm350/dm335 support

From: David Brownell <[email protected]>

Add some basic declarations for DaVinci DM355/DM350/DM335 support, keyed on CONFIG_SOC_DM355. (DM35X isn't quite right because the DM357 is very different; while the DM355 is like a DM355 without the MPEG/JPEG coprocessor).

These have different peripherals than the DM6446, and some of the peripherals are at different addresses. Notably for U-Boot, there's no EMAC, and the NAND controller address is different

---
 cpu/arm926ejs/davinci/Makefile          |    1 
 cpu/arm926ejs/davinci/dm355.c           |   45 ++++++++++++++++++++++++
 include/asm-arm/arch-davinci/hardware.h |   55 ++++++++++++++++++++----------
 3 files changed, 84 insertions(+), 17 deletions(-)
cpu/arm926ejs/davinci/Makefile +1 -0
@@ -28,6 +28,7 @@ include $(TOPDIR)/config.mk
 LIB	= $(obj)lib$(SOC).a
 
 COBJS-y				+= timer.o psc.o
+COBJS-$(CONFIG_SOC_DM355)	+= dm355.o
 COBJS-$(CONFIG_SOC_DM644X)	+= dm644x.o
 COBJS-$(CONFIG_DRIVER_TI_EMAC)	+= ether.o lxt972.o dp83848.o
 
cpu/arm926ejs/davinci/dm355.c new file +45 -0

45 lines not on this page · raw message

include/asm-arm/arch-davinci/hardware.h +38 -17

88 lines not on this page · raw message