[PATCH] arm: apple: Remove CONFIG_SYS_SDRAM_BASE

The memory layout is taken from the device tree passed to us by m1n1, so there is no need to define this.
Signed-off-by: Mark Kettenis kettenis@openbsd.org --- include/configs/apple.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/configs/apple.h b/include/configs/apple.h index b1f6043174..112724883b 100644 --- a/include/configs/apple.h +++ b/include/configs/apple.h @@ -3,8 +3,6 @@
#include <linux/sizes.h>
-#define CONFIG_SYS_SDRAM_BASE 0x880000000 - #define CONFIG_LNX_KRNL_IMG_TEXT_OFFSET_BASE CONFIG_SYS_TEXT_BASE
/* Environment */

On Sun, 14 Nov 2021 at 05:10, Mark Kettenis kettenis@openbsd.org wrote:
The memory layout is taken from the device tree passed to us by m1n1, so there is no need to define this.
Signed-off-by: Mark Kettenis kettenis@openbsd.org
include/configs/apple.h | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org Tested-on: Apple M1 Macbook Tested-by: Simon Glass sjg@chromium.org

On Sun, Nov 14, 2021 at 01:09:54PM +0100, Mark Kettenis wrote:
The memory layout is taken from the device tree passed to us by m1n1, so there is no need to define this.
Signed-off-by: Mark Kettenis kettenis@openbsd.org Reviewed-by: Simon Glass sjg@chromium.org Tested-by: Simon Glass sjg@chromium.org
Applied to u-boot/next, thanks!
participants (3)
-
Mark Kettenis
-
Simon Glass
-
Tom Rini