diff options
author | Dave Liu <r63238@freescale.com> | 2008-03-27 18:51:17 +0800 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-13 14:57:46 -0700 |
commit | f297b7a1ec87433f66320d89d993e1bc738c66b8 (patch) | |
tree | 835ee21829085a7fce75fbd028522c35e6b3a1b4 /drivers/block/libata.c | |
parent | 0ff7cba4a2e51c90827f6d21a0b28b4d67109597 (diff) | |
download | u-boot-imx-f297b7a1ec87433f66320d89d993e1bc738c66b8.zip u-boot-imx-f297b7a1ec87433f66320d89d993e1bc738c66b8.tar.gz u-boot-imx-f297b7a1ec87433f66320d89d993e1bc738c66b8.tar.bz2 |
drivers: code clean up
Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'drivers/block/libata.c')
-rw-r--r-- | drivers/block/libata.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/block/libata.c b/drivers/block/libata.c index bbe16a2..90e9a43 100644 --- a/drivers/block/libata.c +++ b/drivers/block/libata.c @@ -109,39 +109,39 @@ void ata_dump_id(u16 *id) n_sectors = ata_id_n_sectors(id); printf("Capablity: %d sectors\n\r", n_sectors); - printf ("id[49]: capabilities ==0x%04x\n" - "id[53]: field valid ==0x%04x\n" - "id[63]: mwdma ==0x%04x\n" - "id[64]: pio ==0x%04x\n" - "id[75]: queue depth ==0x%04x\n", + printf ("id[49]: capabilities = 0x%04x\n" + "id[53]: field valid = 0x%04x\n" + "id[63]: mwdma = 0x%04x\n" + "id[64]: pio = 0x%04x\n" + "id[75]: queue depth = 0x%04x\n", id[49], id[53], id[63], id[64], id[75]); - printf ("id[76]: sata capablity ==0x%04x\n" - "id[78]: sata features supported ==0x%04x\n" - "id[79]: sata features enable ==0x%04x\n", + printf ("id[76]: sata capablity = 0x%04x\n" + "id[78]: sata features supported = 0x%04x\n" + "id[79]: sata features enable = 0x%04x\n", id[76], id[78], id[79]); - printf ("id[80]: major version ==0x%04x\n" - "id[81]: minor version ==0x%04x\n" - "id[82]: command set supported 1 ==0x%04x\n" - "id[83]: command set supported 2 ==0x%04x\n" - "id[84]: command set extension ==0x%04x\n", + printf ("id[80]: major version = 0x%04x\n" + "id[81]: minor version = 0x%04x\n" + "id[82]: command set supported 1 = 0x%04x\n" + "id[83]: command set supported 2 = 0x%04x\n" + "id[84]: command set extension = 0x%04x\n", id[80], id[81], id[82], id[83], id[84]); - printf ("id[85]: command set enable 1 ==0x%04x\n" - "id[86]: command set enable 2 ==0x%04x\n" - "id[87]: command set default ==0x%04x\n" - "id[88]: udma ==0x%04x\n" - "id[93]: hardware reset result ==0x%04x\n", + printf ("id[85]: command set enable 1 = 0x%04x\n" + "id[86]: command set enable 2 = 0x%04x\n" + "id[87]: command set default = 0x%04x\n" + "id[88]: udma = 0x%04x\n" + "id[93]: hardware reset result = 0x%04x\n", id[85], id[86], id[87], |