add vsm support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2223 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
e4ad801495
commit
7f809097f8
|
@ -75,15 +75,20 @@ unsigned long addr;
|
||||||
|
|
||||||
static void model_gx2_init(device_t dev)
|
static void model_gx2_init(device_t dev)
|
||||||
{
|
{
|
||||||
|
void do_vsmbios(void);
|
||||||
#if 0
|
#if 0
|
||||||
gx2_cpu_setup();
|
gx2_cpu_setup();
|
||||||
gx2_gx_setup();
|
gx2_gx_setup();
|
||||||
#endif
|
#endif
|
||||||
|
printk_debug("model_gx2_init\n");
|
||||||
/* Turn on caching if we haven't already */
|
/* Turn on caching if we haven't already */
|
||||||
x86_enable_cache();
|
x86_enable_cache();
|
||||||
|
|
||||||
/* Enable the local cpu apics */
|
/* Enable the local cpu apics */
|
||||||
setup_lapic();
|
setup_lapic();
|
||||||
|
|
||||||
|
do_vsmbios();
|
||||||
|
printk_debug("model_gx2_init DONE\n");
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct device_operations cpu_dev_ops = {
|
static struct device_operations cpu_dev_ops = {
|
||||||
|
|
|
@ -8,7 +8,7 @@ option ROM_SIZE=1024*256
|
||||||
|
|
||||||
romimage "normal"
|
romimage "normal"
|
||||||
option USE_FALLBACK_IMAGE=0
|
option USE_FALLBACK_IMAGE=0
|
||||||
option ROM_IMAGE_SIZE=0x10000
|
option ROM_IMAGE_SIZE=0x16000
|
||||||
option LINUXBIOS_EXTRA_VERSION=".0Normal"
|
option LINUXBIOS_EXTRA_VERSION=".0Normal"
|
||||||
# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
|
# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
|
||||||
# payload ../../../../tg3--ide_disk.zelf
|
# payload ../../../../tg3--ide_disk.zelf
|
||||||
|
@ -20,7 +20,7 @@ end
|
||||||
|
|
||||||
romimage "fallback"
|
romimage "fallback"
|
||||||
option USE_FALLBACK_IMAGE=1
|
option USE_FALLBACK_IMAGE=1
|
||||||
option ROM_IMAGE_SIZE=0x10000
|
option ROM_IMAGE_SIZE=0x16000
|
||||||
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
|
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
|
||||||
# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
|
# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
|
||||||
# payload ../../../../tg3--ide_disk.zelf
|
# payload ../../../../tg3--ide_disk.zelf
|
||||||
|
|
Loading…
Reference in New Issue