summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/gx2/northbridge.h
diff options
context:
space:
mode:
authorNils Jacobs <njacobs8@hetnet.nl>2010-12-29 21:12:10 +0000
committerMyles Watson <mylesgw@gmail.com>2010-12-29 21:12:10 +0000
commit84be0f59b7158d5d60e1d7d61786d0a6e449d682 (patch)
tree8a789558b684762746f8c8273ae309571d89a0de /src/northbridge/amd/gx2/northbridge.h
parentcdcf9833e804f3549257c3d071862a0e6ac4bfac (diff)
downloadcoreboot-84be0f59b7158d5d60e1d7d61786d0a6e449d682.tar.xz
-Change the remaining GLIU1 port 5 register names from VIP (Video Input Port)
to FG (FooGlue). As the GX2 has no VIP port. -Change the Memmory setup MSR register names so they correspond better to the databook. (Part1) This is less confusing for beginners. -Add a MSR printing function to northbridge.c like in the Geode LX code. -Remove the AES register names.(GX2 has no AES registers) -Delete some unused code. -Clean up GX2 northbridge code to match Geode LX code. -Add missing copyright header to northbridge.c. -Move hardcoded IRQ defining from northbridge.c to irq_tables.c . Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6221 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/gx2/northbridge.h')
-rw-r--r--src/northbridge/amd/gx2/northbridge.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/northbridge/amd/gx2/northbridge.h b/src/northbridge/amd/gx2/northbridge.h
index f42ff6aa47..a4cd272a83 100644
--- a/src/northbridge/amd/gx2/northbridge.h
+++ b/src/northbridge/amd/gx2/northbridge.h
@@ -1,14 +1,16 @@
#ifndef NORTHBRIDGE_AMD_GX2_H
#define NORTHBRIDGE_AMD_GX2_H
-#if !defined(__ROMCC__) && !defined(ASSEMBLY)
-#if defined(__PRE_RAM__)
-#else
+#include <cpu/amd/gx2def.h>
+
+/* northbridge.c */
unsigned int gx2_scan_root_bus(device_t root, unsigned int max);
int sizeram(void);
+void do_vsmbios(void);
void graphics_init(void);
-void northbridgeinit(void);
-#endif
-#endif
+
+/* northbridgeinit.c */
+void northbridge_init_early(void);
+uint32_t get_systop(void);
#endif /* NORTHBRIDGE_AMD_GX2_H */