From 3f2546b2ef55b661fd8dd69682b38992225e86f6 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Mon, 29 Apr 2019 01:17:54 +0100 Subject: Initial import of qemu-2.4.1 --- roms/u-boot/board/gdsys/p1022/law.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 roms/u-boot/board/gdsys/p1022/law.c (limited to 'roms/u-boot/board/gdsys/p1022/law.c') diff --git a/roms/u-boot/board/gdsys/p1022/law.c b/roms/u-boot/board/gdsys/p1022/law.c new file mode 100644 index 00000000..96f38f7c --- /dev/null +++ b/roms/u-boot/board/gdsys/p1022/law.c @@ -0,0 +1,20 @@ +/* + * Copyright 2010 Freescale Semiconductor, Inc. + * Authors: Srikanth Srinivasan + * Timur Tabi + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + */ + +#include +#include +#include + +struct law_entry law_table[] = { + SET_LAW(CONFIG_SYS_ELBC_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC), +}; + +int num_law_entries = ARRAY_SIZE(law_table); -- cgit v1.2.3