BLOCK: Add freescale IMX51 PATA driver
Subsystems (2)
PATCH 1/1 BLOCK: Add freescale IMX51 PATA driver
Signed-off-by Marek Vasut <[email protected]>
--- 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
drivers/block/Makefile +1 -0
@@ -31,6 +31,7 @@ COBJS-$(CONFIG_FSL_SATA) += fsl_sata.o COBJS-$(CONFIG_LIBATA) += libata.o COBJS-$(CONFIG_CMD_MG_DISK) += mg_disk.o COBJS-$(CONFIG_MVSATA_IDE) += mvsata_ide.o +COBJS-$(CONFIG_MX51_PATA) += mxc_ata.o COBJS-$(CONFIG_PATA_BFIN) += pata_bfin.o COBJS-$(CONFIG_SATA_DWC) += sata_dwc.o COBJS-$(CONFIG_SATA_SIL3114) += sata_sil3114.o
drivers/block/mxc_ata.c new file +139 -0
139 lines not on this page · raw message
Signature · 1 line
1.7.2.3
PATCH 1/1 BLOCK: Add freescale IMX51 PATA driver
Dear Marek Vasut,
Quoted 6 lines · In message <[email protected]> you wrote:
Signed-off-by Marek Vasut <[email protected]>--- 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
...
drivers/block/mxc_ata.c line 42
Quoted 4 lines
drivers/block/mxc_ata.c new file +4
-0+/* 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
Signature · 5 lines
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.