public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
From: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
To: ecos-patches@ecos.sourceware.org
Subject: Re: drivers for LPC2xxx on-chip peripherals
Date: Mon, 20 Aug 2007 16:26:00 -0000	[thread overview]
Message-ID: <20070820162609.GA1465@grumpf.hope-2000.org> (raw)
In-Reply-To: <20070712152151.GA9252@grumpf.hope-2000.org>

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

On Thu, Jul 12, 2007 at 05:21:52PM +0200, Hans Rosenfeld wrote:
> The attached tarballs contains four new drivers to support the on-chip
> flash memory, RTC (wallclock), I2C and SPI units of the LPC2xxx
> controllers.

I just noticed that I forgot to include a patch against
hal/arm/lpc2xxx/var/current/include/var_io.h to export the I2C bus.


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown

[-- Attachment #2: lpc2xxx_drivers_i2c_var_io.diff --]
[-- Type: text/plain, Size: 688 bytes --]

Index: var_io.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/lpc2xxx/var/current/include/var_io.h,v
retrieving revision 1.2
diff -u -r1.2 var_io.h
--- var_io.h	7 May 2006 18:36:18 -0000	1.2
+++ var_io.h	20 Aug 2007 16:23:07 -0000
@@ -54,6 +54,11 @@
 #include <cyg/hal/plf_io.h>
 
 //=============================================================================
+// I2C bus
+#define HAL_I2C_EXPORTED_DEVICES \
+ extern cyg_i2c_bus cyg_i2c_lpc2xxx_bus;
+
+//=============================================================================
 // Watchdog (WD)
 
 #define CYGARC_HAL_LPC2XXX_REG_WD_BASE                   0xE0000000

  parent reply	other threads:[~2007-08-20 16:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-12 15:22 Hans Rosenfeld
2007-08-12 21:33 ` Sergei Gavrikov
2007-08-12 23:57   ` Hans Rosenfeld
2007-08-13  7:33     ` Andrew Lunn
2007-08-13 19:07     ` Sergei Gavrikov
2007-08-20 16:26 ` Hans Rosenfeld [this message]
2007-08-21  7:15   ` Daniel Néri
2007-08-22  8:57     ` Hans Rosenfeld
2007-08-22  9:32       ` Daniel Néri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070820162609.GA1465@grumpf.hope-2000.org \
    --to=rosenfeld@grumpf.hope-2000.org \
    --cc=ecos-patches@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).