aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb600/sb600_lpc.c
diff options
context:
space:
mode:
authorJoe Bao <zheng.bao@amd.com>2008-12-01 19:37:21 +0000
committerMarc Jones <marc.jones@amd.com>2008-12-01 19:37:21 +0000
commit164463c551367d0ae3a9f8e5a1719200af99b060 (patch)
tree0b2b1a6682749dcc44302548edbebb08ce914df4 /src/southbridge/amd/sb600/sb600_lpc.c
parent7a51e50582b65bb6ac54e8923470807b5975c6e1 (diff)
Add AMD sb600 HPET setup and some minor cleanups.
Signed-off-by: Joe Bao <zheng.bao@amd.com> Reviewed-by: Maggie Li <maggie.li@amd.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3785 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/sb600/sb600_lpc.c')
-rw-r--r--src/southbridge/amd/sb600/sb600_lpc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/southbridge/amd/sb600/sb600_lpc.c b/src/southbridge/amd/sb600/sb600_lpc.c
index 83dea99883..50d00e25fa 100644
--- a/src/southbridge/amd/sb600/sb600_lpc.c
+++ b/src/southbridge/amd/sb600/sb600_lpc.c
@@ -82,14 +82,14 @@ static void sb600_lpc_read_resources(device_t dev)
compact_resources(dev);
}
-/**
+/**
* @brief Enable resources for children devices
- *
+ *
* @param dev the device whos children's resources are to be enabled
- *
+ *
* This function is call by the global enable_resources() indirectly via the
* device_operation::enable_resources() method of devices.
- *
+ *
* Indirect mutual recursion:
* enable_childrens_resources() -> enable_resources()
* enable_resources() -> device_operation::enable_resources()
@@ -115,7 +115,7 @@ static void sb600_lpc_enable_childrens_resources(device_t dev)
&& (child->path.type == DEVICE_PATH_PNP)) {
for (i = 0; i < child->resources; i++) {
struct resource *res;
- unsigned long base, end; /* don't need long long */
+ u32 base, end; /* don't need long long */
res = &child->resource[i];
if (!(res->flags & IORESOURCE_IO))
continue;