]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-bcm283x/phys2bus.c
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / arch / arm / mach-bcm283x / phys2bus.c
index fc1c29905de39db7aa34d3b81258c460ac49e188..8e4318bf5fdc42b1701e6684090631d8d13a03d4 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2015 Stephen Warren
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 #include <config.h>
@@ -9,7 +8,7 @@
 
 unsigned long phys_to_bus(unsigned long phys)
 {
-#ifdef CONFIG_BCM2836
+#ifndef CONFIG_BCM2835
        return 0xc0000000 | phys;
 #else
        return 0x40000000 | phys;