0001-sifive-fu540-Set-default-arguments-to-help-booting.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. From 90c37e55fceae6e8fabf5da75ce37ed1c89c6631 Mon Sep 17 00:00:00 2001
  2. From: Alistair Francis <alistair.francis@wdc.com>
  3. Date: Wed, 17 Apr 2019 15:27:11 -0700
  4. Subject: [PATCH] sifive-fu540: Set default arguments to help booting
  5. Set some default args that will help us to autoboot. As the sifive-u540
  6. currently does not support SD/MMC accesses we can't use the standard
  7. uEnv.txt file to set extra variables.
  8. This patch should be removed and replaced with a standard uEnv.txt flow
  9. when u-boot can load defaults from the SD card.
  10. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
  11. Upstream-Status: Inappropriate [configuration]
  12. ---
  13. include/configs/sifive-fu540.h | 1 +
  14. 1 file changed, 1 insertion(+)
  15. diff --git a/include/configs/sifive-fu540.h b/include/configs/sifive-fu540.h
  16. index 7007b5f6af..07c6bfa178 100644
  17. --- a/include/configs/sifive-fu540.h
  18. +++ b/include/configs/sifive-fu540.h
  19. @@ -38,6 +38,7 @@
  20. "scriptaddr=0x82300000\0" \
  21. "pxefile_addr_r=0x82400000\0" \
  22. "ramdisk_addr_r=0x82500000\0" \
  23. + "serverip=@SERVERIP@\0" \
  24. BOOTENV
  25. #endif /* __CONFIG_H */
  26. --
  27. 2.21.0