summaryrefslogtreecommitdiff
path: root/src/mainboard/bitworks
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-05-15 10:26:16 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-05-15 10:26:16 +0000
commit4c0d39fc592857a076f48fbf9552ced2ed702ffe (patch)
treeafe864bb99037f0654913b4c5b1b64ccb6b471f8 /src/mainboard/bitworks
parentf1ff2c38d2fcee9fba0d6b28cd701db7e93b3c62 (diff)
Simplify spd_read_byte() functions (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2670 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/bitworks')
-rw-r--r--src/mainboard/bitworks/ims/auto.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/bitworks/ims/auto.c b/src/mainboard/bitworks/ims/auto.c
index 9713a1ca7c..bfd10afec2 100644
--- a/src/mainboard/bitworks/ims/auto.c
+++ b/src/mainboard/bitworks/ims/auto.c
@@ -37,12 +37,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"