2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2010-06-14 20:28:24 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2010 Freescale Semiconductor, Inc.
|
|
|
|
* Authors: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
|
|
|
|
* Timur Tabi <timur@freescale.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <asm/fsl_law.h>
|
|
|
|
#include <asm/mmu.h>
|
|
|
|
|
|
|
|
struct law_entry law_table[] = {
|
|
|
|
SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC),
|
|
|
|
SET_LAW(PIXIS_BASE_PHYS, LAW_SIZE_4K, LAW_TRGT_IF_LBC),
|
2013-02-18 10:02:19 +00:00
|
|
|
SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_32K, LAW_TRGT_IF_LBC),
|
2010-06-14 20:28:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
int num_law_entries = ARRAY_SIZE(law_table);
|