Rev 2089 | Rev 2141 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2089 | Rev 2134 | ||
|---|---|---|---|
| Line 49... | Line 49... | ||
| 49 | upa_config_t upa_config; |
49 | upa_config_t upa_config; |
| 50 | 50 | ||
| 51 | upa_config.value = upa_config_read(); |
51 | upa_config.value = upa_config_read(); |
| 52 | CPU->arch.mid = upa_config.mid; |
52 | CPU->arch.mid = upa_config.mid; |
| 53 | 53 | ||
| - | 54 | #if (defined(CONFIG_SMP) && defined(CONFIG_VIRT_IDX_DCACHE)) |
|
| - | 55 | CPU->arch.dcache_active = 1; |
|
| - | 56 | CPU->arch.dcache_message_count = 0; |
|
| - | 57 | #endif |
|
| - | 58 | ||
| 54 | /* |
59 | /* |
| 55 | * Detect processor frequency. |
60 | * Detect processor frequency. |
| 56 | */ |
61 | */ |
| 57 | node = ofw_tree_find_child_by_device_type(ofw_tree_lookup("/"), "cpu"); |
62 | node = ofw_tree_find_child_by_device_type(ofw_tree_lookup("/"), "cpu"); |
| 58 | while (node) { |
63 | while (node) { |