2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2008-01-16 07:45:10 +00:00
|
|
|
/*
|
2011-01-04 23:57:59 +00:00
|
|
|
* Copyright 2008,2010-2011 Freescale Semiconductor, Inc.
|
2008-01-16 07:45:10 +00:00
|
|
|
*
|
|
|
|
* (C) Copyright 2000
|
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <asm/fsl_law.h>
|
|
|
|
#include <asm/mmu.h>
|
|
|
|
|
|
|
|
struct law_entry law_table[] = {
|
2011-10-13 05:40:59 +00:00
|
|
|
/* LBC window - maps 256M */
|
|
|
|
SET_LAW(CONFIG_SYS_LBC_SDRAM_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC),
|
2008-01-16 07:45:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
int num_law_entries = ARRAY_SIZE(law_table);
|