Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 05:29:45 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r280892 - head/sys/powerpc/booke
Message-ID:  <201503310529.t2V5TjIM061756@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Tue Mar 31 05:29:44 2015
New Revision: 280892
URL: https://svnweb.freebsd.org/changeset/base/280892

Log:
  CCSRBAR_VA is mpc85xx-specific, so add guards, and include the proper header
  file for it.
  
  MFC after:	1 month

Modified:
  head/sys/powerpc/booke/machdep.c

Modified: head/sys/powerpc/booke/machdep.c
==============================================================================
--- head/sys/powerpc/booke/machdep.c	Tue Mar 31 05:26:30 2015	(r280891)
+++ head/sys/powerpc/booke/machdep.c	Tue Mar 31 05:29:44 2015	(r280892)
@@ -141,6 +141,10 @@ __FBSDID("$FreeBSD$");
 #include <dev/fdt/fdt_common.h>
 #include <dev/ofw/openfirm.h>
 
+#ifdef MPC85XX
+#include <powerpc/mpc85xx/mpc85xx.h>
+#endif
+
 #ifdef DDB
 #include <ddb/ddb.h>
 #endif
@@ -464,7 +468,9 @@ booke_init(uint32_t arg1, uint32_t arg2)
 	debugf(" arg3 mdp = 0x%08x\n", (u_int32_t)mdp);
 	debugf(" end = 0x%08x\n", (u_int32_t)end);
 	debugf(" boothowto = 0x%08x\n", boothowto);
+#ifdef MPC85XX
 	debugf(" kernel ccsrbar = 0x%08x\n", CCSRBAR_VA);
+#endif
 	debugf(" MSR = 0x%08x\n", mfmsr());
 #if defined(BOOKE_E500)
 	debugf(" HID0 = 0x%08x\n", mfspr(SPR_HID0));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503310529.t2V5TjIM061756>