diff options
Diffstat (limited to 'src/mainboard/asus/p2b/auto.c')
-rw-r--r-- | src/mainboard/asus/p2b/auto.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/asus/p2b/auto.c b/src/mainboard/asus/p2b/auto.c index f5c6a2f1d7..e874a95f12 100644 --- a/src/mainboard/asus/p2b/auto.c +++ b/src/mainboard/asus/p2b/auto.c @@ -57,12 +57,9 @@ static void enable_shadow_ram(void) pci_write_config8(0, 0x59, shadowreg); } -/* TODO: fix raminit.c to use smbus_read_byte */ static inline int spd_read_byte(unsigned device, unsigned address) { - uint8_t c; - c = smbus_read_byte(device, address); - return c; + return smbus_read_byte(device, address); } #include "northbridge/intel/i440bx/raminit.c" |