ARM: move uEnv.txt content to BoardSetup file

That's really where it belongs. Not all boards will need it,
but for now it's always created.
This commit is contained in:
François Revol
2014-11-01 19:57:48 +01:00
parent 95e9515c4b
commit 564a073b01
2 changed files with 10 additions and 5 deletions
+9
View File
@@ -52,6 +52,15 @@ mloFile = [ DownloadFile $(HAIKU_BOARD_MLO_IMAGE)
ubootFile = [ DownloadFile $(HAIKU_BOARD_UBOOT_IMAGE)
: $(HAIKU_BOARD_UBOOT_IMAGE_URL) ] ;
# U-Boot environment
# We load the uImage 2MB above its final destination, bootm will decode
# it to the proper location. Our image is smaller than 2MB so this works.
#HAIKU_BOARD_SDIMAGE_UBOOT_UENV_NAME = uEnv.txt ;
HAIKU_BOARD_SDIMAGE_UBOOT_UENV = "uenvcmd=run loadImage; run mmcboot; \
loadImage=fatload mmc0 0 $(HAIKU_BOARD_LOADER_UIBASE) haiku_loader_nbsd.ub \
mmcboot=bootm $(HAIKU_BOARD_LOADER_UIBASE)" ;
HAIKU_BOARD_SDIMAGE_FILES =
$(mloFile)
$(ubootFile)