From: Wolfgang Denk Date: Sat, 27 Nov 2010 00:13:36 +0100 Subject: [U-Boot] [PATCH] BLOCK: Add freescale IMX51 PATA driver In-Reply-To: <1290810494-26936-1-git-send-email-marek.vasut@gmail.com> References: <1290810494-26936-1-git-send-email-marek.vasut@gmail.com> Message-ID: <20101126231336.2FDC811D94F7@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek Vasut, In message <1290810494-26936-1-git-send-email-marek.vasut@gmail.com> you wrote: > Signed-off-by: Marek Vasut > --- > drivers/block/Makefile | 1 + > drivers/block/mxc_ata.c | 139 +++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 140 insertions(+), 0 deletions(-) > create mode 100644 drivers/block/mxc_ata.c ... > +/* MXC ATA register offsets */ > +enum { > + MXC_ATA_TIME_OFF = 0x00, > + MXC_ATA_TIME_ON = 0x01, ... Please convert to a C struct. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The easiest way to figure the cost of living is to take your income and add ten percent.