[LinuxBIOS] How to separate CS5536 and CPU?

Indrek Kruusa indrek.kruusa at artecdesign.ee
Wed Aug 2 20:37:03 CEST 2006


Hi!

Currently I need to change cs5536 code (below) to make Geode LX target 
build.

To conclude the situation:
- different CPU-s with integrated northbridge using the same southbridge
- southbridge needs to know about CPU

Which should be the preferred way to fix it?

thanks,
Indrek


/*****************/


diff -u -r -b -B LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c 
LinuxBIOSv2_cp1/src/southbridge/amd/cs5536/cs5536.c
--- LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536.c     2006-07-22 
02:21:01.000000000 +0300
+++ LinuxBIOSv2_cp1/src/southbridge/amd/cs5536/cs5536.c 2006-07-31 
17:53:04.000000000 +0300
@@ -5,7 +5,7 @@
 #include <device/pci_ops.h>
 #include <device/pci_ids.h>
 #include <console/console.h>
-#include <cpu/amd/gx2def.h>
+#include <cpu/amd/lxdef.h>
 #include <cpu/x86/msr.h>
 #include "chip.h"

diff -u -r -b -B 
LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536_early_setup.c 
LinuxBIOSv2_cp1/src/southbridge/amd/cs5536/cs5536_early_setup.c
--- LinuxBIOSv2/src/southbridge/amd/cs5536/cs5536_early_setup.c 
2006-07-27 07:05:43.000000000 +0300
+++ LinuxBIOSv2_cp1/src/southbridge/amd/cs5536/cs5536_early_setup.c     
2006-07-31 17:52:52.000000000 +0300
@@ -1,4 +1,4 @@
-#include <cpu/amd/gx2def.h>
+#include <cpu/amd/lxdef.h>

 /*
  *







More information about the coreboot mailing list