Rev 2134 | Rev 2272 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2134 | Rev 2141 | ||
---|---|---|---|
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 | - | ||
59 | /* |
54 | /* |
60 | * Detect processor frequency. |
55 | * Detect processor frequency. |
61 | */ |
56 | */ |
62 | node = ofw_tree_find_child_by_device_type(ofw_tree_lookup("/"), "cpu"); |
57 | node = ofw_tree_find_child_by_device_type(ofw_tree_lookup("/"), "cpu"); |
63 | while (node) { |
58 | while (node) { |