blob: ccfe4a24104aae9024806ab7cb6108a4add0c95c [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Prabhakar Kushwaha63956d52012-04-24 20:17:15 +00002/*
3 * Copyright 2011-2012 Freescale Semiconductor, Inc.
Prabhakar Kushwaha63956d52012-04-24 20:17:15 +00004 */
5
6#include <common.h>
7#include <asm/fsl_law.h>
8#include <asm/mmu.h>
9
10struct law_entry law_table[] = {
11 SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_IFC),
Priyanka Jainf81e8b22013-04-04 09:31:54 +053012 SET_LAW(CONFIG_SYS_FSL_DSP_CCSRBAR_PHYS, LAW_SIZE_1M,
13 LAW_TRGT_IF_DSP_CCSR),
14 SET_LAW(CONFIG_SYS_FSL_DSP_M2_RAM_ADDR, LAW_SIZE_16M,
15 LAW_TRGT_IF_OCN_DSP),
Prabhakar Kushwaha63956d52012-04-24 20:17:15 +000016};
17
18int num_law_entries = ARRAY_SIZE(law_table);