1129ba616SKumar Gala /* 218ea5551SKumar Gala * Copyright 2008, 2010 Freescale Semiconductor, Inc. 3129ba616SKumar Gala * 4129ba616SKumar Gala * (C) Copyright 2000 5129ba616SKumar Gala * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 6129ba616SKumar Gala * 7*1a459660SWolfgang Denk * SPDX-License-Identifier: GPL-2.0+ 8129ba616SKumar Gala */ 9129ba616SKumar Gala 10129ba616SKumar Gala #include <common.h> 11129ba616SKumar Gala #include <asm/fsl_law.h> 12129ba616SKumar Gala #include <asm/mmu.h> 13129ba616SKumar Gala 14129ba616SKumar Gala struct law_entry law_table[] = { 15c953ddfdSKumar Gala SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC), 1652b565f5SKumar Gala SET_LAW(PIXIS_BASE_PHYS, LAW_SIZE_4K, LAW_TRGT_IF_LBC), 17c013b749SHaiying Wang SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC), 18129ba616SKumar Gala }; 19129ba616SKumar Gala 20129ba616SKumar Gala int num_law_entries = ARRAY_SIZE(law_table); 21