]> git.sur5r.net Git - u-boot/blob - board/freescale/mpc8548cds/law.c
5578fc2c9a7a1ce028eb4c7795e521d06c075817
[u-boot] / board / freescale / mpc8548cds / law.c
1 /*
2  * Copyright 2008,2010-2011 Freescale Semiconductor, Inc.
3  *
4  * (C) Copyright 2000
5  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6  *
7  * SPDX-License-Identifier:     GPL-2.0+
8  */
9
10 #include <common.h>
11 #include <asm/fsl_law.h>
12 #include <asm/mmu.h>
13
14 struct law_entry law_table[] = {
15         /* LBC window - maps 256M */
16         SET_LAW(CONFIG_SYS_LBC_SDRAM_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC),
17 };
18
19 int num_law_entries = ARRAY_SIZE(law_table);