blob: 2334870fda0813b1862451c36b103e0f774fb0a3 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Kumar Gala35b2b092008-01-16 01:45:10 -06002/*
Kumar Galaad4e9d42011-01-04 17:57:59 -06003 * Copyright 2008,2010-2011 Freescale Semiconductor, Inc.
Kumar Gala35b2b092008-01-16 01:45:10 -06004 *
5 * (C) Copyright 2000
6 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Kumar Gala35b2b092008-01-16 01:45:10 -06007 */
8
Tom Rinidec7ea02024-05-20 13:35:03 -06009#include <config.h>
Kumar Gala35b2b092008-01-16 01:45:10 -060010#include <asm/fsl_law.h>
11#include <asm/mmu.h>
12
Kumar Gala35b2b092008-01-16 01:45:10 -060013struct law_entry law_table[] = {
chenhui zhaoe97171e2011-10-13 13:40:59 +080014 /* LBC window - maps 256M */
Tom Rini6a5dccc2022-11-16 13:10:41 -050015 SET_LAW(CFG_SYS_LBC_SDRAM_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC),
Kumar Gala35b2b092008-01-16 01:45:10 -060016};
17
18int num_law_entries = ARRAY_SIZE(law_table);