From: Andrei Gherzan <and...@balena.io> Signed-off-by: Andrei Gherzan <and...@balena.io> --- arch/arm/mach-bcm283x/include/mach/sdhci.h | 4 ++++ arch/arm/mach-bcm283x/include/mach/timer.h | 4 ++++ arch/arm/mach-bcm283x/include/mach/wdog.h | 4 ++++ 3 files changed, 12 insertions(+)
diff --git a/arch/arm/mach-bcm283x/include/mach/sdhci.h b/arch/arm/mach-bcm283x/include/mach/sdhci.h index 5cb6ec3340..262b016a1b 100644 --- a/arch/arm/mach-bcm283x/include/mach/sdhci.h +++ b/arch/arm/mach-bcm283x/include/mach/sdhci.h @@ -7,7 +7,11 @@ #define _BCM2835_SDHCI_H_ #ifndef CONFIG_BCM2835 +#ifdef CONFIG_BCM2838 +#define BCM2835_SDHCI_BASE 0xfe300000 +#else #define BCM2835_SDHCI_BASE 0x3f300000 +#endif #else #define BCM2835_SDHCI_BASE 0x20300000 #endif diff --git a/arch/arm/mach-bcm283x/include/mach/timer.h b/arch/arm/mach-bcm283x/include/mach/timer.h index 56b0c356bb..dc3ed98879 100644 --- a/arch/arm/mach-bcm283x/include/mach/timer.h +++ b/arch/arm/mach-bcm283x/include/mach/timer.h @@ -7,7 +7,11 @@ #define _BCM2835_TIMER_H #ifndef CONFIG_BCM2835 +#ifdef CONFIG_BCM2838 +#define BCM2835_TIMER_PHYSADDR 0xfe003000 +#else #define BCM2835_TIMER_PHYSADDR 0x3f003000 +#endif #else #define BCM2835_TIMER_PHYSADDR 0x20003000 #endif diff --git a/arch/arm/mach-bcm283x/include/mach/wdog.h b/arch/arm/mach-bcm283x/include/mach/wdog.h index 99c88e5df7..ef040f385d 100644 --- a/arch/arm/mach-bcm283x/include/mach/wdog.h +++ b/arch/arm/mach-bcm283x/include/mach/wdog.h @@ -7,7 +7,11 @@ #define _BCM2835_WDOG_H #ifndef CONFIG_BCM2835 +#ifdef CONFIG_BCM2838 +#define BCM2835_WDOG_PHYSADDR 0xfe100000 +#else #define BCM2835_WDOG_PHYSADDR 0x3f100000 +#endif #else #define BCM2835_WDOG_PHYSADDR 0x20100000 #endif -- 2.22.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot