diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2019-06-19 11:12:19 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-07-26 08:09:16 +0200 |
commit | df0d555ea5a984ccfc2a493b63267a6e24d87c5b (patch) | |
tree | 7e5a5af51f54cb44744ce56515419ef2046d44b2 /package/firmware/layerscape/ls-rcw/patches/0001-Disable-byte-swapping.patch | |
parent | 316c8b5503e54cdb3ee5bd3b5d81a3b7dd139294 (diff) | |
download | upstream-df0d555ea5a984ccfc2a493b63267a6e24d87c5b.tar.gz upstream-df0d555ea5a984ccfc2a493b63267a6e24d87c5b.tar.bz2 upstream-df0d555ea5a984ccfc2a493b63267a6e24d87c5b.zip |
layerscape: convert to python3 for rcw
Python 2.7 will not be maintained past 2020. Let's convert
to python3 for rcw. Also drop byte swapping since TF-A had
been already used which handled byte swapping instead.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'package/firmware/layerscape/ls-rcw/patches/0001-Disable-byte-swapping.patch')
-rw-r--r-- | package/firmware/layerscape/ls-rcw/patches/0001-Disable-byte-swapping.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/package/firmware/layerscape/ls-rcw/patches/0001-Disable-byte-swapping.patch b/package/firmware/layerscape/ls-rcw/patches/0001-Disable-byte-swapping.patch new file mode 100644 index 0000000000..2ea260bfd4 --- /dev/null +++ b/package/firmware/layerscape/ls-rcw/patches/0001-Disable-byte-swapping.patch @@ -0,0 +1,44 @@ +From ef78dc0683a7f5ae80b27878a8a2f91d504e3290 Mon Sep 17 00:00:00 2001 +From: Yangbo Lu <yangbo.lu@nxp.com> +Date: Wed, 19 Jun 2019 10:50:29 +0800 +Subject: [PATCH 1/2] Disable byte swapping + +Because TF-A had already handled rcw byte swapping, the +byte swapping in rcw could be dropped. + +Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> +--- + Makefile | 4 ---- + Makefile.inc | 1 - + 2 files changed, 5 deletions(-) + +diff --git a/Makefile b/Makefile +index f697241..837b69e 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,10 +14,6 @@ TCLSH := $(shell command -v tclsh 2> /dev/null) + VER = $(shell git describe --tags) + + all install clean: +-ifndef TCLSH +- $(error "tclsh is not available. please install it.") +- exit 1 +-endif + @for board in $(BOARDS); do \ + $(MAKE) -C $$board $@ DESTDIR=$(DESTDIR)/$$board; \ + done +diff --git a/Makefile.inc b/Makefile.inc +index 87639bc..7d9a3d3 100644 +--- a/Makefile.inc ++++ b/Makefile.inc +@@ -17,7 +17,6 @@ targets = $(txt_sources:.txt=.bin) $(rcw_sources:.rcw=.bin) $(swap_sources) + $(RCW) -i $< -o $@ + + all: $(targets) +- $(QSPI_SWAP_SCRIPT) $(QSPI_SWAP_LIST) + + install: $(targets) + $(INSTALL) -d $(DESTDIR) +-- +2.7.4 + |