From: Tom Rini <trini@konsulko.com>
To: Adam Ford <aford173@gmail.com>
Cc: u-boot@lists.denx.de, aford@beaconembedded.com,
Stefano Babic <sbabic@denx.de>,
Fabio Estevam <festevam@gmail.com>,
"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Subject: Re: [PATCH V3] arm64: imx: Add support for imx8mp-beacon-kit
Date: Mon, 20 Feb 2023 11:05:51 -0500 [thread overview]
Message-ID: <Y/OaX89D5wdZarHD@bill-the-cat> (raw)
In-Reply-To: <20230220155058.675908-1-aford173@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]
On Mon, Feb 20, 2023 at 09:50:58AM -0600, Adam Ford wrote:
> Beacon Embedded has an i.MX8M Plus development kit which consists
> of a SOM + baseboard. The SOM includes Bluetooth, WiFi, QSPI, eMMC,
> and one Ethernet PHY. The baseboard includes audio, HDMI, USB-C Dual
> Role port, USB Hub with five ports, a PCIe slot, and a second Ethernet
> PHY. The device trees are already queued for inclusion in Linux 6.3.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
In general,
Reviewed-by: Tom Rini <trini@konsulko.com>
And if there's no other feedback, a follow-up patch is fine as this is
likely something to look at on your other platforms too, as further
clean-up work:
> diff --git a/board/beacon/imx8mp/imx8mp_beacon.c b/board/beacon/imx8mp/imx8mp_beacon.c
> new file mode 100644
> index 0000000000..d07d8aa421
> --- /dev/null
> +++ b/board/beacon/imx8mp/imx8mp_beacon.c
> @@ -0,0 +1,63 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/* Copyright 2023 Logic PD, Inc dba Beacon EmbeddedWorks */
> +
> +#include <common.h>
> +#include <env.h>
> +#include <errno.h>
> +#include <init.h>
> +#include <miiphy.h>
> +#include <netdev.h>
> +#include <linux/delay.h>
> +#include <asm/global_data.h>
> +#include <asm/mach-imx/iomux-v3.h>
> +#include <asm-generic/gpio.h>
> +#include <asm/arch/imx8mp_pins.h>
> +#include <asm/arch/clock.h>
> +#include <asm/arch/sys_proto.h>
> +#include <asm/mach-imx/gpio.h>
For a small code file, this is a long include list, do we need
everything here, still?
> +DECLARE_GLOBAL_DATA_PTR;
And I don't see anything referring to gd, so I don't think we need this.
> diff --git a/board/beacon/imx8mp/spl.c b/board/beacon/imx8mp/spl.c
> new file mode 100644
> index 0000000000..591e8ca9ab
> --- /dev/null
> +++ b/board/beacon/imx8mp/spl.c
> @@ -0,0 +1,132 @@
Same as the above, here.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
prev parent reply other threads:[~2023-02-20 16:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-20 15:50 [PATCH V3] arm64: imx: Add support for imx8mp-beacon-kit Adam Ford
2023-02-20 16:05 ` Tom Rini [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=Y/OaX89D5wdZarHD@bill-the-cat \
--to=trini@konsulko.com \
--cc=aford173@gmail.com \
--cc=aford@beaconembedded.com \
--cc=festevam@gmail.com \
--cc=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.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