aboutsummaryrefslogtreecommitdiff
path: root/src/ramdisk.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-03-20 11:00:45 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-03-20 11:00:45 -0400
commitd9c936181db3f64f592dd234ad76c5a85741a06d (patch)
treee1627f3afc055e7c3f5e31dc8e7948177c812056 /src/ramdisk.c
parentc35e1e50c389c6d63227e7f8d922cbcf4dea68aa (diff)
downloadseabios-hppa-d9c936181db3f64f592dd234ad76c5a85741a06d.zip
seabios-hppa-d9c936181db3f64f592dd234ad76c5a85741a06d.tar.gz
seabios-hppa-d9c936181db3f64f592dd234ad76c5a85741a06d.tar.bz2
Default CONFIG_COREBOOT_FLASH on; make depend on CONFIG_COREBOOT.
Coreboot users will almost certainly want CBFS support, and non-coreboot users have no use for it. So, make that the default behaviour.
Diffstat (limited to 'src/ramdisk.c')
-rw-r--r--src/ramdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ramdisk.c b/src/ramdisk.c
index 0164840..be1de56 100644
--- a/src/ramdisk.c
+++ b/src/ramdisk.c
@@ -13,7 +13,7 @@
void
ramdisk_setup(void)
{
- if (!CONFIG_COREBOOT_FLASH || !CONFIG_FLASH_FLOPPY)
+ if (!CONFIG_COREBOOT || !CONFIG_COREBOOT_FLASH || !CONFIG_FLASH_FLOPPY)
return;
// Find image.
@@ -81,7 +81,7 @@ ramdisk_copy(struct disk_op_s *op, int iswrite)
int
process_ramdisk_op(struct disk_op_s *op)
{
- if (!CONFIG_COREBOOT_FLASH || !CONFIG_FLASH_FLOPPY)
+ if (!CONFIG_COREBOOT || !CONFIG_COREBOOT_FLASH || !CONFIG_FLASH_FLOPPY)
return 0;
switch (op->command) {