Skip to contentSkip to conversation

add u-boot sja1000/can support

PATCH New miaofng 1 participant 1 message Oct 23, 2009 Kbuild

lore
Share & tools
lore

miaofng

author
#0 lore raw

PATCH 1/1 add u-boot sja1000/can support

---
 Makefile               |    1 +
 drivers/can/Makefile   |   46 ++++
 drivers/can/can_core.c |  266 ++++++++++++++++++++++
 drivers/can/sja1000.c  |  584 ++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/can/sja1000.h  |  160 +++++++++++++
 include/can.h          |  216 ++++++++++++++++++
 include/can_error.h    |   93 ++++++++
 include/candev.h       |   46 ++++
 lib_arm/board.c        |    2 +
 9 files changed, 1414 insertions(+), 0 deletions(-)
 create mode 100755 drivers/can/Makefile
 create mode 100755 drivers/can/can_core.c
 create mode 100755 drivers/can/sja1000.c
 create mode 100755 drivers/can/sja1000.h
 create mode 100755 include/can.h
 create mode 100755 include/can_error.h
 create mode 100755 include/candev.h
 mode change 100644 => 100755 lib_arm/board.c
Makefile +1 -0
index d6d6368..1ba59f8 100755
@@ -203,6 +203,7 @@ LIBS += net/libnet.a
 LIBS += disk/libdisk.a
 LIBS += drivers/bios_emulator/libatibiosemu.a
 LIBS += drivers/block/libblock.a
+LIBS += drivers/can/libcan.a
 LIBS += drivers/dma/libdma.a
 LIBS += drivers/fpga/libfpga.a
 LIBS += drivers/gpio/libgpio.a
drivers/can/Makefile new file +46 -0

46 lines not on this page · raw message

drivers/can/can_core.c new file +266 -0

266 lines not on this page · raw message

drivers/can/sja1000.c new file +584 -0

584 lines not on this page · raw message

drivers/can/sja1000.h new file +160 -0

160 lines not on this page · raw message

include/can.h new file +216 -0

216 lines not on this page · raw message

include/can_error.h new file +93 -0

93 lines not on this page · raw message

include/candev.h new file +46 -0

46 lines not on this page · raw message

lib_arm/board.c +2 -0
old mode 100644
new mode 100755
index 5e3d7f6..aa11dd3
@@ -356,6 +356,8 @@ void start_armboot (void)
 	serial_initialize();
 #endif
 
+	can_init();
+
 	/* IP Address */
 	gd->bd->bi_ip_addr = getenv_IPaddr ("ipaddr");
 
Signature · 1 line
1.6.2.5