diff --git a/src/mainboard/aaeon/pfm-540i_revb/romstage.c b/src/mainboard/aaeon/pfm-540i_revb/romstage.c index 393a5afa52..2c2e22ec76 100644 --- a/src/mainboard/aaeon/pfm-540i_revb/romstage.c +++ b/src/mainboard/aaeon/pfm-540i_revb/romstage.c @@ -49,7 +49,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/amd/db800/romstage.c b/src/mainboard/amd/db800/romstage.c index 736025c9d7..93fc0e53aa 100644 --- a/src/mainboard/amd/db800/romstage.c +++ b/src/mainboard/amd/db800/romstage.c @@ -43,7 +43,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/amd/norwich/romstage.c b/src/mainboard/amd/norwich/romstage.c index 1fc30c297e..9322508958 100644 --- a/src/mainboard/amd/norwich/romstage.c +++ b/src/mainboard/amd/norwich/romstage.c @@ -40,7 +40,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/artecgroup/dbe61/romstage.c b/src/mainboard/artecgroup/dbe61/romstage.c index 1d49a322c5..073d2b8e3c 100644 --- a/src/mainboard/artecgroup/dbe61/romstage.c +++ b/src/mainboard/artecgroup/dbe61/romstage.c @@ -52,7 +52,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/bachmann/ot200/romstage.c b/src/mainboard/bachmann/ot200/romstage.c index ce55df3c58..39385c7e90 100644 --- a/src/mainboard/bachmann/ot200/romstage.c +++ b/src/mainboard/bachmann/ot200/romstage.c @@ -41,7 +41,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/digitallogic/msm800sev/romstage.c b/src/mainboard/digitallogic/msm800sev/romstage.c index 3ad912adf0..cc2fc4bbe0 100644 --- a/src/mainboard/digitallogic/msm800sev/romstage.c +++ b/src/mainboard/digitallogic/msm800sev/romstage.c @@ -23,7 +23,6 @@ int spd_read_byte(unsigned device, unsigned address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/iei/pcisa-lx-800-r10/romstage.c b/src/mainboard/iei/pcisa-lx-800-r10/romstage.c index ab0a0b4627..1cbe32dc5a 100644 --- a/src/mainboard/iei/pcisa-lx-800-r10/romstage.c +++ b/src/mainboard/iei/pcisa-lx-800-r10/romstage.c @@ -43,7 +43,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/iei/pm-lx-800-r11/romstage.c b/src/mainboard/iei/pm-lx-800-r11/romstage.c index 46b5ed6730..b34edc47e6 100644 --- a/src/mainboard/iei/pm-lx-800-r11/romstage.c +++ b/src/mainboard/iei/pm-lx-800-r11/romstage.c @@ -47,7 +47,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include -#include #include #include #include diff --git a/src/mainboard/iei/pm-lx2-800-r10/romstage.c b/src/mainboard/iei/pm-lx2-800-r10/romstage.c index 07091fbb60..f998f18997 100644 --- a/src/mainboard/iei/pm-lx2-800-r10/romstage.c +++ b/src/mainboard/iei/pm-lx2-800-r10/romstage.c @@ -48,7 +48,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include -#include #include #include #include diff --git a/src/mainboard/lippert/hurricane-lx/romstage.c b/src/mainboard/lippert/hurricane-lx/romstage.c index 7cc7785cf8..95ea27dad2 100644 --- a/src/mainboard/lippert/hurricane-lx/romstage.c +++ b/src/mainboard/lippert/hurricane-lx/romstage.c @@ -71,7 +71,6 @@ static int smc_send_config(unsigned char config_data) #endif #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/lippert/literunner-lx/romstage.c b/src/mainboard/lippert/literunner-lx/romstage.c index ef2771a794..6edcf373dd 100644 --- a/src/mainboard/lippert/literunner-lx/romstage.c +++ b/src/mainboard/lippert/literunner-lx/romstage.c @@ -112,7 +112,6 @@ static int smc_send_config(unsigned char config_data) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/lippert/roadrunner-lx/romstage.c b/src/mainboard/lippert/roadrunner-lx/romstage.c index 2cee4268f5..68dcfc0ff1 100644 --- a/src/mainboard/lippert/roadrunner-lx/romstage.c +++ b/src/mainboard/lippert/roadrunner-lx/romstage.c @@ -47,7 +47,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/lippert/spacerunner-lx/romstage.c b/src/mainboard/lippert/spacerunner-lx/romstage.c index ba2e40e461..59bd618eb1 100644 --- a/src/mainboard/lippert/spacerunner-lx/romstage.c +++ b/src/mainboard/lippert/spacerunner-lx/romstage.c @@ -112,7 +112,6 @@ static int smc_send_config(unsigned char config_data) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/pcengines/alix1c/romstage.c b/src/mainboard/pcengines/alix1c/romstage.c index 3bed6b11c4..c3f964df83 100644 --- a/src/mainboard/pcengines/alix1c/romstage.c +++ b/src/mainboard/pcengines/alix1c/romstage.c @@ -100,7 +100,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/pcengines/alix2d/romstage.c b/src/mainboard/pcengines/alix2d/romstage.c index 2f63a6975b..6946900e2a 100644 --- a/src/mainboard/pcengines/alix2d/romstage.c +++ b/src/mainboard/pcengines/alix2d/romstage.c @@ -99,7 +99,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/traverse/geos/romstage.c b/src/mainboard/traverse/geos/romstage.c index 72cd9c0573..36d55a7803 100644 --- a/src/mainboard/traverse/geos/romstage.c +++ b/src/mainboard/traverse/geos/romstage.c @@ -41,7 +41,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/mainboard/winent/pl6064/romstage.c b/src/mainboard/winent/pl6064/romstage.c index b69d81812f..124183c16b 100644 --- a/src/mainboard/winent/pl6064/romstage.c +++ b/src/mainboard/winent/pl6064/romstage.c @@ -45,7 +45,6 @@ int spd_read_byte(unsigned int device, unsigned int address) } #include "northbridge/amd/lx/pll_reset.c" -#include "northbridge/amd/lx/raminit.c" #include "lib/generic_sdram.c" #include "cpu/amd/geode_lx/cpureginit.c" #include "cpu/amd/geode_lx/syspreinit.c" diff --git a/src/northbridge/amd/lx/Makefile.inc b/src/northbridge/amd/lx/Makefile.inc index ad904c4387..5ff227d9ee 100644 --- a/src/northbridge/amd/lx/Makefile.inc +++ b/src/northbridge/amd/lx/Makefile.inc @@ -1,3 +1,5 @@ ramstage-y += northbridge.c ramstage-y += northbridgeinit.c ramstage-y += grphinit.c + +romstage-y += raminit.c