Revision 1192dad8 hw/shix.c

b/hw/shix.c
83 83
    cpu_register_physical_memory(0x0c000000, 0x01000000, 0x01004000);
84 84

  
85 85
    /* Load BIOS in 0 (and access it through P2, 0xA0000000) */
86
    printf("%s: load BIOS '%s'\n", __func__, BIOS_FILENAME);
87
    ret = load_image(BIOS_FILENAME, phys_ram_base);
86
    if (bios_name == NULL)
87
        bios_name = BIOS_FILENAME;
88
    printf("%s: load BIOS '%s'\n", __func__, bios_name);
89
    ret = load_image(bios_name, phys_ram_base);
88 90
    if (ret < 0) {		/* Check bios size */
89 91
	fprintf(stderr, "ret=%d\n", ret);
90 92
	fprintf(stderr, "qemu: could not load SHIX bios '%s'\n",
91
		BIOS_FILENAME);
93
		bios_name);
92 94
	exit(1);
93 95
    }
94 96

  

Also available in: Unified diff