uboot-mediatek: don't rely in 'lzma' cmdline

Use 'xz --format=lzma' instead.
Fixes build for mt7629.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2021-03-18 04:18:05 +00:00
parent 42d943f40a
commit 81edc842f6
No known key found for this signature in database
GPG Key ID: 5A8F39C31C3217CA
2 changed files with 11 additions and 5 deletions

View File

@ -7,8 +7,6 @@ Subject: [PATCH] ahci: mediatek: fix missing dev_err definition
drivers/ata/mtk_ahci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ata/mtk_ahci.c b/drivers/ata/mtk_ahci.c
index 554175bc00..2c5227df30 100644
--- a/drivers/ata/mtk_ahci.c
+++ b/drivers/ata/mtk_ahci.c
@@ -21,6 +21,7 @@
@ -19,6 +17,3 @@ index 554175bc00..2c5227df30 100644
#define SYS_CFG 0x14
#define SYS_CFG_SATA_MSK GENMASK(31, 30)
--
2.30.2

View File

@ -0,0 +1,11 @@
--- a/Makefile
+++ b/Makefile
@@ -1008,7 +1008,7 @@ quiet_cmd_pad_cat = CAT $@
cmd_pad_cat = $(cmd_objcopy) && $(append) || { rm -f $@; false; }
quiet_cmd_lzma = LZMA $@
-cmd_lzma = lzma -c -z -k -9 $< > $@
+cmd_lzma = xz --format=lzma -c -z -k -9 $< > $@
cfg: u-boot.cfg