Move coreboot_ram and coreboot_apc to CBFS. This allows to
[coreboot.git] / src / arch / i386 / lib / Config.lb
index 3356b8f4f58305b77bbe9de59a103c391be72d86..52da9d5e59caaaa1489000b69f65c3922ec7edb1 100644 (file)
@@ -1,6 +1,7 @@
 uses CONFIG_USE_INIT
 uses CONFIG_USE_PRINTK_IN_CAR
 uses USE_FAILOVER_IMAGE
+uses CONFIG_CBFS
 
 object c_start.S
 object cpu.c
@@ -14,5 +15,9 @@ initobject printk_init.o
 
 if USE_FAILOVER_IMAGE
 else
-       initobject copy_and_run.o
+       if CONFIG_CBFS
+               initobject cbfs_and_run.o
+       else
+               initobject copy_and_run.o
+       end
 end