19490a7f1SKumar Gala /* 29490a7f1SKumar Gala * Copyright 2008 Freescale Semiconductor, Inc. 39490a7f1SKumar Gala * 49490a7f1SKumar Gala * (C) Copyright 2000 59490a7f1SKumar Gala * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 69490a7f1SKumar Gala * 7*1a459660SWolfgang Denk * SPDX-License-Identifier: GPL-2.0+ 89490a7f1SKumar Gala */ 99490a7f1SKumar Gala 109490a7f1SKumar Gala #include <common.h> 119490a7f1SKumar Gala #include <asm/fsl_law.h> 129490a7f1SKumar Gala #include <asm/mmu.h> 139490a7f1SKumar Gala 149490a7f1SKumar 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), 17c57fc289SJason Jin SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC), 189490a7f1SKumar Gala }; 199490a7f1SKumar Gala 209490a7f1SKumar Gala int num_law_entries = ARRAY_SIZE(law_table); 21