public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Leo Liang <ycliang@andestech.com>
To: Yixun Lan <dlan@gentoo.org>
Cc: <u-boot@lists.denx.de>, Rick Chen <rick@andestech.com>,
	Wei Fu <wefu@redhat.com>, Jisheng Zhang <jszhang@kernel.org>,
	Guo Ren <guoren@kernel.org>
Subject: Re: [RESEND PATCH v1 1/4] riscv: t-head: licheepi4a: initial support added
Date: Thu, 29 Jun 2023 02:55:16 +0000	[thread overview]
Message-ID: <ZJzyiViAPKWJp/G3@ubuntu01> (raw)
In-Reply-To: <20230526124107.894-2-dlan@gentoo.org>

Hi YiXun,
On Fri, May 26, 2023 at 08:41:04PM +0800, Yixun Lan wrote:
> Add support for Sipeed's Lichee Pi 4A board which based on
> T-HEAD's TH1520 SoC, only minimal device tree and serial onsole are enabled,
> so it's capable of chain booting from T-HEAD's vendor u-boot.
> 
> Reviewed-by: Wei Fu <wefu@redhat.com>
> Signed-off-by: Yixun Lan <dlan@gentoo.org>
> ...
> diff --git a/board/thead/th1520_lpi4a/board.c b/board/thead/th1520_lpi4a/board.c
> new file mode 100644
> index 0000000000..378bab098b
> --- /dev/null
> +++ b/board/thead/th1520_lpi4a/board.c
> @@ -0,0 +1,14 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * Copyright (c) 2023, Yixun Lan <dlan@gentoo.org>
> + *
> + */
> +
> +#include <common.h>
> +
> +int board_init(void)
> +{
> +	enable_caches();

There is a compilation warining here at "enable_caches"
(probably due to cpu_func.h not being included to provide this function)


Best regards,
Leo
> +
> +	return 0;
> +}

  parent reply	other threads:[~2023-06-29  2:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-26 12:41 [RESEND PATCH v1 0/4] riscv: Initial support for Lichee PI 4A board Yixun Lan
2023-05-26 12:41 ` [RESEND PATCH v1 1/4] riscv: t-head: licheepi4a: initial support added Yixun Lan
2023-05-27  1:45   ` Guo Ren
2023-05-27 10:51     ` Yixun Lan
2023-05-27  3:36   ` Guo Ren
2023-05-27 11:08     ` Yixun Lan
2023-05-29  1:12       ` Bin Meng
2023-05-29  3:10         ` Yixun Lan
2023-05-29  4:31           ` Bin Meng
2023-06-29  2:55   ` Leo Liang [this message]
2023-07-07 14:05     ` Yixun Lan
2023-05-26 12:41 ` [RESEND PATCH v1 2/4] riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board Yixun Lan
2023-05-27  1:43   ` Guo Ren
2023-05-27  9:17     ` Yixun Lan
2023-05-29  1:19       ` Guo Ren
2023-05-29  3:00         ` Yixun Lan
2023-05-29  6:50           ` Guo Ren
2023-05-29  7:54             ` Yixun Lan
2023-05-29  8:22               ` Guo Ren
2023-05-29  8:48                 ` Yixun Lan
2023-05-26 12:41 ` [RESEND PATCH v1 3/4] configs: th1520_lpi4a_defconfig: Add initial config Yixun Lan
2023-05-26 12:41 ` [RESEND PATCH v1 4/4] doc: t-head: lpi4a: document Lichee PI 4A board Yixun Lan
2023-06-29  2:59   ` Leo Liang

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=ZJzyiViAPKWJp/G3@ubuntu01 \
    --to=ycliang@andestech.com \
    --cc=dlan@gentoo.org \
    --cc=guoren@kernel.org \
    --cc=jszhang@kernel.org \
    --cc=rick@andestech.com \
    --cc=u-boot@lists.denx.de \
    --cc=wefu@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox