[U-Boot] [PATCH V2 2/3] orion5x: add ide support for Marvell SATA

Albert ARIBAUD albert.aribaud at free.fr
Wed Jul 7 13:23:51 CEST 2010


Le 07/07/2010 10:25, Prafulla Wadaskar a écrit :

>> +/* SControl register address */
>> +#define ORION5X_SATA_PORT1_SCONTROL_REG \
>> +	(ORION5X_SATA_BASE+ORION5X_SATA_PORT1_OFFSET+0x308)
>
> Please use c structure for register defination.

Hmm... There is a single register definition here -- I don't need more 
than this one. If I do a struct, it will only contain a single field. 
Still want this?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list