v2/src romfs->cbfs rename
authorPeter Stuge <peter@stuge.se>
Tue, 14 Apr 2009 07:40:01 +0000 (07:40 +0000)
committerPeter Stuge <peter@stuge.se>
Tue, 14 Apr 2009 07:40:01 +0000 (07:40 +0000)
This also has the config tool changes in v2/util.

Rename romfs.[ch]->cbfs.[ch] and sed romfs->cbfs romtool->cbfstool ROMFS->CBFS

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4113 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

116 files changed:
src/arch/i386/Config.lb
src/boot/Config.lb
src/boot/hardwaremain.c
src/boot/selfboot.c
src/config/Options.lb
src/devices/pci_rom.c
src/include/cbfs.h [new file with mode: 0644]
src/lib/Config.lb
src/lib/cbfs.c [new file with mode: 0644]
src/mainboard/a-trend/atc-6220/Options.lb
src/mainboard/a-trend/atc-6240/Options.lb
src/mainboard/abit/be6-ii_v2_0/Options.lb
src/mainboard/advantech/pcm-5820/Options.lb
src/mainboard/amd/db800/Options.lb
src/mainboard/amd/dbm690t/Options.lb
src/mainboard/amd/norwich/Options.lb
src/mainboard/amd/pistachio/Options.lb
src/mainboard/amd/rumba/Options.lb
src/mainboard/amd/serengeti_cheetah/Options.lb
src/mainboard/amd/serengeti_cheetah_fam10/Options.lb
src/mainboard/arima/hdama/Options.lb
src/mainboard/artecgroup/dbe61/Options.lb
src/mainboard/asi/mb_5blgp/Options.lb
src/mainboard/asi/mb_5blmp/Options.lb
src/mainboard/asus/a8n_e/Options.lb
src/mainboard/asus/a8v-e_se/Options.lb
src/mainboard/asus/m2v-mx_se/Options.lb
src/mainboard/asus/mew-am/Options.lb
src/mainboard/asus/mew-vm/Options.lb
src/mainboard/asus/p2b-ds/Options.lb
src/mainboard/asus/p2b-f/Options.lb
src/mainboard/asus/p2b/Options.lb
src/mainboard/asus/p3b-f/Options.lb
src/mainboard/axus/tc320/Options.lb
src/mainboard/azza/pt-6ibd/Options.lb
src/mainboard/bcom/winnet100/Options.lb
src/mainboard/bcom/winnetp680/Options.lb
src/mainboard/biostar/m6tba/Options.lb
src/mainboard/broadcom/blast/Options.lb
src/mainboard/compaq/deskpro_en_sff_p600/Options.lb
src/mainboard/dell/s1850/Options.lb
src/mainboard/digitallogic/adl855pc/Options.lb
src/mainboard/digitallogic/msm586seg/Options.lb
src/mainboard/digitallogic/msm800sev/Options.lb
src/mainboard/eaglelion/5bcm/Options.lb
src/mainboard/embeddedplanet/ep405pc/Options.lb
src/mainboard/emulation/qemu-x86/Options.lb
src/mainboard/gigabyte/ga-6bxc/Options.lb
src/mainboard/gigabyte/ga_2761gxdk/Options.lb
src/mainboard/gigabyte/m57sli/Options.lb
src/mainboard/ibm/e325/Options.lb
src/mainboard/ibm/e326/Options.lb
src/mainboard/iei/juki-511p/Options.lb
src/mainboard/iei/nova4899r/Options.lb
src/mainboard/iei/pcisa-lx-800-r10/Options.lb
src/mainboard/intel/jarrell/Options.lb
src/mainboard/intel/mtarvon/Options.lb
src/mainboard/intel/truxton/Options.lb
src/mainboard/intel/xe7501devkit/Options.lb
src/mainboard/iwill/dk8_htx/Options.lb
src/mainboard/iwill/dk8s2/Options.lb
src/mainboard/iwill/dk8x/Options.lb
src/mainboard/jetway/j7f24/Options.lb
src/mainboard/kontron/986lcd-m/Options.lb
src/mainboard/lippert/frontrunner/Options.lb
src/mainboard/lippert/roadrunner-lx/Options.lb
src/mainboard/lippert/spacerunner-lx/Options.lb
src/mainboard/motorola/sandpoint/Options.lb
src/mainboard/motorola/sandpointx3_altimus_mpc7410/Options.lb
src/mainboard/msi/ms6119/Options.lb
src/mainboard/msi/ms6147/Options.lb
src/mainboard/msi/ms6178/Options.lb
src/mainboard/msi/ms7135/Options.lb
src/mainboard/msi/ms7260/Options.lb
src/mainboard/msi/ms9185/Options.lb
src/mainboard/msi/ms9282/Options.lb
src/mainboard/nec/powermate2000/Options.lb
src/mainboard/newisys/khepri/Options.lb
src/mainboard/nvidia/l1_2pvv/Options.lb
src/mainboard/olpc/btest/Options.lb
src/mainboard/olpc/rev_a/Options.lb
src/mainboard/pcengines/alix1c/Options.lb
src/mainboard/rca/rm4100/Options.lb
src/mainboard/sunw/ultra40/Options.lb
src/mainboard/supermicro/h8dme/Options.lb
src/mainboard/supermicro/h8dmr/Options.lb
src/mainboard/supermicro/x6dai_g/Options.lb
src/mainboard/supermicro/x6dhe_g/Options.lb
src/mainboard/supermicro/x6dhe_g2/Options.lb
src/mainboard/supermicro/x6dhr_ig/Options.lb
src/mainboard/supermicro/x6dhr_ig2/Options.lb
src/mainboard/technexion/tim8690/Options.lb
src/mainboard/technologic/ts5300/Options.lb
src/mainboard/televideo/tc7020/Options.lb
src/mainboard/thomson/ip1000/Options.lb
src/mainboard/totalimpact/briq/Options.lb
src/mainboard/tyan/s1846/Options.lb
src/mainboard/tyan/s2735/Options.lb
src/mainboard/tyan/s2850/Options.lb
src/mainboard/tyan/s2875/Options.lb
src/mainboard/tyan/s2880/Options.lb
src/mainboard/tyan/s2881/Options.lb
src/mainboard/tyan/s2882/Options.lb
src/mainboard/tyan/s2885/Options.lb
src/mainboard/tyan/s2891/Options.lb
src/mainboard/tyan/s2892/Options.lb
src/mainboard/tyan/s2895/Options.lb
src/mainboard/tyan/s2912/Options.lb
src/mainboard/tyan/s2912_fam10/Options.lb
src/mainboard/tyan/s4880/Options.lb
src/mainboard/tyan/s4882/Options.lb
src/mainboard/via/epia-cn/Options.lb
src/mainboard/via/epia-m/Options.lb
src/mainboard/via/epia/Options.lb
src/mainboard/via/pc2500e/Options.lb
util/newconfig/config.g

index 3a2574a244f3e84a9b4f99f4e15fbf48cb40fcef..5f090666952b3c46ca0f180ab60c25576fd300c1 100644 (file)
@@ -80,8 +80,8 @@ if USE_FAILOVER_IMAGE
 else
        makerule coreboot.rom 
                depends "coreboot.strip buildrom $(PAYLOAD-1)"
