U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Leo Liang <ycliang@andestech.com>
To: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: <rick@andestech.com>, <u-boot@lists.denx.de>,
	<nazar.kazakov@codethink.co.uk>, <joseph.baker@codethink.co.uk>,
	<fran.redondo@codethink.co.uk>, <lawrence.hunter@codethink.co.uk>,
	<trini@konsulko.com>
Subject: Re: [PATCH v2 2/2] riscv: byteorder: add test for big-endian
Date: Thu, 3 Jul 2025 16:26:25 +0800	[thread overview]
Message-ID: <aGY-sWbhppwSUUTL@swlinux02> (raw)
In-Reply-To: <20250613161258.1805957-3-ben.dooks@codethink.co.uk>

On Fri, Jun 13, 2025 at 05:12:58PM +0100, Ben Dooks wrote:
> Test for big-endian either via __RISCVEB__ which migth be
> rather old, or check the BYTE_ORDER if the compiler defines
> it (which should be any modern gcc like v12)
> 
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> ---
>  arch/riscv/include/asm/byteorder.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Leo Yu-Chi Liang <ycliang@andestech.com>

      reply	other threads:[~2025-07-03  8:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-13 16:12 Add big-endian build option for riscv Ben Dooks
2025-06-13 16:12 ` [PATCH v2 1/2] riscv: add build support for big-endian Ben Dooks
2025-06-13 16:52   ` Tom Rini
2025-06-13 16:12 ` [PATCH v2 2/2] riscv: byteorder: add test " Ben Dooks
2025-07-03  8:26   ` 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=aGY-sWbhppwSUUTL@swlinux02 \
    --to=ycliang@andestech.com \
    --cc=ben.dooks@codethink.co.uk \
    --cc=fran.redondo@codethink.co.uk \
    --cc=joseph.baker@codethink.co.uk \
    --cc=lawrence.hunter@codethink.co.uk \
    --cc=nazar.kazakov@codethink.co.uk \
    --cc=rick@andestech.com \
    --cc=trini@konsulko.com \
    --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