[U-Boot] [RFC 0/5] CAN framework for U-Boot

Wolfgang Grandegger wg at grandegger.com
Sun Nov 1 12:33:32 CET 2009


From: Wolfgang Grandegger <wg at denx.de>

This patch series adds a simple CAN framework for U-Boot. The main purpose
is to do simple RX/TX testing when the device boots up but the interface
functions could also be used for more complex tasks. This is just a RFC
and a few more features need to be added or issues to be fixed, like
using a generic device interface, if it already exists, and board
specific device configuration, e.g. via i82527_register(addr, cfg-params).
The sources are based on GPL v2+ code to be compatible with future U-Boot
licence requirement.

Please comment.

Wolfgang

Wolfgang Grandegger (5):
  CAN interface library
  CAN device test command
  CAN device driver for the SJA1000
  CAN device driver for the Intel 82527
  CAN interface support for the TQM855L module

 Makefile                  |    1 +
 board/tqc/tqm8xx/tqm8xx.c |   17 ++
 common/Makefile           |    1 +
 common/cmd_can.c          |  119 +++++++++++++++
 drivers/can/Makefile      |   49 ++++++
 drivers/can/can.c         |   88 +++++++++++
 drivers/can/i82527.c      |  366 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/can/sja1000.c     |  223 +++++++++++++++++++++++++++
 include/can.h             |   70 +++++++++
 include/configs/TQM855L.h |    8 +-
 include/i82527.h          |  201 +++++++++++++++++++++++++
 include/sja1000.h         |  159 ++++++++++++++++++++
 12 files changed, 1301 insertions(+), 1 deletions(-)
 create mode 100644 common/cmd_can.c
 create mode 100644 drivers/can/Makefile
 create mode 100644 drivers/can/can.c
 create mode 100644 drivers/can/i82527.c
 create mode 100644 drivers/can/sja1000.c
 create mode 100644 include/can.h
 create mode 100644 include/i82527.h
 create mode 100644 include/sja1000.h



More information about the U-Boot mailing list