-               action "PAYLOAD=$(PAYLOAD-1); if [ $(CONFIG_ROMFS) -eq 1 ]; then PAYLOAD=/dev/null; touch romfs-support; fi; ./buildrom $< $@ $$PAYLOAD $(ROM_IMAGE_SIZE) $(ROM_SECTION_SIZE)"
-               action "if [ $(CONFIG_COMPRESSED_PAYLOAD_LZMA) -eq 1 -a $(CONFIG_ROMFS) -eq 1 ]; then echo l > romfs-support; fi"
+               action "PAYLOAD=$(PAYLOAD-1); if [ $(CONFIG_CBFS) -eq 1 ]; then PAYLOAD=/dev/null; touch cbfs-support; fi; ./buildrom $< $@ $$PAYLOAD $(ROM_IMAGE_SIZE) $(ROM_SECTION_SIZE)"
+               action "if [ $(CONFIG_COMPRESSED_PAYLOAD_LZMA) -eq 1 -a $(CONFIG_CBFS) -eq 1 ]; then echo l > cbfs-support; fi"
        end
 end
 
index 4c2f4d71f093cf8734f6428d1a27f7058551821e..f9206bd3aa34d3b94568dff47bc3e8a6e0021689 100644 (file)
@@ -1,6 +1,6 @@
 object elfboot.o
 object hardwaremain.o
-if CONFIG_ROMFS
+if CONFIG_CBFS
        object selfboot.o
 end
 if CONFIG_FS_PAYLOAD
index aaf82fa30d7d07459e2c377b82c6a5771c29d23c..99c4d3079c03f01969ae00f5c9fac328ad2bca18 100644 (file)
@@ -36,7 +36,7 @@ it with the version available from LANL.
 #include <part/hard_reset.h>
 #include <part/init_timer.h>
 #include <boot/elf.h>
-#include <romfs.h>
+#include <cbfs.h>
 #if HAVE_ACPI_RESUME == 1
 #include <arch/acpi.h>
 #endif
@@ -112,11 +112,11 @@ void hardwaremain(int boot_complete)
         * write our configuration tables.
         */
        lb_mem = write_tables();
-#if CONFIG_ROMFS == 1
+#if CONFIG_CBFS == 1
 # if USE_FALLBACK_IMAGE == 1
-       void (*pl)(void) = romfs_load_payload(lb_mem, "fallback/payload");
+       void (*pl)(void) = cbfs_load_payload(lb_mem, "fallback/payload");
 # else
-       void (*pl)(void) = romfs_load_payload(lb_mem, "normal/payload");
+       void (*pl)(void) = cbfs_load_payload(lb_mem, "normal/payload");
 # endif
 #endif
 
index f624a7d02afc744910b0603f0c9ca422e8a078ab..c7b927f15b152e87478e265f27bbf9159f681660 100644 (file)
@@ -28,7 +28,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
-#include <romfs.h>
+#include <cbfs.h>
 
 #ifndef CONFIG_BIG_ENDIAN
 #define ntohl(x) ( ((x&0xff)<<24) | ((x&0xff00)<<8) | \
@@ -70,12 +70,12 @@ struct ip_checksum_vcb {
        unsigned short ip_checksum;
 };
 
