Uwe Hermann wrote:
See patch.
Uwe.
I/O ports are 16bit, so change 'unsigned long port_base' to 'u16 port_base'. Also, use more readable #defines instead of hardcoded config ports for PM/PM2 related functions, and simplify them a bit.
Build-tested with the AMD dbm690t target.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de
Good stuff. Thanks! Acked-by: Marc Jones marc.jones@amd.com