1c59e1b4dSTimur Tabi /* 2c59e1b4dSTimur Tabi * Copyright 2010 Freescale Semiconductor, Inc. 3c59e1b4dSTimur Tabi * Authors: Srikanth Srinivasan <srikanth.srinivasan@freescale.com> 4c59e1b4dSTimur Tabi * Timur Tabi <timur@freescale.com> 5c59e1b4dSTimur Tabi * 6*1a459660SWolfgang Denk * SPDX-License-Identifier: GPL-2.0+ 7c59e1b4dSTimur Tabi */ 8c59e1b4dSTimur Tabi 9c59e1b4dSTimur Tabi #include <common.h> 10c59e1b4dSTimur Tabi #include <asm/fsl_law.h> 11c59e1b4dSTimur Tabi #include <asm/mmu.h> 12c59e1b4dSTimur Tabi 13c59e1b4dSTimur Tabi struct law_entry law_table[] = { 14c59e1b4dSTimur Tabi SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC), 15c59e1b4dSTimur Tabi SET_LAW(PIXIS_BASE_PHYS, LAW_SIZE_4K, LAW_TRGT_IF_LBC), 16f45210d6SMatthew McClintock SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_32K, LAW_TRGT_IF_LBC), 17c59e1b4dSTimur Tabi }; 18c59e1b4dSTimur Tabi 19c59e1b4dSTimur Tabi int num_law_entries = ARRAY_SIZE(law_table); 20