-int romfs_self_decompress(int algo, void *src,struct segment *new)
+int cbfs_self_decompress(int algo, void *src,struct segment *new)
 {
        u8 *dst;
 
        /* for uncompressed, it's easy: just point at the area in ROM */
-       if (algo ==  ROMFS_COMPRESS_NONE) {
+       if (algo ==  CBFS_COMPRESS_NONE) {
                new->s_srcaddr = (u32) src;
                new->s_filesz =  new->s_memsz;
                return 0;
@@ -91,21 +91,21 @@ int romfs_self_decompress(int algo, void *src,struct segment *new)
 
        switch(algo) {
 #ifdef CONFIG_COMPRESSION_LZMA
-       case ROMFS_COMPRESS_LZMA: {
+       case CBFS_COMPRESS_LZMA: {
                unsigned long ulzma(unsigned char *src, unsigned char *dst);            
                ulzma(src, dst);
        }
 #endif
 
 #ifdef CONFIG_COMPRESSION_NRV2B
-       case ROMFS_COMPRESS_NRV2B: {
+       case CBFS_COMPRESS_NRV2B: {
                unsigned long unrv2b(u8 *src, u8 *dst, unsigned long *ilen_p);
                unsigned long tmp;
                unrv2b(src, dst, &tmp);
        }
 #endif
        default:
-               printk_info( "ROMFS:  Unknown compression type %d\n",
+               printk_info( "CBFS:  Unknown compression type %d\n",
                       algo);
                return -1;
        }
@@ -341,13 +341,13 @@ static void relocate_segment(unsigned long buffer, struct segment *seg)
 static int build_self_segment_list(
        struct segment *head, 
        unsigned long bounce_buffer, struct lb_memory *mem,
-       struct romfs_payload *payload, u32 *entry)
+       struct cbfs_payload *payload, u32 *entry)
 {
        struct segment *new;
        struct segment *ptr;
        u8 *data;
        int datasize;
-       struct romfs_payload_segment *segment, *first_segment;
+       struct cbfs_payload_segment *segment, *first_segment;
        memset(head, 0, sizeof(*head));
        head->phdr_next = head->phdr_prev = head;
        head->next = head->prev = head;
@@ -372,10 +372,10 @@ static int build_self_segment_list(
 
                datasize = ntohl(segment->len);
                /* figure out decompression, do it, get pointer to the area */
-               if (romfs_self_decompress(ntohl(segment->compression),
+               if (cbfs_self_decompress(ntohl(segment->compression),
                                             ((unsigned char *) first_segment) +
                                             ntohl(segment->offset), new)) {
-                       printk_emerg("romfs_self_decompress failed\n");
+                       printk_emerg("cbfs_self_decompress failed\n");
                        return;
                }
                printk_debug("New segment dstaddr 0x%lx memsize 0x%lx srcaddr 0x%lx filesize 0x%lx\n",
@@ -432,7 +432,7 @@ static int build_self_segment_list(
 }
 
 static int load_self_segments(
-       struct segment *head, struct romfs_payload *payload)
+       struct segment *head, struct cbfs_payload *payload)
 {
        unsigned long offset;
        struct segment *ptr;
@@ -478,7 +478,7 @@ static int load_self_segments(
        return 0;
 }
 
-int selfboot(struct lb_memory *mem, struct romfs_payload *payload)
+int selfboot(struct lb_memory *mem, struct cbfs_payload *payload)
 {
        void *entry;
        struct segment head;
index 9739b6d909452bc0154184f8afc42291726bb35a..7bcba27e04b1dfdf583c9adc027c3144a615fb0d 100644 (file)
@@ -679,10 +679,10 @@ define CONFIG_FS_FAT
        export always
        comment "Enable FAT filesystem support"
 end
-define CONFIG_ROMFS
+define CONFIG_CBFS
        default 0
        export always
-       comment "The new ROMFS file system"
+       comment "The new CBFS file system"
 end
 define AUTOBOOT_DELAY
        default 2
index 9eaea84115910e85c857e3099c1a2dc73c4575d6..5df13a421432b715919320a30a762bf29cf17a90 100644 (file)
@@ -27,7 +27,7 @@
 #include <device/pci_ids.h>
 #include <device/pci_ops.h>
 #include <string.h>
-#include <romfs.h>
+#include <cbfs.h>
 
 struct rom_header * pci_rom_probe(struct device *dev)
 {
@@ -35,10 +35,10 @@ struct rom_header * pci_rom_probe(struct device *dev)
        struct rom_header *rom_header;
        struct pci_data *rom_data;
 
-       if (CONFIG_ROMFS) {
+       if (CONFIG_CBFS) {
                void *v;
                /* if it's in FLASH, then it's as if dev->on_mainboard was true */
-               v = romfs_load_optionrom(dev->vendor, dev->device, NULL);
+               v = cbfs_load_optionrom(dev->vendor, dev->device, NULL);
                printk_debug("In cbfs, rom address for %s = %lx\n", 
                                dev_path(dev), rom_address);
                if (v) {
diff --git a/src/include/cbfs.h b/src/include/cbfs.h
new file mode 100644 (file)
index 0000000..3449fe9
--- /dev/null
@@ -0,0 +1,169 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2008 Jordan Crouse <jordan@cosmicpenguin.net>
+ *
+ * This file is dual-licensed. You can choose between:
+ *   - The GNU GPL, version 2, as published by the Free Software Foundation
+ *   - The revised BSD license (without advertising clause)
+ *
+ * ---------------------------------------------------------------------------
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
+ * ---------------------------------------------------------------------------
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ *    derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ---------------------------------------------------------------------------
+ */
+
+#ifndef _CBFS_H_
+#define _CBFS_H_
+
+/** These are standard values for the known compression
+    alogrithms that coreboot knows about for stages and
+    payloads.  Of course, other LAR users can use whatever
+    values they want, as long as they understand them. */
+
+#define CBFS_COMPRESS_NONE  0
+#define CBFS_COMPRESS_LZMA  1
+#define CBFS_COMPRESS_NRV2B 2
+
+/** These are standard component types for well known
+    components (i.e - those that coreboot needs to consume.
+    Users are welcome to use any other value for their
+    components */
+
+#define CBFS_TYPE_STAGE     0x10
+#define CBFS_TYPE_PAYLOAD   0x20
+#define CBFS_TYPE_OPTIONROM 0x30
+
+/** this is the master cbfs header - it need to be
+    located somewhere in the bootblock.  Where it
+    actually lives is up to coreboot. A pointer to
+    this header will live at 0xFFFFFFFc, so we can
+    easily find it. */
+
+#define CBFS_HEADER_MAGIC  0x4F524243
+#define CBFS_HEADPTR_ADDR 0xFFFFFFFc
+#define VERSION1 0x31313131
+
+struct cbfs_header {
+       u32 magic;
+        u32 version; 
+        u32 romsize;
+        u32 bootblocksize;
+       u32 align;
+       u32 offset;
+       u32 pad[2];
+} __attribute__((packed));
+
+/** This is a component header - every entry in the CBFS
+    will have this header.
+
+    This is how the component is arranged in the ROM:
+
+    --------------   <- 0
+    component header
+    --------------   <- sizeof(struct component)
+    component name
+    --------------   <- offset
+    data
+    ...
+    --------------   <- offset + len
+*/
+
+#define CBFS_FILE_MAGIC "LARCHIVE"
+
+struct cbfs_file {
+       char magic[8];
+       u32 len;
+       u32 type;
+       u32 checksum;
+       u32 offset;
+} __attribute__((packed));
+
+/*** Component sub-headers ***/
+
+/* Following are component sub-headers for the "standard"
+   component types */
+
+/** This is the sub-header for stage components.  Stages are
+    loaded by coreboot during the normal boot process */
+
+struct cbfs_stage {
+       u32 compression;  /** Compression type */
+       u64 entry;  /** entry point */
+       u64 load;   /** Where to load in memory */
+       u32 len;          /** length of data to load */
+       u32 memlen;        /** total length of object in memory */
+} __attribute__((packed));
+
+/** this is the sub-header for payload components.  Payloads
+    are loaded by coreboot at the end of the boot process */
+
+struct cbfs_payload_segment {
+       u32 type;
+       u32 compression;
+       u32 offset;
+       u64 load_addr;
+       u32 len;
+       u32 mem_len;
+} __attribute__((packed));
+
+struct cbfs_payload {
+       struct cbfs_payload_segment segments;
+};
+
+#define PAYLOAD_SEGMENT_CODE   0x45444F43
+#define PAYLOAD_SEGMENT_DATA   0x41544144
+#define PAYLOAD_SEGMENT_BSS    0x20535342
+#define PAYLOAD_SEGMENT_PARAMS 0x41524150
+#define PAYLOAD_SEGMENT_ENTRY  0x52544E45
+
+struct cbfs_optionrom {
+       u32 compression;
+       u32 len;
+} __attribute__((packed));
+
+#define CBFS_NAME(_c) (((char *) (_c)) + sizeof(struct cbfs_file))
+#define CBFS_SUBHEADER(_p) ( (void *) ((((u8 *) (_p)) + ntohl((_p)->offset))) )
+
+void * cbfs_load_payload(struct lb_memory *lb_mem, const char *name);
+void * cbfs_load_stage(const char *name);
+int cbfs_execute_stage(const char *name);
+void * cbfs_get_file(const char *name);
+void *cbfs_load_optionrom(u16 vendor, u16 device, void * dest);
+int run_address(void *f);
+
+#endif
+
index 4e6aa4d8d07ae74c80f95040ea619983b7ec51e3..9ecf316b1c973451362e58c942001e7d506720aa 100644 (file)
@@ -28,6 +28,6 @@ if CONFIG_USE_INIT
        initobject memcmp.o
 end
 
-if CONFIG_ROMFS
-       object romfs.o
+if CONFIG_CBFS
+       object cbfs.o
 end
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
new file mode 100644 (file)
index 0000000..55a84b5
--- /dev/null
@@ -0,0 +1,252 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2008, Jordan Crouse <jordan@cosmicpenguin.net>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
+ */
+
+#include <types.h>
+#include <string.h>
+#include <console/console.h>
+#include <boot/coreboot_tables.h>
+#include <cbfs.h>
+
+#ifndef CONFIG_BIG_ENDIAN
+#define ntohl(x) ( ((x&0xff)<<24) | ((x&0xff00)<<8) | \
+               ((x&0xff0000) >> 8) | ((x&0xff000000) >> 24) )
+#else
+#define ntohl(x) (x)
+#endif
+
+int run_address(void *f);
+
+int cbfs_decompress(int algo, void *src, void *dst, int len)
+{
+       switch(algo) {
+       case CBFS_COMPRESS_NONE:
+               memcpy(dst, src, len);
+               return 0;
+
+#ifdef CONFIG_COMPRESSION_LZMA
+
+       case CBFS_COMPRESS_LZMA: {
+               unsigned long ulzma(unsigned char *src, unsigned char *dst);
+               ulzma(src, dst);
+       }
+               return 0;
+#endif
+
+#ifdef CONFIG_COMPRESSION_NRV2B
+       case CBFS_COMPRESS_NRV2B: {
+               unsigned long unrv2b(u8 *src, u8 *dst, unsigned long *ilen_p);
+               unsigned long tmp;
+
+               unrv2b(src, dst, &tmp);
+       }
+               return 0;
+#endif
+       default:
+               printk_info( "CBFS:  Unknown compression type %d\n",
+                      algo);
+               return -1;
+       }
+}
+
+int cbfs_check_magic(struct cbfs_file *file)
+{
+       return !strcmp(file->magic, CBFS_FILE_MAGIC) ? 1 : 0;
+}
+
+struct cbfs_header *cbfs_master_header(void)
+{
+       struct cbfs_header *header;
+
+       void *ptr = (void *)*((unsigned long *) CBFS_HEADPTR_ADDR);
+       printk_debug("Check CBFS header at %p\n", ptr);
+       header = (struct cbfs_header *) ptr;
+
+       printk_debug("magic is %08x\n", ntohl(header->magic));
+       if (ntohl(header->magic) != CBFS_HEADER_MAGIC) {
+               printk_err("NO CBFS HEADER\n");
+               return NULL;
+       }
+
+       printk_debug("Found CBFS header at %p\n", ptr);
+       return header;
+}
+
+struct cbfs_file *cbfs_find(const char *name)
+{
+       struct cbfs_header *header = cbfs_master_header();
+       unsigned long offset;
+
+       if (header == NULL)
+               return NULL;
+       offset = 0 - ntohl(header->romsize) + ntohl(header->offset);
+
+       while(1) {
+               struct cbfs_file *file = (struct cbfs_file *) offset;
+               if (cbfs_check_magic(file)) printk_info("Check %s\n", CBFS_NAME(file));
+               if (cbfs_check_magic(file) &&
+                   !strcmp(CBFS_NAME(file), name))
+                       return file;
+
+               offset += ntohl(header->align);
+
+               if (offset < 0xFFFFFFFF - ntohl(header->romsize))
+                       return NULL;
+       }
+}
+
+struct cbfs_stage *cbfs_find_file(const char *name, int type)
+{
+       struct cbfs_file *file = cbfs_find(name);
+
+       if (file == NULL) {
+               printk_info( "CBFS:  Could not find file %s\n",
+                      name);
+               return NULL;
+       }
+
+       if (ntohl(file->type) != type) {
+               printk_info( "CBFS:  File %s is of type %x instead of"
+                      "type %x\n", name, file->type, type);
+
+               return NULL;
+       }
+
+       return (void *) CBFS_SUBHEADER(file);
+}
+
+void *cbfs_load_optionrom(u16 vendor, u16 device, void * dest)
+{
+       char name[17];
+       struct cbfs_optionrom *orom;
+       u8 *src;
+
+       sprintf(name,"pci%04x,%04x.rom", vendor, device);
+
+       orom = (struct cbfs_optionrom *)
+               cbfs_find_file(name, CBFS_TYPE_OPTIONROM);
+
+       if (orom == NULL)
+               return NULL;
+
+       /* They might have specified a dest address. If so, we can decompress. 
+        * If not, there's not much hope of decompressing or relocating the rom.
+        * in the common case, the expansion rom is uncompressed, we
+        * pass 0 in for the dest, and all we have to do is find the rom and 
+        * return a pointer to it. 
+        */
+
+       /* BUG: the cbfstool is (not yet) including a cbfs_optionrom header */
+       src = ((unsigned char *) orom); // + sizeof(struct cbfs_optionrom);
+
+       if (! dest)
+               return src;
+
+       if (cbfs_decompress(ntohl(orom->compression),
+                            src,
+                            dest,
+                            ntohl(orom->len)))
+               return NULL;
+
+       return dest;
+}
+
+void * cbfs_load_payload(struct lb_memory *lb_mem, const char *name)
+{
+       int selfboot(struct lb_memory *mem, struct cbfs_payload *payload);
+       struct cbfs_payload *payload = (struct cbfs_payload *)
+               cbfs_find_file(name, CBFS_TYPE_PAYLOAD);
+
+       struct cbfs_payload_segment *segment, *first_segment;
+
+       if (payload == NULL)
+               return (void *) -1;
+       printk_debug("Got a payload\n");
+       first_segment = segment = &payload->segments;
+       selfboot(lb_mem, payload);
+       printk_emerg("SELFBOOT RETURNED!\n");
+
+       return (void *) -1;
+}
+
+void * cbfs_load_stage(const char *name)
+{
+       struct cbfs_stage *stage = (struct cbfs_stage *)
+               cbfs_find_file(name, CBFS_TYPE_STAGE);
+       /* this is a mess. There is no ntohll. */
+       /* for now, assume compatible byte order until we solve this. */
+       u32 entry;
+
+       if (stage == NULL)
+               return (void *) -1;
+
+       printk_info("Stage: load @ %d/%d bytes, enter @ %llx\n", 
+                       ntohl((u32) stage->load), ntohl(stage->memlen), 
+                       stage->entry);
+       memset((void *) ntohl((u32) stage->load), 0, ntohl(stage->memlen));
+
+       if (cbfs_decompress(ntohl(stage->compression),
+                            ((unsigned char *) stage) +
+                            sizeof(struct cbfs_stage),
+                            (void *) ntohl((u32) stage->load),
+                            ntohl(stage->len)))
+               return (void *) -1;
+
+       entry = stage->entry;
+//     return (void *) ntohl((u32) stage->entry);
+       return (void *) entry;
+}
+
+void * cbfs_get_file(const char *name)
+{
+       return cbfs_find(name);
+}
+
+int cbfs_execute_stage(const char *name)
+{
+       struct cbfs_stage *stage = (struct cbfs_stage *)
+               cbfs_find_file(name, CBFS_TYPE_STAGE);
+
+       if (stage == NULL)
+               return 1;
+
+       if (ntohl(stage->compression) != CBFS_COMPRESS_NONE) {
+               printk_info( "CBFS:  Unable to run %s:  Compressed file"
+                      "Not supported for in-place execution\n", name);
+               return 1;
+       }
+
+       /* FIXME: This isn't right */
+       printk_info( "CBFS: run @ %p\n", (void *) ntohl((u32) stage->entry));
+       return run_address((void *) ntohl((u32) stage->entry));
+}
+
+/**
+ * run_address is passed the address of a function taking no parameters and
+ * jumps to it, returning the result. 
+ * @param f the address to call as a function. 
+ * returns value returned by the function. 
+ */
+
+int run_address(void *f)
+{
+       int (*v) (void);
+       v = f;
+       return v();
+}
+
index ae66752d25b7996059576b021c4c6e5ab9cfe379..2641e766df6eff477a0c51f2f4e4fda70a878164 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 0a39f34cb2088c350b227641b0b05685fff0989f..31c70358f57cc98fc84ea57b4aeeb0cfa6785c90 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index aac55457dc21443d44610f7ce803ec868e2a2160..986b770bbc3db617597c1892c0bc020b27c34e87 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -99,8 +99,8 @@ default CONFIG_CONSOLE_VGA = 1                # Override this in targets/*/Config.lb.
 default CONFIG_PCI_ROM_RUN = 1         # Override this in targets/*/Config.lb.
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 1c1cffc92341728e337d74eaeb9262fb29caf7d7..8e8d078aaa4d7bc687fcdbad00ba10437989667a 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -104,8 +104,8 @@ default DEFAULT_CONSOLE_LOGLEVEL = 9
 default MAXIMUM_CONSOLE_LOGLEVEL = 9
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index f61114de1d3de1aa94946ebf81862c3a6e29902e..ab75f33bb5aaf093cdd1493542337412ad91b832 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -180,8 +180,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index bc5b08f2180ef5c2cbea69fde4d119863753f123..be32edf8a126d5b98220e370101fad27302835a4 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -302,8 +302,8 @@ default HAVE_MAINBOARD_RESOURCES=1
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ac83e66a19242e8e03a796658d7edf6d968af88b..216b860b2e1c60862433f2b09ac8c6b9c5b7c30e 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -180,8 +180,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 4a6d7b4e0bc6a2310a0344fd2b57925d98121c34..29e7802e252525106576a6dcf26e9ac77820216e 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -302,8 +302,8 @@ default HAVE_MAINBOARD_RESOURCES=1
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ab0dd8a0e1df1c56e4db7a5ef8eabaa23a1ae599..70c05bfa56145e438fd72c9e86484bd03bb13615 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -161,8 +161,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 3d06fa46ba3a24717a9a3df92f923076bdbf67d7..697e9119a29f83054eea21091aec54d3acd3bed9 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -330,8 +330,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index e2963954fed5e4122fa566938aad6783e584fb4b..235f1c71a08d24cd7459d1a2c20cca191c83c013 100644 (file)
@@ -18,7 +18,7 @@
 #
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -365,8 +365,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index f377e7e87879bd60693ffdc3e650edfb0fdace40..24fff9b1ac434eebfc16bd67a72f7cbcb28f1c49 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -243,8 +243,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index b84dea208d725bdcc71b16376154a9fb765e7b9b..4e5fffdbc12f261df063f268b267716b9ad31884 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -180,8 +180,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 91be9d8e3e97263bc80aebc4bdbb7c08fd8495d2..870f3b80f9adccd23f8c5baf90bbd61a27eb91be 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -104,8 +104,8 @@ default DEFAULT_CONSOLE_LOGLEVEL = 9
 default MAXIMUM_CONSOLE_LOGLEVEL = 9
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 90d47a839865beb5800c6f3ebbd02ff8bf339d6d..c1ea8c4e244a9d2e17c70a2e606c2537ab6975a3 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_PIRQ_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
 uses HAVE_HARD_RESET
@@ -163,8 +163,8 @@ default CONFIG_VIDEO_MB = 0
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index d4f1bf9c7ecdc7cafdc0d0747aec636928ff3523..5f4c65715e9d5cd3f36305114d4c8dd8806b4836 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses USE_FAILOVER_IMAGE
@@ -168,8 +168,8 @@ default MAXIMUM_CONSOLE_LOGLEVEL = 8
 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL = "MAINBOARD_POWER_ON"
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index fa41c65cc3da88902592ad7a05dd8966de93561a..a471b418b249783b6d2f1174370fd1a394f44b39 100644 (file)
@@ -18,7 +18,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -168,8 +168,8 @@ default DEFAULT_CONSOLE_LOGLEVEL = 8
 default MAXIMUM_CONSOLE_LOGLEVEL = 8
 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL = "MAINBOARD_POWER_ON"
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index c388831cc99ff532ddb0104487285dcee983cc6f..f9a88c9beff71555574e48da86b21be90475df58 100644 (file)
@@ -18,7 +18,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -176,8 +176,8 @@ default DEFAULT_CONSOLE_LOGLEVEL = 9
 default MAXIMUM_CONSOLE_LOGLEVEL = 9
 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL = "MAINBOARD_POWER_ON"
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 1f0ea7dec6fc043c2951182aa88f23284a23420d..95be45a13d0e38157949a85516c8680008458acc 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1                # Override this in targets/*/Config.lb.
 default CONFIG_PCI_ROM_RUN = 1         # Override this in targets/*/Config.lb.
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 063ea3cf4e4b552f8ffc86b0a9cf877fe5fc1812..fa0eedc074d9d74380897ef582ad74d0f29db3e1 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -159,8 +159,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=9
 default CONFIG_UDELAY_TSC=1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 2b0c485e0706457d445240e091e3e0f031d705b9..f907eac3d8a422f44c723789d425074887a2b9a3 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -105,8 +105,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ae66752d25b7996059576b021c4c6e5ab9cfe379..2641e766df6eff477a0c51f2f4e4fda70a878164 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index c2ee68b2b33cd979edf165fc0b8a03e7a1e1d179..e6bd850cbd43de1fef2d7665050e06e7cf829892 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -99,8 +99,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ae66752d25b7996059576b021c4c6e5ab9cfe379..2641e766df6eff477a0c51f2f4e4fda70a878164 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index f542aee227696d25bb209a99f67c0108c6e7b119..0003852a59ae439400230d2fbb16814841bdf918 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -104,8 +104,8 @@ default DEFAULT_CONSOLE_LOGLEVEL = 6
 default MAXIMUM_CONSOLE_LOGLEVEL = 6
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ae66752d25b7996059576b021c4c6e5ab9cfe379..2641e766df6eff477a0c51f2f4e4fda70a878164 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 7f08e9dfd690623106704e53caf9e087defd43c8..384d78ce0acb4c949f86d8a70339242286be9666 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -104,8 +104,8 @@ default DEFAULT_CONSOLE_LOGLEVEL = 6
 default MAXIMUM_CONSOLE_LOGLEVEL = 6
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 00585972b3986a34628ac26ba32687eb7d21d3ed..446cf228b52084f046c214c68b83f8de89d43ea7 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -105,8 +105,8 @@ default CONFIG_MAX_PCI_BUSES = 3
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ae66752d25b7996059576b021c4c6e5ab9cfe379..2641e766df6eff477a0c51f2f4e4fda70a878164 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 39cdc22f5ffd46bc76fb800156bc69928e9bb37e..752007572ca5568b7974575643de7fb503c24cfb 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -263,8 +263,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ae66752d25b7996059576b021c4c6e5ab9cfe379..2641e766df6eff477a0c51f2f4e4fda70a878164 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index e2f0c30b6f837ddf9790b165ba6e4dac0057c2db..808fe210185beb87691b2517fd4ff58ff49cdba0 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -229,8 +229,8 @@ default  CONFIG_CONSOLE_BTEXT=0
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 1ddea0d2917581c23087b00198fb1e33b39312da..24cb38cbd8a8c160fa6005d457afe2fad21b48b9 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -116,8 +116,8 @@ default HOSTCC="gcc"
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 973a7047202ef89399e9b1dc857752a3a9e35baf..fc9a2be178ba989d861686996f31ac7b19b2e7ed 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -124,8 +124,8 @@ default HOSTCC="gcc"
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 2d34deaa1cb46e155ad773f042f10c47c0a917e2..f77126e0fa53c7c8d641942349f72f422ed1572d 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -180,8 +180,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 1f34ae68a359cf2d976d841d4dafd45f7c95d01f..6c4034120fa573b3e7dcc4c64265b267f02dfa08 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -166,8 +166,8 @@ default CONFIG_VIDEO_MB = 0
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 58da5734c02cb9c0ef0230b753ec66936e0bedb8..11491508d2aa42373b72b5a07203530894280b44 100644 (file)
@@ -3,7 +3,7 @@
 ##
 
 uses PCIC0_CFGADDR 
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses PCIC0_CFGDATA 
 uses ISA_IO_BASE 
 uses ISA_MEM_BASE 
@@ -143,8 +143,8 @@ default _RAMBASE=0x00100000
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index da93b1b481638af8e8b18968010ccc3a1249b602..9628ebb256cb0a7230c5250e92a30c6cbabd241b 100644 (file)
@@ -44,13 +44,13 @@ uses USE_DCACHE_RAM
 
 uses DEFAULT_CONSOLE_LOGLEVEL
 uses MAXIMUM_CONSOLE_LOGLEVEL
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 
 
 default CONFIG_CONSOLE_SERIAL8250=1
 default DEFAULT_CONSOLE_LOGLEVEL=8
 default MAXIMUM_CONSOLE_LOGLEVEL=8
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 
 ## ROM_SIZE is the size of boot ROM that this board will use.
 default ROM_SIZE  = 256*1024
index ae66752d25b7996059576b021c4c6e5ab9cfe379..2641e766df6eff477a0c51f2f4e4fda70a878164 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 387a7a782fea87ca105f058e14a65b8748102189..a57533bfe2d36d778604b3df05e92d5745be2430 100644 (file)
@@ -22,7 +22,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -354,8 +354,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 2fa5c29f4b332b10873dd65ec54617f8f7d43a28..0f4ec042a35eb6fc379b8e752964d0620847c636 100644 (file)
@@ -20,7 +20,7 @@
 ## 
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -358,8 +358,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index b4383fbabce341abe2f9be92103b7789fac7d3e9..98f61b1e0f5c079736a03ebdf326ee4172843dd7 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -222,8 +222,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index a068ca9ead3c73d83a67bce7b6fb24a7570c685c..9a101d1950c8803b37ff9d413a7203ad47f95a87 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -228,8 +228,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index e3c87cdf3881403b4163aeda75d7bf91d27a0463..2e91257805d7bb2beaa6a4b43e151157d37d6103 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -147,8 +147,8 @@ default CONFIG_VIDEO_MB = 0
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index c65026cdbef2e9ac0c2658d15912745258cd3acd..3b49675b702722073a16b0b9a4d23aa9352c74cb 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -174,8 +174,8 @@ default CONFIG_VIDEO_MB = 0
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 00944da13fbf7d4926d0a898e1ca581b1c6a06da..6a3b6e56bc3de5ac2c840c385e4a1214b8a0debd 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -106,8 +106,8 @@ default MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index afefef35fed72e736fd2ce6d563c9045fe10d92c..a0e1f9ecf64896ef9fafcfbb8f7ec36b1fc02009 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -243,8 +243,8 @@ default  CONFIG_CONSOLE_BTEXT=0
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 42ec01cf81bbe52f2eaee67ad90208a54e9bcf57..47e7ff05f830a2b2823eebea2ad335d1e81503f5 100644 (file)
@@ -18,7 +18,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -226,8 +226,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index dc4f2047742f0307f556f27a96fc3835e57fb17b..d4c777c4e256eebd714e400b08104ebc6a5de27a 100644 (file)
@@ -18,7 +18,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -228,8 +228,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 76049b0a868c3a711d920447c35855a657eeb67e..d3036df6a7828525ef3267082e2174fe644ce5de 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
 uses HAVE_PIRQ_TABLE
@@ -241,8 +241,8 @@ default DEBUG=1
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index dd94a0652080e8231bf2dec89387dda5c4017c07..2e235d9c17c28d30f8bc79fbf6bfa928e1ff020f 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -329,8 +329,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 04a7d026a83e60016533307360d0d2ffc41a5ca5..6c0fb018c31e6b4505f49843d82db99391945c84 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -229,8 +229,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 39f02d930777496132a2193425fb99f142e2e5db..a515945180557e83b4c8de646df3cab8a1c8e014 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -228,8 +228,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index c227de7f89d2bbbad2626d698bcf6f01eaefa2a0..10002128271e2c3ba2c49fb6c9106d92c78f9b0d 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -106,8 +106,8 @@ default CONFIG_MAX_PCI_BUSES = 3
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index cf0665189745f896e113996f221a447208c858c7..3d708b0e1c7a585cb5546381f131fe43a4b4e338 100644 (file)
@@ -72,7 +72,7 @@ uses CONFIG_PCIE_CONFIGSPACE_HOLE
 uses MMCONF_SUPPORT
 uses MMCONF_BASE_ADDRESS
 uses CONFIG_GFXUMA
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 
 #
 uses MAINBOARD
@@ -325,9 +325,9 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=9
 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 #
-# ROMFS
+# CBFS
 # 
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 
 ### End Options.lb
 end
index ab0dd8a0e1df1c56e4db7a5ef8eabaa23a1ae599..70c05bfa56145e438fd72c9e86484bd03bb13615 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -161,8 +161,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 61add853d380706540795cc3e9851c03acd60de9..d8e173b6bcac8ec990708bd6f7094e299db2801d 100644 (file)
@@ -21,7 +21,7 @@
 ## Based on Options.lb from AMD's DB800 mainboard.
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -210,8 +210,8 @@ default  DEFAULT_CONSOLE_LOGLEVEL = 8
 default  MAXIMUM_CONSOLE_LOGLEVEL = 8
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 75da01de6504346784dc6f45bf832dcd8bc48b36..191ad3b2e567431c6c2adc5a9cdc482eb9474f98 100644 (file)
@@ -21,7 +21,7 @@
 ## Based on Options.lb from AMD's DB800 mainboard.
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -210,8 +210,8 @@ default  DEFAULT_CONSOLE_LOGLEVEL = 8
 default  MAXIMUM_CONSOLE_LOGLEVEL = 8
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index d20b2f74eb14018e9c1b337c3c06dfe1dab537bb..e6042f16047d37fe56a4d6d72e783ab9f30e7e39 100644 (file)
@@ -1,5 +1,5 @@
 uses CONFIG_SANDPOINT_ALTIMUS
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses CONFIG_SANDPOINT_TALUS
 uses CONFIG_SANDPOINT_UNITY
 uses CONFIG_SANDPOINT_VALIS
@@ -125,8 +125,8 @@ default CONFIG_SANDPOINT_ALTIMUS=1
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 72cea15cc795960fd2c97bea608e2a394c6516bb..42b183f9165277596bebfc21ae0df5afcdb548e5 100644 (file)
@@ -1,5 +1,5 @@
 uses ISA_IO_BASE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses ISA_MEM_BASE
 uses PCIC0_CFGADDR
 uses PCIC0_CFGDATA
@@ -120,8 +120,8 @@ default _RAMSTART=0x00100000
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 0a39f34cb2088c350b227641b0b05685fff0989f..31c70358f57cc98fc84ea57b4aeeb0cfa6785c90 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 866db785e10e09486b6b11c7f3980803d5dbbf41..9e0f7225dd143f57cb78631f59fc07a725d9b822 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -98,8 +98,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index a87c3c8b2b9aa1bef60beb1d87a41399118a7a0f..e3980ca4606298babfb3d09af37caf923f9fe306 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -97,8 +97,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index c4c31027c95e1dccbc90a59948709e999b93c4cd..36260c76e029e3b404d3d869b69016d1127d706c 100644 (file)
@@ -21,7 +21,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses USE_FAILOVER_IMAGE
@@ -322,8 +322,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ddd2252f0ff176de9bbf7cc5d19c5e95fb6e559a..b16ebcaf61004b912f4d66c6a4ea888d71ad3bf6 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses USE_FAILOVER_IMAGE
@@ -187,8 +187,8 @@ default MAXIMUM_CONSOLE_LOGLEVEL = 9
 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL = "MAINBOARD_POWER_ON"
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 0f64e833c92c5087666702bbab7888feb90e6dfa..efd5dc95bcea23c441baa7df4d1cef600e7e55db 100644 (file)
@@ -23,7 +23,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -331,8 +331,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 61afebe438ab9767646b3505c7bef07066fb1cd7..a666a8c61e5c9bef16244d88547a8100c4b308b6 100644 (file)
@@ -23,7 +23,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -310,8 +310,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index d5ac0ddbfa5d828794abf833b3af5a75e24324d7..3985c3c06737536b81ee480c644cb50f4b631388 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -97,8 +97,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 00951829cea91b8dec60dded2f7bc33834655133..041762eb5f9f7e61f79ee061fb08ff36ac1be89f 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -246,8 +246,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 781c558e900951b0400840e24997b7bbc9cb3ad6..2f455f4265f7dab6905a749fbffcdb00814df75b 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -352,8 +352,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 1050cc7b2ea3c80e11f67352b5110af050e1c37e..70ee04683c226022cfc8c63f4fe8c054b3ad9ef5 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -162,8 +162,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 1050cc7b2ea3c80e11f67352b5110af050e1c37e..70ee04683c226022cfc8c63f4fe8c054b3ad9ef5 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -162,8 +162,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 0aa6f278a073f00ca0c42b09e0763048eeab3d0e..21f4398c01c850a28d0f764fca99ad5f5585282c 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -198,8 +198,8 @@ default  MAXIMUM_CONSOLE_LOGLEVEL=8
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 0b6d0c97c579221301d0e10467eecae637ad2196..0272905da2ec64c4dfedb3f14e35ebb4ef8e4721 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses CC
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses CONFIG_CONSOLE_SERIAL8250
 uses CONFIG_CONSOLE_VGA
 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
@@ -95,8 +95,8 @@ default MAXIMUM_CONSOLE_LOGLEVEL = 9
 default MAINBOARD_VENDOR = "RCA"
 default MAINBOARD_PART_NUMBER = "RM4100"
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 9a444229645492f990d1a1d22dc0d993e9fff6d1..4a7e48cdbfd5d4784914faa8567518376baa135f 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -279,8 +279,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 3167501ca623fe0d1ab0aff55a9be25f717914ac..ba52d84eca6acf185a6a2236c756a356dcba7a9b 100644 (file)
@@ -20,7 +20,7 @@
 ## 
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -349,8 +349,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 906f61fb26c641879639a9369889fdbbd6d1b125..e65dfca0ed6618d4dd916114ea62ecc3cd83bf6b 100644 (file)
@@ -20,7 +20,7 @@
 ## 
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -349,8 +349,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 397808bcd26451e847a3a1bb0a14c7574d16bf5e..576cdb8c3e4744d2c75f388f08c0303ee53927ca 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -230,8 +230,8 @@ default  CONFIG_CONSOLE_BTEXT=0
 ### End Options.lb
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 849b41d1dfa79d98363025c674dcf01c32d00e77..bd31e7c14c87d02dbd08efa517b8167f451bccd7 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -230,8 +230,8 @@ default  CONFIG_CONSOLE_BTEXT=0
 ### End Options.lb
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 849b41d1dfa79d98363025c674dcf01c32d00e77..bd31e7c14c87d02dbd08efa517b8167f451bccd7 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -230,8 +230,8 @@ default  CONFIG_CONSOLE_BTEXT=0
 ### End Options.lb
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index e2f0c30b6f837ddf9790b165ba6e4dac0057c2db..808fe210185beb87691b2517fd4ff58ff49cdba0 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -229,8 +229,8 @@ default  CONFIG_CONSOLE_BTEXT=0
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index e2f0c30b6f837ddf9790b165ba6e4dac0057c2db..808fe210185beb87691b2517fd4ff58ff49cdba0 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -229,8 +229,8 @@ default  CONFIG_CONSOLE_BTEXT=0
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 937211bcea21eb69000705cc290ae9fd0b793c3d..d4300898ec280087c039266de6f9c6b8ac77d3b7 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
index 1179ac62e15e7825340f57e9c79b15566bfbc856..7f2ad59503229385d5437237cd9e4e3129dee2ff 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -137,8 +137,8 @@ default CC="$(CROSS_COMPILE)gcc -m32"
 default HOSTCC="gcc"
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 6c8762bdfb8cefc15bd6af3236a1c625b71bb67d..f215c5a622a0ecd8770ca4546d55d65d37791f50 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -105,8 +105,8 @@ default DEFAULT_CONSOLE_LOGLEVEL = 6
 default MAXIMUM_CONSOLE_LOGLEVEL = 6
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 2b57730e104e3c080fbc98a131f0221a8333307e..8b47189cced7cd4057ebccba4d425d51e5da3b39 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses CC
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses CONFIG_CONSOLE_SERIAL8250
 uses CONFIG_CONSOLE_VGA
 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
@@ -95,8 +95,8 @@ default MAXIMUM_CONSOLE_LOGLEVEL = 9
 default MAINBOARD_VENDOR = "THOMSON"
 default MAINBOARD_PART_NUMBER = "IP1000"
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 2659c64014c9ee1a40c0296984fc4c8c368563d7..1a25c9cfa1b5cdbb6aa1eb4149156332f88890fa 100644 (file)
@@ -3,7 +3,7 @@
 ##
 
 uses TTYS0_DIV
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses TTYS0_BASE
 uses CONFIG_BRIQ_750FX
 uses CONFIG_BRIQ_7400
@@ -127,8 +127,8 @@ default CONFIG_BRIQ_750FX=1
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 6e918ebaa940fdb231f54196700534cff5cbe25b..e5ebc85be68a55294dd408ed1cb38b3941eeebb5 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -99,8 +99,8 @@ default CONFIG_CONSOLE_VGA = 1
 default CONFIG_PCI_ROM_RUN = 1
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 05c0b4239e3886300975314c0cee63d5897500e9..affd13815c27504a5b1ab65081c77d8873699d22 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -256,8 +256,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 030cea6fbc836d165f0716f6a892e699d1cf11cb..f9317f7bd2bb2c1a00ce61387ab2245f0ec1e95f 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -247,8 +247,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 66622c2cf889108a02954d35d24f06c5d3cbadc7..01daaa4e6fee1581d3003989d91ae1c1ff591370 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -248,8 +248,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 6eaeadd660dd25d0ca2020cc3c021e41ef974b6b..8b37f911db7b6f9127c914962a4ffdc96c4b4f0b 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -247,8 +247,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 47a7cd16708a25f7083568cf98c5f43b0e02c389..d83638715b78d1ccb32d70cb677c8b670726866f 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -264,8 +264,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 415a65fa485710060ca286162db50b722aedee73..9e6b36db706985f15a4fbf0e4579bdd960cf28c9 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -247,8 +247,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ece2a789056e49e1f680c046e66a6c9bdb627c24..88e7bf27900775706b0921a1fb523b6bc88948f1 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -274,8 +274,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index c9f96167daff4ee000f7c49ad6768e35adf9df1f..b0250fc850b9d455a33b93d6e0158bd47d3c795d 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -307,8 +307,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 07c13f3a9d5d7bc0b9ea2f656bdd1edf1d5f1a6b..e50806f57e57387515e49dc4e50278e14cf67b8c 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -295,8 +295,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index ba835f729cda427c3c57ffa1186b75625682656c..df0b2ea3b5eb577efddd16b436921d4b93a812ed 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -314,8 +314,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index f2e57f89ef3c04020894c025d16d571972621698..72227883495e68288df244dac7b2557a2e374ba8 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -354,8 +354,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 425a7b0f9489cdb88e5e558ce11a04b2daf3d93c..0e9b91ce38ee347106c978624fdaa88776408686 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
@@ -362,8 +362,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 604733ee030cb4051ee9d58ffaa18a495c68697e..485ab8397b61aedcadc54a2a5726c2c574f51de9 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -256,8 +256,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index f7b3bfed6c8433fe12a6fec7b7645959a101f45b..e5eadf414fc5be35f72e50b9fadf1674d3e13b9b 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -255,8 +255,8 @@ default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
 
 ### End Options.lb
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 7418127c192f9c872d3dacbb029100cfc1738859..3e965b284b5b5b4564837f4103cf81afe4fcb7d8 100644 (file)
@@ -20,7 +20,7 @@
 ##
 
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -82,7 +82,7 @@ default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 = 1
 default HAVE_HARD_RESET = 0
 default HAVE_PIRQ_TABLE = 1
 default IRQ_SLOT_COUNT = 9
-default HAVE_ACPI_TABLES = 0
+default HAVE_ACPI_TABLES = 1
 default HAVE_OPTION_TABLE = 1
 default ROM_IMAGE_SIZE = 64 * 1024
 default FALLBACK_SIZE = ROM_SIZE
@@ -106,8 +106,8 @@ default CONFIG_MAX_PCI_BUSES = 3
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 30668f54dc40a02b63b63bc2c4245b545d964fd4..5781156c49c957b471bc3586309ad35abe7a54d9 100644 (file)
@@ -1,5 +1,5 @@
 uses HAVE_MP_TABLE
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -145,8 +145,8 @@ default  CONFIG_CONSOLE_SERIAL8250=1
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 833843425593dfbe11949883f4bbcde3550dc5c1..6e4856c54336561aa7fd1821daa0158a26ec9352 100644 (file)
@@ -1,5 +1,5 @@
 uses MAXIMUM_CONSOLE_LOGLEVEL
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses DEFAULT_CONSOLE_LOGLEVEL
 uses CONFIG_CONSOLE_SERIAL8250
 uses TTYS0_BAUD
@@ -143,8 +143,8 @@ default HOSTCC="gcc"
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index 518393475b351e272d58db15a0d15c4c45fb662a..c19f2cd5293340c7f417ad9194a872f216cc610a 100644 (file)
@@ -19,7 +19,7 @@
 ##
 
 uses CONFIG_SMP
-uses CONFIG_ROMFS
+uses CONFIG_CBFS
 uses HAVE_MP_TABLE
 uses HAVE_PIRQ_TABLE
 uses USE_FALLBACK_IMAGE
@@ -114,8 +114,8 @@ default DEFAULT_CONSOLE_LOGLEVEL = 9
 
 
 #
-# ROMFS
+# CBFS
 #
 #
-default CONFIG_ROMFS=0
+default CONFIG_CBFS=0
 end
index b7d9c69ef7eec28dd1f6d86ab609dc4a530f3f32..02e04b1ff6b26746f0cb06477ee1df650021f4ee 100644 (file)
@@ -2224,11 +2224,11 @@ def writemakefile(path):
        file = safe_open(makefilepath, 'w+')
        writemakefileheader(file, makefilepath)
 
-       # Hack to get the necessary settings (CONFIG_ROMFS):
+       # Hack to get the necessary settings (CONFIG_CBFS):
        file.write("include %s/Makefile.settings\n\n" % romimages.keys()[0])
 
        # main rule
-       file.write("ifeq \"$(CONFIG_ROMFS)\" \"1\"\n")
+       file.write("ifeq \"$(CONFIG_CBFS)\" \"1\"\n")
        file.write("\nall: ")
        for i in buildroms:
                file.write(" %sfs" % i.name)
@@ -2240,8 +2240,8 @@ def writemakefile(path):
        file.write("\n")
        file.write("endif\n\n")
 
-       # romtool rules
-       file.write("\nromtool:\n\tmkdir -p tools/lzma\n\t$(MAKE) -C $(TOP)/util/romtool obj=$(shell pwd)\n\n")
+       # cbfstool rules
+       file.write("\ncbfstool:\n\tmkdir -p tools/lzma\n\t$(MAKE) -C $(TOP)/util/cbfstool obj=$(shell pwd)\n\n")
 
        file.write("include Makefile.settings\n\n")
        for i, o in romimages.items():
@@ -2278,17 +2278,17 @@ def writemakefile(path):
 
        romsize = getoption("ROM_SIZE", image)
        # i.name? That can not be right, can it? 
-       file.write("%sfs: %s romtool\n" %(i.name,i.name));
-       file.write("\trm -f coreboot.romfs\n");
-       file.write("\t./romtool %sfs create %s %s %s.bootblock\n" % (i.name, romsize, bootblocksize, i.name))
+       file.write("%sfs: %s cbfstool\n" %(i.name,i.name));
+       file.write("\trm -f coreboot.cbfs\n");
+       file.write("\t./cbfstool %sfs create %s %s %s.bootblock\n" % (i.name, romsize, bootblocksize, i.name))
        for i in buildroms:
                for j in i.roms:
                        #failover is a hack that will go away soon. 
                        if (j != "failover") and (rommapping[j] != "/dev/null"):
-                               file.write("\tif [ -f %s/romfs-support ]; then ./romtool %sfs add-payload %s %s/payload `cat %s/romfs-support`; fi\n" % (j, i.name, rommapping[j], j, j))
-               file.write("\t ./romtool %sfs print\n" % i.name)
+                               file.write("\tif [ -f %s/cbfs-support ]; then ./cbfstool %sfs add-payload %s %s/payload `cat %s/cbfs-support`; fi\n" % (j, i.name, rommapping[j], j, j))
+               file.write("\t ./cbfstool %sfs print\n" % i.name)
 
-       file.write(".PHONY: all clean romtool")
+       file.write(".PHONY: all clean cbfstool")
        for i in romimages.keys():
                file.write(" %s-clean" % i)
        for i, o in romimages.items():