]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
roms: Added git submodule for u-boot-sam460 (firmware for sam460ex)
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 2 Mar 2018 11:50:14 +0000 (12:50 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 6 Mar 2018 02:16:29 +0000 (13:16 +1100)
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
.gitmodules
roms/Makefile
roms/u-boot-sam460ex [new submodule]

index 7a8282df4668b99f126e139145b65b20998c5242..b76fb450a4600a562c7d1e9bb362a1f63aa0040d 100644 (file)
@@ -43,3 +43,6 @@
 [submodule "roms/seabios-hppa"]
        path = roms/seabios-hppa
        url = git://github.com/hdeller/seabios-hppa.git
+[submodule "roms/u-boot-sam460ex"]
+       path = roms/u-boot-sam460ex
+       url = git://github.com/zbalaton/u-boot-sam460ex
index b5e5a69e910052681230e752ff89e422f356decd..02b69fbac835a63d0072ce72f7331ff5e43ccdda 100644 (file)
@@ -65,6 +65,7 @@ default:
        @echo "  slof           -- update slof.bin"
        @echo "  skiboot        -- update skiboot.lid"
        @echo "  u-boot.e500    -- update u-boot.e500"
+       @echo "  u-boot.sam460  -- update u-boot.sam460"
 
 bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k
        cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin
@@ -147,6 +148,11 @@ u-boot.e500:
        $(powerpc_cross_prefix)strip u-boot/build.e500/u-boot -o \
                ../pc-bios/u-boot.e500
 
+u-boot.sam460:
+       $(MAKE) -C u-boot-sam460ex Sam460ex_config
+       $(MAKE) -C u-boot-sam460ex CROSS_COMPILE=$(powerpc_cross_prefix)
+       cp u-boot-sam460ex/u-boot.bin ../pc-bios/u-boot-sam460-20100605.bin
+
 skiboot:
        $(MAKE) -C skiboot CROSS=$(powerpc64_cross_prefix)
        cp skiboot/skiboot.lid ../pc-bios/skiboot.lid
@@ -160,4 +166,5 @@ clean:
        $(MAKE) -C ipxe/src veryclean
        $(MAKE) -C SLOF clean
        rm -rf u-boot/build.e500
+       $(MAKE) -C u-boot-sam460ex distclean
        $(MAKE) -C skiboot clean
diff --git a/roms/u-boot-sam460ex b/roms/u-boot-sam460ex
new file mode 160000 (submodule)
index 0000000..119aa27
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 119aa277f74a4a2d3f7ab6c9471292308eba14e4