xref: /openbmc/u-boot/board/gdsys/p1022/law.c (revision a3b15a05)
1 /*
2  * Copyright 2010 Freescale Semiconductor, Inc.
3  * Authors: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
4  *          Timur Tabi <timur@freescale.com>
5  *
6  * SPDX-License-Identifier:	GPL-2.0+
7  */
8 
9 #include <common.h>
10 #include <asm/fsl_law.h>
11 #include <asm/mmu.h>
12 
13 struct law_entry law_table[] = {
14 	SET_LAW(CONFIG_SYS_ELBC_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC),
15 };
16 
17 int num_law_entries = ARRAY_SIZE(law_table);
18