From e2dc80ceacd3d15574f8bd075ab84e4f02920d95 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 4 Jun 2013 16:23:43 +0200 Subject: AMD Northbridge LX: rename get_systop() to get_top_of_ram() Change-Id: I6126d575b8289f76b38858304836e3037200bcdb Signed-off-by: Christian Gmeiner Reviewed-on: http://review.coreboot.org/3367 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/northbridge/amd/lx/northbridge.c | 2 +- src/northbridge/amd/lx/northbridge.h | 2 +- src/northbridge/amd/lx/northbridgeinit.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/northbridge') 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; -- cgit v1.2.3