All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: u-boot@lists.denx.de, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Subject: Re: [PATCH] bmips: Add Inteno XG6846 board
Date: Wed, 20 Sep 2023 10:22:52 -0400	[thread overview]
Message-ID: <20230920142252.GO305624@bill-the-cat> (raw)
In-Reply-To: <20230920074225.1130769-1-linus.walleij@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 2196 bytes --]

On Wed, Sep 20, 2023 at 09:42:25AM +0200, Linus Walleij wrote:

> This adds support for the Inteno XG6846 board based on the
> Broadcom MIPS 6328 SoC.
> 
> The default boot will read a uImage from flash and boot it.
> 
> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[snip]
> diff --git a/arch/mips/dts/inteno,xg6846.dts b/arch/mips/dts/inteno,xg6846.dts
> new file mode 100644
> index 000000000000..180cfdcac9d4
> --- /dev/null
> +++ b/arch/mips/dts/inteno,xg6846.dts
> @@ -0,0 +1,57 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * Copyright (C) 2023 Linus Walleij <linusw@kernel.org>
> + *
> + * This is a diet version of the device tree from Linux,
> + * suitable for U-Boot.
> + */

We shouldn't need a diet version of the tree.  If it's reasonably done
and stable in the kernel, we can even move towards just passing the
U-Boot tree along to Linux.

> diff --git a/board/inteno/xg6846/Kconfig b/board/inteno/xg6846/Kconfig
> new file mode 100644
> index 000000000000..4dd78b3b1960
> --- /dev/null
> +++ b/board/inteno/xg6846/Kconfig
> @@ -0,0 +1,12 @@
> +if BOARD_INTENO_XG6846
> +
> +config SYS_BOARD
> +	default "xg6846"
> +
> +config SYS_VENDOR
> +	default "inteno"
> +
> +config SYS_CONFIG_NAME
> +	default "inteno_xg6846"
> +
> +endif
[snip]
> diff --git a/board/inteno/xg6846/Makefile b/board/inteno/xg6846/Makefile
> new file mode 100644
> index 000000000000..311e1db7a775
> --- /dev/null
> +++ b/board/inteno/xg6846/Makefile
> @@ -0,0 +1,3 @@
> +# SPDX-License-Identifier: GPL-2.0+
> +
> +obj-y += xg6846.o
> diff --git a/board/inteno/xg6846/xg6846.c b/board/inteno/xg6846/xg6846.c
> new file mode 100644
> index 000000000000..b3b6751a6256
> --- /dev/null
> +++ b/board/inteno/xg6846/xg6846.c
> @@ -0,0 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * Copyright (C) 2023 Linus Walleij <linusw@kernel.org>
> + */
> +
> +#include <common.h>

So basically just an empty object file.  Can we just _not_ have
something here, if we perhaps don't set SYS_BOARD?  I assume if there's
just nothing here the link rules fail.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2023-09-20 14:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20  7:42 [PATCH] bmips: Add Inteno XG6846 board Linus Walleij
2023-09-20 14:22 ` Tom Rini [this message]
2023-09-20 18:51   ` Linus Walleij
2023-09-20 18:55     ` Tom Rini
2023-09-21 14:00       ` Daniel Schwierzeck
2023-09-21 15:53         ` Tom Rini
2023-09-21 17:25         ` Tom Rini
2023-09-25 13:56           ` Linus Walleij
2023-09-25 14:22             ` Tom Rini
2023-09-21 14:03 ` Daniel Schwierzeck

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=20230920142252.GO305624@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=daniel.schwierzeck@gmail.com \
    --cc=linus.walleij@linaro.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 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.