diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-04-07 10:11:18 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2014-04-20 13:16:42 +0200 |
commit | 11a932fb18a497fc1b9ad0c4c0e3c5969e455a42 (patch) | |
tree | 99c128128e5d90ad04e6df89291773f03e0d6a10 /arch/mips/lib/io.c | |
parent | 186d8159f662e8b4964dca3ff5c87f06cf290a82 (diff) |
MIPS: move mips_io_port_base out of board.c
Move the definition of this variable out of arch/mips/lib/board.c in
preparation for allowing use of generic board on MIPS, which will lead
to this file not being compiled.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/lib/io.c')
-rw-r--r-- | arch/mips/lib/io.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/mips/lib/io.c b/arch/mips/lib/io.c new file mode 100644 index 0000000000..b2d4a094da --- /dev/null +++ b/arch/mips/lib/io.c @@ -0,0 +1,12 @@ +/* + * (C) Copyright 2003 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +/* + * mips_io_port_base is the begin of the address space to which x86 style + * I/O ports are mapped. + */ +const unsigned long mips_io_port_base = -1; |