removing redundant and unneeded calls to functions.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2282 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich 2006-04-27 17:37:23 +00:00
parent 3716427e7f
commit 94571a4767
2 changed files with 5 additions and 1 deletions

View File

@ -418,7 +418,7 @@ static void enable_dev(struct device *dev)
northbridgeinit(); northbridgeinit();
cpubug(); cpubug();
chipsetinit(); chipsetinit();
setup_gx2(); //setup_gx2();
/* do this here for now -- this chip really breaks our device model */ /* do this here for now -- this chip really breaks our device model */
setup_realmode_idt(); setup_realmode_idt();
do_vsmbios(); do_vsmbios();

View File

@ -544,18 +544,22 @@ northbridgeinit(void)
int i; int i;
printk_debug("Enter %s\n", __FUNCTION__); printk_debug("Enter %s\n", __FUNCTION__);
/*
for(i = 0; gliutables[i]; i++) for(i = 0; gliutables[i]; i++)
GLIUInit(gliutables[i]); GLIUInit(gliutables[i]);
GeodeLinkPriority(); GeodeLinkPriority();
*/
/* Now that the descriptor to memory is set up.*/ /* Now that the descriptor to memory is set up.*/
/* The memory controller needs one read to synch it's lines before it can be used.*/ /* The memory controller needs one read to synch it's lines before it can be used.*/
i = *(int *) 0; i = *(int *) 0;
GLPCIInit(); GLPCIInit();
/*
ClockGatingInit(); ClockGatingInit();
*/
__asm__("FINIT\n"); __asm__("FINIT\n");
/* CPUBugsFix -- called elsewhere */ /* CPUBugsFix -- called elsewhere */
printk_debug("Exit %s\n", __FUNCTION__); printk_debug("Exit %s\n", __FUNCTION__);