All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Condarelli <mc5686@mclink.it>
To: u-boot@lists.denx.de
Subject: [PATCH v5] Add support for SoM "VoCore2".
Date: Thu, 13 Feb 2020 11:18:39 +0100	[thread overview]
Message-ID: <8fcb1c41-50ad-e676-56fd-3a9cfac4cd39@mclink.it> (raw)
In-Reply-To: <fc820131-a61e-bc4a-7eec-152cf38c6797@mclink.it>

Hi Weijie,

On 2/13/20 10:09 AM, Mauro Condarelli wrote:
>>> +};
>>> diff --git a/arch/mips/mach-mtmips/Kconfig b/arch/mips/mach-mtmips/Kconfig
>>> index bcd635f438..489e466daf 100644
>>> --- a/arch/mips/mach-mtmips/Kconfig
>>> +++ b/arch/mips/mach-mtmips/Kconfig
>>> @@ -83,6 +83,13 @@ config BOARD_MT7628_RFB
>>>  	  SPI-NOR flash, 1 built-in switch with 5 ports, 1 UART, 1 USB host,
>>>  	  1 SDXC, 1 PCIe socket and JTAG pins.
>>>  
>>> +config BOARD_VOCORE2
>>> +	bool "VoCore2"
>>> +	depends on SOC_MT7628
>>> +	help
>>> +	  VoCore VoCore2 board has a MT7628 SoC with 128 MiB of RAM
>>> +	  and 16 MiB of flash (SPI).
>>> +
>> if CONFIG_SPL_UART2_SPIS_PINMUX is the only uart pinmux used by the
>> board, you can add "select CONFIG_SPL_UART2_SPIS_PINMUX" here.
> I thought about this, but I was unsure.
> Will do in v6.

While testing this I noticed it's possible to select SPL_UART2_SPIS_PINMUX
*without* SPL_SERIAL_SUPPORT, leading to an invalid configuration.

IMHO we should have either a:
? "depends on SPL_SERIAL_SUPPORT"
or (perhaps better) a:
? "select SPL_SERIAL_SUPPORT"
in definition of SPL_UART2_SPIS_PINMUX.

I can provide a separate patch as this is not board-specific, but it seems
to be Your call.

Alternatively I can add "select SPL_SERIAL_SUPPORT" to my board
definition, but this doesn't look right to me.

Please advise.

Many Thanks
Mauro

  reply	other threads:[~2020-02-13 10:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12 15:30 [PATCH v5] Add support for SoM "VoCore2" Mauro Condarelli
2020-02-12 16:58 ` Daniel Schwierzeck
2020-02-12 22:01   ` Mauro Condarelli
2020-02-14 17:06     ` Mauro Condarelli
2020-02-17 13:22     ` Mauro Condarelli
2020-02-18  2:28       ` Weijie Gao
2020-02-18  3:17       ` Daniel Schwierzeck
2020-02-13  2:32 ` Weijie Gao
2020-02-13  9:09   ` Mauro Condarelli
2020-02-13 10:18     ` Mauro Condarelli [this message]
2020-02-13  6:50 ` Stefan
2020-02-13  9:18   ` Mauro Condarelli
2020-02-13  9:21     ` Stefan
2020-02-13  9:40       ` Mauro Condarelli

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=8fcb1c41-50ad-e676-56fd-3a9cfac4cd39@mclink.it \
    --to=mc5686@mclink.it \
    --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.