Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi Remove unused defines



details:   https://anonhg.NetBSD.org/src/rev/b6f49775194b
branches:  trunk
changeset: 825114:b6f49775194b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Jun 30 09:05:52 2017 +0000

description:
Remove unused defines

diffstat:

 sys/arch/arm/sunxi/sunxi_platform.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 7f6ce3f95044 -r b6f49775194b sys/arch/arm/sunxi/sunxi_platform.c
--- a/sys/arch/arm/sunxi/sunxi_platform.c       Fri Jun 30 08:10:50 2017 +0000
+++ b/sys/arch/arm/sunxi/sunxi_platform.c       Fri Jun 30 09:05:52 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_platform.c,v 1.1 2017/06/28 23:51:29 jmcneill Exp $ */
+/* $NetBSD: sunxi_platform.c,v 1.2 2017/06/30 09:05:52 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
 #include "opt_fdt_arm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_platform.c,v 1.1 2017/06/28 23:51:29 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_platform.c,v 1.2 2017/06/30 09:05:52 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -67,10 +67,6 @@
 #define        SUN8I_WDT_MODE          0x18
 #define         SUN8I_WDT_MODE_EN      1
 
-#define        SUN8I_CPUCFG_BASE       0x01f01c00
-#define        SUN8I_CPUCFG_SIZE       0x400
-#define        SUN8I_PRCM_BASE         0x01f01400
-#define        SUN8I_PRCM_SIZE         0x800
 
 #define        DEVMAP_ALIGN(a) ((a) & ~L1_S_OFFSET)
 #define        DEVMAP_SIZE(s)  roundup2((s), L1_S_SIZE)



Home | Main Index | Thread Index | Old Index