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