From fb005d688ea2955df89279d75499fca26e2f6f00 Mon Sep 17 00:00:00 2001 From: Tomasz Maciej Nowak <tomek_n@o2.pl> Date: Sat, 11 May 2019 19:37:30 +0200 Subject: mvebu: image: introduce BOOT_SCRIPT variable All of U-Boot scripts repeat the same pattern with only Device Tree blob name changing for respective device. Therefore create generic scripts which will be altered on demad by image build process, and create BOOT_SCRIPT variable which can be added to device recipe and will allow referencing the same script by many device recipes. This will allow to slim down the ammount of files in buildroot tree and avoid needlessly incrementing amount of boot scripts if new devices will be added. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl> --- target/linux/mvebu/image/globalscale-espressobin.bootscript | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 target/linux/mvebu/image/globalscale-espressobin.bootscript (limited to 'target/linux/mvebu/image/globalscale-espressobin.bootscript') diff --git a/target/linux/mvebu/image/globalscale-espressobin.bootscript b/target/linux/mvebu/image/globalscale-espressobin.bootscript deleted file mode 100644 index 0d03ac8513..0000000000 --- a/target/linux/mvebu/image/globalscale-espressobin.bootscript +++ /dev/null @@ -1,10 +0,0 @@ -setenv bootargs "root=PARTUUID=@ROOT@-02 rw rootwait" - -if test -n "${console}"; then - setenv bootargs "${bootargs} ${console}" -fi - -load mmc 0:1 ${fdt_addr} armada-3720-espressobin.dtb -load mmc 0:1 ${kernel_addr} Image - -booti ${kernel_addr} - ${fdt_addr} -- cgit v1.2.3