| * Copyright (C) 2009 Renesas Solutions Corp. |
| * This file is subject to the terms and conditions of the GNU General Public |
| * License. See the file "COPYING" in the main directory of this archive |
| #include <asm/mmu_context.h> |
| static int __uses_jump_to_uncached fixed_pmb_init(void) |
| unsigned long addr, data; |
| for (i = 0; i < PMB_ENTRY_MAX; i++) { |
| addr = PMB_DATA + (i << PMB_E_SHIFT); |
| #if defined(CONFIG_CACHE_WRITETHROUGH) |
| #elif defined(CONFIG_CACHE_WRITEBACK) |
| data &= ~(PMB_C | PMB_WT); |
| arch_initcall(fixed_pmb_init); |