blob: 19b7430fbad9336b5f5f191949b2bafa42b3c93a [file] [log] [blame]
Prabhakar Kushwaha7530d342012-04-24 20:17:15 +00001/*
2 * Copyright 2011-2012 Freescale Semiconductor, Inc.
3 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Prabhakar Kushwaha7530d342012-04-24 20:17:15 +00005 */
6
7#include <common.h>
8#include <asm/fsl_law.h>
9#include <asm/mmu.h>
10
11struct law_entry law_table[] = {
12 SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_IFC),
Priyanka Jain765b0bd2013-04-04 09:31:54 +053013 SET_LAW(CONFIG_SYS_FSL_DSP_CCSRBAR_PHYS, LAW_SIZE_1M,
14 LAW_TRGT_IF_DSP_CCSR),
15 SET_LAW(CONFIG_SYS_FSL_DSP_M2_RAM_ADDR, LAW_SIZE_16M,
16 LAW_TRGT_IF_OCN_DSP),
Prabhakar Kushwaha7530d342012-04-24 20:17:15 +000017};
18
19int num_law_entries = ARRAY_SIZE(law_table);