versatilepb.c (940d5b132fab085bd8ec2bcfa5c1dd119785b217) | versatilepb.c (ce14710f4fdfca32123d7efd3ddcbee984ef0ae5) |
---|---|
1/* 2 * ARM Versatile Platform/Application Baseboard System emulation. 3 * 4 * Copyright (c) 2005-2007 CodeSourcery. 5 * Written by Paul Brook 6 * 7 * This code is licensed under the GPL. 8 */ --- 355 unchanged lines hidden (view full) --- 364 /* 0x101f4000 SSPI. */ 365 /* 0x34000000 NOR Flash */ 366 367 dinfo = drive_get(IF_PFLASH, 0, 0); 368 if (!pflash_cfi01_register(VERSATILE_FLASH_ADDR, "versatile.flash", 369 VERSATILE_FLASH_SIZE, 370 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, 371 VERSATILE_FLASH_SECT_SIZE, | 1/* 2 * ARM Versatile Platform/Application Baseboard System emulation. 3 * 4 * Copyright (c) 2005-2007 CodeSourcery. 5 * Written by Paul Brook 6 * 7 * This code is licensed under the GPL. 8 */ --- 355 unchanged lines hidden (view full) --- 364 /* 0x101f4000 SSPI. */ 365 /* 0x34000000 NOR Flash */ 366 367 dinfo = drive_get(IF_PFLASH, 0, 0); 368 if (!pflash_cfi01_register(VERSATILE_FLASH_ADDR, "versatile.flash", 369 VERSATILE_FLASH_SIZE, 370 dinfo ? blk_by_legacy_dinfo(dinfo) : NULL, 371 VERSATILE_FLASH_SECT_SIZE, |
372 VERSATILE_FLASH_SIZE / VERSATILE_FLASH_SECT_SIZE, | |
373 4, 0x0089, 0x0018, 0x0000, 0x0, 0)) { 374 fprintf(stderr, "qemu: Error registering flash memory.\n"); 375 } 376 377 versatile_binfo.ram_size = machine->ram_size; 378 versatile_binfo.kernel_filename = machine->kernel_filename; 379 versatile_binfo.kernel_cmdline = machine->kernel_cmdline; 380 versatile_binfo.initrd_filename = machine->initrd_filename; --- 77 unchanged lines hidden --- | 372 4, 0x0089, 0x0018, 0x0000, 0x0, 0)) { 373 fprintf(stderr, "qemu: Error registering flash memory.\n"); 374 } 375 376 versatile_binfo.ram_size = machine->ram_size; 377 versatile_binfo.kernel_filename = machine->kernel_filename; 378 versatile_binfo.kernel_cmdline = machine->kernel_cmdline; 379 versatile_binfo.initrd_filename = machine->initrd_filename; --- 77 unchanged lines hidden --- |