All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset driver for SPL
Date: Fri, 17 Jan 2020 10:32:34 +0100	[thread overview]
Message-ID: <3b3c46f0-e99a-2d06-be9c-a122ce343227@denx.de> (raw)
In-Reply-To: <AM0PR04MB448105A93D9734D831F9F71888310@AM0PR04MB4481.eurprd04.prod.outlook.com>

On 1/17/20 3:33 AM, Peng Fan wrote:
> Hi Marek,

Hi,

>> Subject: Re: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset
>> driver for SPL
>>
>> On 1/16/20 3:21 AM, Peng Fan wrote:
>>
>> Hello Peng,
>>
>>>> Subject: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset
>>>> driver for SPL
>>>>
>>>
>>> NAK, this will not work on i.MX8MM/N.
>>>
>>> Currently sysreset psci is enabled, however psci will not work for
>>> SPL, because SPL boots before BL31.
>>
>> Thank you for the constructive feedback.
>>
>> So basically , what we need is a real sysreset driver for iMX8MM , which can
>> work with bare-bones hardware interface, that is, poking some register,
>> correct ?
> 
> Yes.
> 
>>
>> So, either you or Claudius needs to implement a driver in drivers/sysreset,
>> which will bind in SPL and if needed, do some writel() into some registers to
>> reset the board, correct ?
> 
> Yes.
> 
>>
>> Because, I believe we can both agree that dumping such ad-hoc code which
>> implements reset in board code is not the right way, esp. nowadays with all
>> the DM/DT stuff in.
> 
> Alought we still have ocram space, but our SPL is huge now, 100KB+

How so ?

How much does DM sysreset add to that ?

  reply	other threads:[~2020-01-17  9:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-28  8:56 [U-Boot] [PATCH] ARM: reset: use do_reset in SPL/TPL if SYSRESET was not enabled for them Claudius Heine
2019-11-28  9:22 ` Marek Vasut
2019-11-28  9:27 ` Simon Goldschmidt
2019-11-28 10:52   ` Claudius Heine
2019-11-28 11:31     ` Simon Goldschmidt
2020-01-10 21:48 ` Tom Rini
2020-01-14  9:59   ` Claudius Heine
2020-01-14 10:18     ` Peter Robinson
2020-01-14 12:02       ` Claudius Heine
2020-01-15 14:49     ` [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset driver for SPL Claudius Heine
2020-01-16  0:10       ` Simon Glass
2020-01-16  2:21       ` Peng Fan
2020-01-16  9:27         ` Marek Vasut
2020-01-17  2:33           ` Peng Fan
2020-01-17  9:32             ` Marek Vasut [this message]
2020-01-19  7:48               ` Peng Fan
2020-01-19 14:10                 ` Marek Vasut

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=3b3c46f0-e99a-2d06-be9c-a122ce343227@denx.de \
    --to=marex@denx.de \
    --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.