[PATCH 06/12] ARM: rpi_b: set bi_boot_params

Stephen Warren swarren at wwwdotorg.org
Tue Jul 3 22:02:49 EDT 2012


This defines where ATAGs will be written to when booting a Linux kernel.

Extracted from work by Oleksandr Tymoshenko <gonzo at bluezbox.com>.

Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
---
 board/raspberrypi/rpi_b/rpi_b.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/raspberrypi/rpi_b/rpi_b.c b/board/raspberrypi/rpi_b/rpi_b.c
index f39440f..26df74b 100644
--- a/board/raspberrypi/rpi_b/rpi_b.c
+++ b/board/raspberrypi/rpi_b/rpi_b.c
@@ -28,5 +28,7 @@ int dram_init(void)
 
 int board_init(void)
 {
+	gd->bd->bi_boot_params = 0x100;
+
 	return 0;
 }
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list