From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: Weijie Gao <weijie.gao@mediatek.com>, u-boot@lists.denx.de
Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
"Pali Rohár" <pali@kernel.org>,
"Marek Behún" <marek.behun@nic.cz>, "Stefan Roese" <sr@denx.de>
Subject: Re: [PATCH v5 22/25] spl: spl_legacy: fix the use of SPL_COPY_PAYLOAD_ONLY
Date: Wed, 18 May 2022 00:00:12 +0200 [thread overview]
Message-ID: <0179e4da-e5c0-d9e8-e692-040ab0512c40@gmail.com> (raw)
In-Reply-To: <093468ebfdc4dbb38758ebceee3fc102bdef71c4.1652667687.git.weijie.gao@mediatek.com>
On 16.05.22 04:44, Weijie Gao wrote:
> If the payload is compressed, SPL_COPY_PAYLOAD_ONLY should always be set
> since the payload will not be directly read to its load address. The
> payload will first be read to a temporary buffer, and then be decompressed
> to its load address, without image header.
>
> If the payload is not compressed, and SPL_COPY_PAYLOAD_ONLY is set, image
> header should be skipped on loading. Otherwise image header should also be
> read to its load address.
>
> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
> ---
> v5 changes: none
> v4 changes: new
> ---
> common/spl/spl_legacy.c | 21 +++++++++++++++++++--
> 1 file changed, 19 insertions(+), 2 deletions(-)
>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
--
- Daniel
next prev parent reply other threads:[~2022-05-17 22:00 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-16 2:41 [PATCH v5 00/25] Add support for MediaTek MT7621 SoC - v5 Weijie Gao
2022-05-16 2:42 ` [PATCH v5 01/25] mips: add asm/mipsmtregs.h for MIPS multi-threading Weijie Gao
2022-05-17 20:52 ` Daniel Schwierzeck
2022-05-16 2:42 ` [PATCH v5 02/25] mips: add more definitions for asm/cm.h Weijie Gao
2022-05-17 20:52 ` Daniel Schwierzeck
2022-05-16 2:42 ` [PATCH v5 03/25] mips: add __image_copy_len for SPL linker script Weijie Gao
2022-05-17 20:52 ` Daniel Schwierzeck
2022-05-16 2:42 ` [PATCH v5 04/25] mips: add support for noncached_alloc() Weijie Gao
2022-05-17 20:53 ` Daniel Schwierzeck
2022-05-16 2:42 ` [PATCH v5 05/25] mips: mtmips: add support for MediaTek MT7621 SoC Weijie Gao
2022-05-17 21:39 ` Daniel Schwierzeck
2022-05-18 2:01 ` Weijie Gao
2022-05-16 2:42 ` [PATCH v5 06/25] mips: mtmips: add two reference boards for mt7621 Weijie Gao
2022-05-17 21:43 ` Daniel Schwierzeck
2022-05-16 2:42 ` [PATCH v5 07/25] doc: mediatek: add documentation for mt7621 reference boards Weijie Gao
2022-05-17 21:46 ` Daniel Schwierzeck
2022-05-16 2:42 ` [PATCH v5 08/25] clk: mtmips: add clock driver for MediaTek MT7621 SoC Weijie Gao
2022-05-19 13:32 ` Sean Anderson
2022-05-16 2:42 ` [PATCH v5 09/25] reset: mtmips: add reset controller support " Weijie Gao
2022-05-16 2:43 ` [PATCH v5 10/25] pinctrl: mtmips: add " Weijie Gao
2022-05-17 21:49 ` Daniel Schwierzeck
2022-05-16 2:43 ` [PATCH v5 11/25] usb: xhci-mtk: " Weijie Gao
2022-05-16 2:43 ` [PATCH v5 12/25] phy: mtk-tphy: " Weijie Gao
2022-05-16 2:43 ` [PATCH v5 13/25] spi: " Weijie Gao
2022-05-16 2:43 ` [PATCH v5 14/25] gpio: " Weijie Gao
2022-05-16 2:43 ` [PATCH v5 15/25] watchdog: " Weijie Gao
2022-05-16 2:43 ` [PATCH v5 16/25] mmc: mediatek: " Weijie Gao
2022-05-16 2:43 ` [PATCH v5 17/25] net: mediatek: remap iobase address Weijie Gao
2022-05-16 2:43 ` [PATCH v5 18/25] net: mediatek: use regmap api to modify ethsys registers Weijie Gao
2022-05-17 21:51 ` Daniel Schwierzeck
2022-05-16 2:43 ` [PATCH v5 19/25] net: mediatek: add support for MediaTek MT7621 SoC Weijie Gao
2022-05-16 2:44 ` [PATCH v5 20/25] nand: raw: " Weijie Gao
2022-05-16 2:44 ` [PATCH v5 21/25] spl: allow using nand base without standard nand driver Weijie Gao
2022-05-16 2:44 ` [PATCH v5 22/25] spl: spl_legacy: fix the use of SPL_COPY_PAYLOAD_ONLY Weijie Gao
2022-05-17 22:00 ` Daniel Schwierzeck [this message]
2022-05-16 2:44 ` [PATCH v5 23/25] spl: nand: support loading legacy image with payload compressed Weijie Gao
2022-05-17 22:02 ` Daniel Schwierzeck
2022-05-18 2:01 ` Weijie Gao
2022-05-16 2:44 ` [PATCH v5 24/25] tools: mtk_image: add support for MT7621 NAND images Weijie Gao
2022-05-17 22:06 ` Daniel Schwierzeck
2022-05-16 2:44 ` [PATCH v5 25/25] MAINTAINERS: update maintainer for MediaTek MIPS platform Weijie Gao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0179e4da-e5c0-d9e8-e692-040ab0512c40@gmail.com \
--to=daniel.schwierzeck@gmail.com \
--cc=GSS_MTK_Uboot_upstream@mediatek.com \
--cc=marek.behun@nic.cz \
--cc=pali@kernel.org \
--cc=sr@denx.de \
--cc=u-boot@lists.denx.de \
--cc=weijie.gao@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.