Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner Oops fix PBASE for non-A80
details: https://anonhg.NetBSD.org/src/rev/75b42841c315
branches: trunk
changeset: 338666:75b42841c315
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jun 03 12:22:41 2015 +0000
description:
Oops fix PBASE for non-A80
diffstat:
sys/arch/arm/allwinner/awin_reg.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 2fee71d339da -r 75b42841c315 sys/arch/arm/allwinner/awin_reg.h
--- a/sys/arch/arm/allwinner/awin_reg.h Wed Jun 03 11:43:18 2015 +0000
+++ b/sys/arch/arm/allwinner/awin_reg.h Wed Jun 03 12:22:41 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_reg.h,v 1.77 2015/06/03 11:38:33 skrll Exp $ */
+/* $NetBSD: awin_reg.h,v 1.78 2015/06/03 12:22:41 skrll Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -164,7 +164,11 @@
#define AWIN_DE_BE0_OFFSET 0x00260000
#define AWIN_MP_OFFSET 0x00280000
#define AWIN_AVG_OFFSET 0x002A0000
+#if defined(ALLWINNER_A80)
#define AWIN_SDRAM_PBASE 0x20000000
+#else
+#define AWIN_SDRAM_PBASE 0x40000000
+#endif
/* A10/A20 SRAM Controller */
#define AWIN_SRAM_CTL0_REG 0x0000
Home |
Main Index |
Thread Index |
Old Index