Show
Ignore:
Timestamp:
09/30/08 17:02:40 (3 months ago)
Author:
uwe
Message:

Coding-style fixes and simplifications for the ASUS A8N-E (trivial).
The only non-cosmetic change is s/A8NE/A8N-E/ for the board name.
This is build-tested by me.

Signed-off-by: Uwe Hermann <uwe@…>
Acked-by: Uwe Hermann <uwe@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/coreboot-v2/src/mainboard/asus/a8n_e/cache_as_ram_auto.c

    r3594 r3622  
    7777static void memreset_setup(void) 
    7878{ 
    79         /* FIXME: Nothing to do? */ 
     79        /* Nothing to do. */ 
    8080} 
    8181 
    8282static void memreset(int controllers, const struct mem_controller *ctrl) 
    8383{ 
    84         /* FIXME: Nothing to do? */ 
     84        /* Nothing to do. */ 
    8585} 
    8686 
    8787static inline void activate_spd_rom(const struct mem_controller *ctrl) 
    8888{ 
    89         /* FIXME: Nothing to do? */ 
     89        /* Nothing to do. */ 
    9090} 
    9191 
     
    124124        /* LPC Positive Decode 0 */ 
    125125        dword = pci_read_config32(PCI_DEV(0, CK804_DEVN_BASE + 1, 0), 0xa0); 
    126         /* Serial 0, Serial 1 */ 
    127         dword |= (1 << 0) | (1 << 1); 
     126        dword |= (1 << 0) | (1 << 1);   /* Serial 0, Serial 1 */ 
    128127        pci_write_config32(PCI_DEV(0, CK804_DEVN_BASE + 1, 0), 0xa0, dword); 
    129128} 
     
    213212 
    214213        int needs_reset; 
    215         unsigned bsp_apicid = 0; 
    216  
     214        unsigned nodes, bsp_apicid = 0; 
    217215        struct mem_controller ctrl[8]; 
    218         unsigned nodes; 
    219  
    220         if (bist == 0) { 
     216 
     217        if (bist == 0) 
    221218                bsp_apicid = init_cpus(cpu_init_detectedx); 
    222         } 
    223219 
    224220        it8712f_24mhz_clkin(); 
     
    238234        wait_all_core0_started(); 
    239235#if CONFIG_LOGICAL_CPUS==1 
    240         // It is said that we should start core1 after all core0 launched 
     236        /* It is said that we should start core1 after all core0 launched. */ 
    241237        start_other_cores(); 
    242238        wait_all_other_cores_started(bsp_apicid); 
     
    244240 
    245241        needs_reset |= ht_setup_chains_x(); 
    246  
    247242        needs_reset |= ck804_early_setup_x(); 
    248243 
     
    255250 
    256251        nodes = get_nodes(); 
    257         //It's the time to set ctrl now; 
     252        /* It's the time to set ctrl now. */ 
    258253        fill_mem_ctrl(nodes, ctrl, spd_addr); 
    259254