summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2013-06-04 16:23:43 +0200
committerRonald G. Minnich <rminnich@gmail.com>2013-06-04 17:55:45 +0200
commite2dc80ceacd3d15574f8bd075ab84e4f02920d95 (patch)
tree4229b9ee7c6e91c54290e851029000bd73e1fe44
parent84ae76caf829676f84de4d11bfff95763181d406 (diff)
AMD Northbridge LX: rename get_systop() to get_top_of_ram()
Change-Id: I6126d575b8289f76b38858304836e3037200bcdb Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-on: http://review.coreboot.org/3367 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--src/northbridge/amd/lx/northbridge.c2
-rw-r--r--src/northbridge/amd/lx/northbridge.h2
-rw-r--r--src/northbridge/amd/lx/northbridgeinit.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/amd/lx/northbridge.c b/src/northbridge/amd/lx/northbridge.c
index 6eae35298a..bde72a7776 100644
--- a/src/northbridge/amd/lx/northbridge.c
+++ b/src/northbridge/amd/lx/northbridge.c
@@ -382,7 +382,7 @@ static void pci_domain_set_resources(device_t dev)
mc_dev = dev->link_list->children;
if (mc_dev) {
- tomk = get_systop() / 1024;
+ tomk = get_top_of_ram() / 1024;
/* Report the memory regions
All memory up to systop except 0xa0000-0xbffff */
idx = 10;
diff --git a/src/northbridge/amd/lx/northbridge.h b/src/northbridge/amd/lx/northbridge.h
index 078dcf3058..fd62184040 100644
--- a/src/northbridge/amd/lx/northbridge.h
+++ b/src/northbridge/amd/lx/northbridge.h
@@ -28,7 +28,7 @@ int sizeram(void);
/* northbridgeinit.c */
void northbridge_init_early(void);
-uint32_t get_systop(void);
+uint32_t get_top_of_ram(void);
/* pll_reset.c */
unsigned int GeodeLinkSpeed(void);
diff --git a/src/northbridge/amd/lx/northbridgeinit.c b/src/northbridge/amd/lx/northbridgeinit.c
index d00e2c0c7a..3768777187 100644
--- a/src/northbridge/amd/lx/northbridgeinit.c
+++ b/src/northbridge/amd/lx/northbridgeinit.c
@@ -713,7 +713,7 @@ static void setup_lx_cache(void)
wbinvd();
}
-uint32_t get_systop(void)
+uint32_t get_top_of_ram(void)
{
struct gliutable *gl = 0;
uint32_t systop;