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

Extracted from work by Oleksandr Tymoshenko <go...@bluezbox.com>.

Signed-off-by: Stephen Warren <swar...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to