Changeset 4454


Ignore:
Timestamp:
05/27/08 15:20:36 (5 years ago)
Author:
andrew
Message:

Use the NAND chip from GTA02 in GTA02fake (128MiB, 1.8V).
(Gets detected by u-boot and linux but flash.sh isn't supported yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/host/qemu-neo1973/hw/neo1973.c

    r4249 r4454  
    767767    s->cpu = s3c2410_init(s->ram, ds, s->mmc); 
    768768 
    769     s3c_nand_register(s->cpu, nand_init(NAND_MFR_SAMSUNG, 0x76)); 
    770  
    771769    /* Setup peripherals */ 
    772770    neo_gpio_setup(s); 
     
    831829                const char *initrd_filename, const char *cpu_model) 
    832830{ 
     831    struct neo_board_s *neo; 
    833832    int sd_idx = drive_get_index(IF_SD, 0, 0); 
    834833    struct sd_card_s *sd = 0; 
     
    837836        sd = sd_init(drives_table[sd_idx].bdrv, 0); 
    838837 
    839     neo1973_init_common(ram_size, ds, 
     838    neo = neo1973_init_common(ram_size, ds, 
    840839                    kernel_filename, cpu_model, sd, NEO1973_GTA01); 
     840 
     841    s3c_nand_register(neo->cpu, nand_init(NAND_MFR_SAMSUNG, 0x76)); 
    841842} 
    842843 
     
    851852    neo = neo1973_init_common(ram_size, ds, 
    852853                    kernel_filename, cpu_model, sd, NEO1973_GTA02F); 
     854 
     855    s3c_nand_register(neo->cpu, nand_init(NAND_MFR_SAMSUNG, 0xa1)); 
    853856 
    854857    neo_gps_setup(neo); 
Note: See TracChangeset for help on using the changeset viewer.