blob: d1943889915297f815c19794e72817a6692d49c8 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Kumar Gala2cfaa1a2008-01-16 01:45:10 -06002/*
Kumar Gala8b47d7e2011-01-04 17:57:59 -06003 * Copyright 2008,2010-2011 Freescale Semiconductor, Inc.
Kumar Gala2cfaa1a2008-01-16 01:45:10 -06004 *
5 * (C) Copyright 2000
6 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Kumar Gala2cfaa1a2008-01-16 01:45:10 -06007 */
8
9#include <common.h>
10#include <asm/fsl_law.h>
11#include <asm/mmu.h>
12
Kumar Gala2cfaa1a2008-01-16 01:45:10 -060013struct law_entry law_table[] = {
chenhui zhaofff80972011-10-13 13:40:59 +080014 /* LBC window - maps 256M */
15 SET_LAW(CONFIG_SYS_LBC_SDRAM_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC),
Kumar Gala2cfaa1a2008-01-16 01:45:10 -060016};
17
18int num_law_entries = ARRAY_SIZE(law_table);