Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / sys / arch / arm / omap / omap_reg.h
blobf7f26986affc7322d27eee5f35922037cfe3f346
1 /* $NetBSD: $ */
3 /*
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain this list of conditions
8 * and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce this list of conditions
10 * and the following disclaimer in the documentation and/or other materials
11 * provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
14 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
15 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANY
16 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
17 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
18 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
19 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
20 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
21 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
22 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 #ifndef _ARM_OMAP_OMAP_REG_H_
26 #define _ARM_OMAP_OMAP_REG_H_
28 #include "opt_omap.h"
30 #ifndef MEMSIZE
31 #error Specify the amount of SDRAM in megabytes with the MEMSIZE option.
32 #endif
33 #define MEMSIZE_BYTES (MEMSIZE * 1024 * 1024)
35 #ifndef OMAP_TIPB_PBASE
36 #error Specify the TIPB physical address with the OMAP_TIPB_PBASE option.
37 #endif
38 #ifndef OMAP_TIPB_SIZE
39 #error Specify the TIPB size with the OMAP_TIPB_SIZE option.
40 #endif
42 #endif /* _ARM_OMAP_OMAP_REG_H_ */