[U-Boot] [PATCH v1 0/3] Enable HPS execution stage notification

Ang, Chee Hong chee.hong.ang at intel.com
Tue May 7 14:08:52 UTC 2019


On Tue, 2019-05-07 at 15:03 +0200, Marek Vasut wrote:
> On 5/7/19 7:07 AM, chee.hong.ang at intel.com wrote:
> > 
> > From: "Ang, Chee Hong" <chee.hong.ang at intel.com>
> > 
> > Notify Secure Device Manager (SDM) on the stage of HPS code
> > execution.
> > In general, there are three main code execution stages:
> > (1) First Stage Boot Loader (FSBL) which is U-Boot SPL.
> > (2) Second Stage Boot Loader (SSBL) which is U-Boot.
> > (3) Operating System which is Linux.
> > 
> > Ang, Chee Hong (3):
> >   ARM: socfpga: stratix10: Add HPS execution stage notification
> > function
> >   ARM: socfpga: stratix10: To notify SDM when SPL pass control to
> > U-Boot
> >   ARM: socfpga: stratix10: To notify SDM when U-Boot pass control
> > to
> >     Linux
> > 
> >  arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 7 +++++++
> >  arch/arm/mach-socfpga/mailbox_s10.c              | 6 ++++++
> >  arch/arm/mach-socfpga/misc_s10.c                 | 5 +++++
> >  arch/arm/mach-socfpga/spl_s10.c                  | 6 ++++++
> >  4 files changed, 24 insertions(+)
> Can we expect any of this mbox stuff to be ever migrated over to DM
> and
> moved into drivers/ instead of constantly adding stuff to mach-
> socfpga ?
> 
These mailbox stuffs are basically a set of functions shared by SPL, u-
boot and Linux (PSCI) which is specific to our platform. Even if we
convert this mailbox stuffs to DM and move to drivers/, we still need
to duplicate those functions for PSCI which can be called by Linux. We
are starting to spend time converting our existing clock manager and
etc for S10 platform to DM and will move them to drivers/.
But we still need to keep those PSCI stuffs which are specific to our
platform in mach-sofcpga.


More information about the U-Boot mailing list