From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 30 Mar 2009 10:50:11 +0200 Subject: [U-Boot] [PATCH 12/13] at91: add hardware i2c drivers In-Reply-To: <49D0821E.6010903@denx.de> References: <1238193026-12564-6-git-send-email-plagnioj@jcrosoft.com> <1238193026-12564-7-git-send-email-plagnioj@jcrosoft.com> <1238193026-12564-8-git-send-email-plagnioj@jcrosoft.com> <1238193026-12564-9-git-send-email-plagnioj@jcrosoft.com> <1238193026-12564-10-git-send-email-plagnioj@jcrosoft.com> <1238193026-12564-11-git-send-email-plagnioj@jcrosoft.com> <1238193026-12564-12-git-send-email-plagnioj@jcrosoft.com> <49D05E5F.6060000@denx.de> <20090330072413.GA26425@game.jcrosoft.org> <49D0821E.6010903@denx.de> Message-ID: <20090330085011.GA21302@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > >>> +#ifndef AT91_TWI_H > >>> +#define AT91_TWI_H > >>> + > >>> +#define AT91_TWI_CR 0x00 /* Control Register */ > >>> +#define AT91_TWI_START (1 << 0) /* Send a Start Condition */ > >>> +#define AT91_TWI_STOP (1 << 1) /* Send a Stop Condition */ > >>> +#define AT91_TWI_MSEN (1 << 2) /* Master Transfer Enable */ > >>> +#define AT91_TWI_MSDIS (1 << 3) /* Master Transfer Disable */ > >>> +#define AT91_TWI_SVEN (1 << 4) /* Slave Transfer Enable [SAM9260 only] */ > >>> +#define AT91_TWI_SVDIS (1 << 5) /* Slave Transfer Disable [SAM9260 only] */ > >>> +#define AT91_TWI_SWRST (1 << 7) /* Software Reset */ > >>> > >> ^^^^^^^^^^^^^^^ > >> doule tabs breaks line length (this affects for the > >> whole file) > >> > > I'll prefer to keep it as it because it's an import from Linux > > Hmm.. maybe this should be fixed in Linux too. IMHO no because the double tab was use to align but field of the register Best Regards, J.