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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot