From: Leo Liang <ycliang@andestech.com>
To: Rick Chen <rick@andestech.com>
Cc: <samuel@sholland.org>, <rickchen36@gmail.com>, <u-boot@lists.denx.de>
Subject: Re: [PATCH v3 1/2] riscv: ax25: bypass malloc when spl fit boots from ram
Date: Tue, 31 Jan 2023 14:59:23 +0000 [thread overview]
Message-ID: <Y9ksyyLvWCVLzz5t@ubuntu01> (raw)
In-Reply-To: <20230104015543.29733-1-rick@andestech.com>
On Wed, Jan 04, 2023 at 09:55:43AM +0800, Rick Chen wrote:
> When fit image boots from ram, the payload will
> be prepared in the address of SPL_LOAD_FIT_ADDRESS.
> In spl fit generic flow, it will malloc another
> memory address and copy whole fit image to this
> malloc address. But it is un-necessary for booting
> from RAM.
>
> This patch improves this flow by declare the
> board_spl_fit_buffer_addr() to replace the original one.
> The larger image size (eq: Kernel Image 10~20MB), it
> can save more booting time.
>
> Signed-off-by: Rick Chen <rick@andestech.com>
> ---
> Changes in v3
> - fix aligment
> - refine board_spl_fit_buffer_addr
> ---
> arch/riscv/cpu/ax25/Makefile | 1 +
> arch/riscv/cpu/ax25/spl.c | 27 +++++++++++++++++++++++++++
> 2 files changed, 28 insertions(+)
> create mode 100644 arch/riscv/cpu/ax25/spl.c
>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
prev parent reply other threads:[~2023-01-31 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-04 1:55 [PATCH v3 1/2] riscv: ax25: bypass malloc when spl fit boots from ram Rick Chen
2023-01-31 14:59 ` Leo Liang [this message]
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=Y9ksyyLvWCVLzz5t@ubuntu01 \
--to=ycliang@andestech.com \
--cc=rick@andestech.com \
--cc=rickchen36@gmail.com \
--cc=samuel@sholland.org \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox