- Timestamp:
- 09/30/08 17:02:40 (3 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/coreboot-v2/src/mainboard/asus/a8n_e/cache_as_ram_auto.c
r3594 r3622 77 77 static void memreset_setup(void) 78 78 { 79 /* FIXME: Nothing to do?*/79 /* Nothing to do. */ 80 80 } 81 81 82 82 static void memreset(int controllers, const struct mem_controller *ctrl) 83 83 { 84 /* FIXME: Nothing to do?*/84 /* Nothing to do. */ 85 85 } 86 86 87 87 static inline void activate_spd_rom(const struct mem_controller *ctrl) 88 88 { 89 /* FIXME: Nothing to do?*/89 /* Nothing to do. */ 90 90 } 91 91 … … 124 124 /* LPC Positive Decode 0 */ 125 125 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 */ 128 127 pci_write_config32(PCI_DEV(0, CK804_DEVN_BASE + 1, 0), 0xa0, dword); 129 128 } … … 213 212 214 213 int needs_reset; 215 unsigned bsp_apicid = 0; 216 214 unsigned nodes, bsp_apicid = 0; 217 215 struct mem_controller ctrl[8]; 218 unsigned nodes; 219 220 if (bist == 0) { 216 217 if (bist == 0) 221 218 bsp_apicid = init_cpus(cpu_init_detectedx); 222 }223 219 224 220 it8712f_24mhz_clkin(); … … 238 234 wait_all_core0_started(); 239 235 #if CONFIG_LOGICAL_CPUS==1 240 / / It is said that we should start core1 after all core0 launched236 /* It is said that we should start core1 after all core0 launched. */ 241 237 start_other_cores(); 242 238 wait_all_other_cores_started(bsp_apicid); … … 244 240 245 241 needs_reset |= ht_setup_chains_x(); 246 247 242 needs_reset |= ck804_early_setup_x(); 248 243 … … 255 250 256 251 nodes = get_nodes(); 257 / /It's the time to set ctrl now;252 /* It's the time to set ctrl now. */ 258 253 fill_mem_ctrl(nodes, ctrl, spd_addr); 259 254
