Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/rpi Need to map 512MB for some RPIs
details: https://anonhg.NetBSD.org/src/rev/c0dfe1dae114
branches: trunk
changeset: 358480:c0dfe1dae114
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 01 11:28:33 2018 +0000
description:
Need to map 512MB for some RPIs
diffstat:
sys/arch/evbarm/rpi/rpi_start.S | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 14ffda944295 -r c0dfe1dae114 sys/arch/evbarm/rpi/rpi_start.S
--- a/sys/arch/evbarm/rpi/rpi_start.S Mon Jan 01 08:33:28 2018 +0000
+++ b/sys/arch/evbarm/rpi/rpi_start.S Mon Jan 01 11:28:33 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpi_start.S,v 1.15 2017/12/10 21:38:27 skrll Exp $ */
+/* $NetBSD: rpi_start.S,v 1.16 2018/01/01 11:28:33 skrll Exp $ */
/*
* Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved.
@@ -95,7 +95,7 @@
#include <arm/armreg.h>
#include "assym.h"
-RCSID("$NetBSD: rpi_start.S,v 1.15 2017/12/10 21:38:27 skrll Exp $")
+RCSID("$NetBSD: rpi_start.S,v 1.16 2018/01/01 11:28:33 skrll Exp $")
#if defined(VERBOSE_INIT_ARM)
@@ -353,10 +353,10 @@
mmu_init_table:
/*
- * Map 256MB of VA==PA at 0x00000000 so we can keep the kernel going
+ * Map 512MB of VA==PA at 0x00000000 so we can keep the kernel going
* and get access to the FDT the firmware loads
*/
- MMU_INIT(0x0, 0x0, 0x10000000, L1_S_PROTO | L1_S_APv6_KRW)
+ MMU_INIT(0x0, 0x0, (512 * 1024 * 1204), L1_S_PROTO | L1_S_APv6_KRW)
MMU_INIT(KERNEL_BASE, 0x0,
(_end - KERNEL_BASE + 2 * L1_S_SIZE - 1),
Home |
Main Index |
Thread Index |
Old Index