1*83d290c5STom Rini // SPDX-License-Identifier: GPL-2.0+ 22cfaa1aaSKumar Gala /* 38b47d7ecSKumar Gala * Copyright 2008,2010-2011 Freescale Semiconductor, Inc. 42cfaa1aaSKumar Gala * 52cfaa1aaSKumar Gala * (C) Copyright 2000 62cfaa1aaSKumar Gala * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 72cfaa1aaSKumar Gala */ 82cfaa1aaSKumar Gala 92cfaa1aaSKumar Gala #include <common.h> 102cfaa1aaSKumar Gala #include <asm/fsl_law.h> 112cfaa1aaSKumar Gala #include <asm/mmu.h> 122cfaa1aaSKumar Gala 132cfaa1aaSKumar Gala struct law_entry law_table[] = { 14fff80975Schenhui zhao /* LBC window - maps 256M */ 15fff80975Schenhui zhao SET_LAW(CONFIG_SYS_LBC_SDRAM_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC), 162cfaa1aaSKumar Gala }; 172cfaa1aaSKumar Gala 182cfaa1aaSKumar Gala int num_law_entries = ARRAY_SIZE(law_table); 19