linux/arch/mips/sgi-ip22
Thomas Bogendoerfer c0de00b286
MIPS: SGI-IP22/28: Use PROM for memory detection
EARLY_PRINTK uses ArcWrite (via prom_putchar) on IP22/28, which needs
to not mess up PROMs data structures. ARC PROM gives out a list of
memory chunks, which are used and which are free. This fixes the
problem of not working early printk.

By using XKPHYS spaces more than 256MB memory on Indigo2 R4k machines
is working now, too.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
2019-10-09 14:55:57 -07:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Platform MIPS: ip22: Fix ip28 build for modern gcc 2017-01-25 02:51:11 +01:00
ip22-berr.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
ip22-eisa.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
ip22-gio.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
ip22-hpc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-int.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-mc.c MIPS: SGI-IP22/28: Use PROM for memory detection 2019-10-09 14:55:57 -07:00
ip22-nvram.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-platform.c MIPS: SGI-IP22: provide missing dma_mask/coherent_dma_mask 2019-05-13 12:02:55 -07:00
ip22-reset.c mips: ip22/32: Convert timers to use timer_setup() 2017-11-02 15:50:36 -07:00
ip22-setup.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-time.c mips: Use the core irq stats function 2014-03-04 17:37:53 +01:00
ip28-berr.c MIPS: ip22: Drop addr_is_ram 2019-08-23 14:47:18 +01:00