public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Narinder Dhillon" <ndhillon@marvell.com>
To: Marcin Wojtas <mw@semihalf.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "quic_llindhol@quicinc.com" <quic_llindhol@quicinc.com>,
	"marcin.s.wojtas@gmail.com" <marcin.s.wojtas@gmail.com>,
	Szymon Balcerak <sbalcerak@marvell.com>
Subject: Re: [edk2-devel] [edk2-platforms PATCH v2 7/8] Silicon/Marvell: Driver to dump board configuration
Date: Sat, 13 Jan 2024 00:58:04 +0000	[thread overview]
Message-ID: <SA1PR18MB4677D39A172D19A18E7F3C76D26E2@SA1PR18MB4677.namprd18.prod.outlook.com> (raw)
In-Reply-To: <CAPv3WKfPF9vqiamQTvWgN6Jo_DHv3oiANTGwwomyyuAu9Ja5sQ@mail.gmail.com>

Hi Marcin,


> -----Original Message-----
> From: Marcin Wojtas <mw@semihalf.com>
> Sent: Friday, January 12, 2024 4:19 AM
> To: devel@edk2.groups.io; Narinder Dhillon <ndhillon@marvell.com>
> Cc: quic_llindhol@quicinc.com; marcin.s.wojtas@gmail.com; Szymon Balcerak
> <sbalcerak@marvell.com>
> Subject: [EXT] Re: [edk2-devel] [edk2-platforms PATCH v2 7/8]
> Silicon/Marvell: Driver to dump board configuration
> 
> External Email
> 
> ----------------------------------------------------------------------
> +marcin.s.wojtas@gmail.com
> 
> Hi Narinder,
> 
> 
> czw., 21 gru 2023 o 01:54 Narinder Dhillon <ndhillon@marvell.com>
> napisał(a):
> >
> > From: Narinder Dhillon <ndhillon@marvell.com>
> >
> > This patch adds an EDK2 shell command to dump board configuration
> > device tree.
> >
> > Signed-off-by: Narinder Dhillon <ndhillon@marvell.com>
> > ---
> >  .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.c  | 361
> > ++++++++++++++++++  .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.h  |
> 102 +++++
> >  .../Fdt/FdtPlatformDxe/FdtPlatformDxe.inf     |  60 +++
> >  .../Fdt/FdtPlatformDxe/FdtPlatformDxe.uni     | 106 +++++
> >  .../Drivers/Fdt/FdtPlatformDxe/README.txt     |  69 ++++
> >  .../Drivers/Fdt/FdtPlatformDxe/ShellDumpFdt.c | 283 ++++++++++++++
> 
> I think the FDT fixup part and the shell app should be split and the latter
> should be rather placed under Silicon/Marvell/Applications/ with a proper
> .uni file for displaying help instead of the README.txt and MODULE_TYPE =
> UEFI_APPLICATION in .inf file.
> 
> Is there anything Odyssey-specific in this driver? I was wondering about using
> it on Armada/Cn913x.
> 
> Thanks,
> Marcin

Yes, it is generic. It looks for a FDT HOB and saves the pointer to a variable.

Thanks,
Narinder


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113777): https://edk2.groups.io/g/devel/message/113777
Mute This Topic: https://groups.io/mt/103292517/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2024-01-13  0:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21  0:54 [edk2-devel] [edk2-platforms PATCH v2 0/8] Silicon/Marvell/OdysseyPkg: Narinder Dhillon
2023-12-21  0:54 ` [edk2-devel] [edk2-platforms PATCH v2 1/8] Silicon/Marvell: New Marvell Odyssey processor Narinder Dhillon
2024-01-12 11:14   ` Marcin Wojtas via groups.io
2023-12-21  0:54 ` [edk2-devel] [edk2-platforms PATCH v2 2/8] Silicon/Marvell: Odyssey ArmPlatformLib Narinder Dhillon
2024-01-12 11:27   ` Marcin Wojtas via groups.io
2023-12-21  0:54 ` [edk2-devel] [edk2-platforms PATCH v2 3/8] Silicon/Marvell: Odyssey SmcLib Narinder Dhillon
2024-01-12 10:48   ` Marcin Wojtas via groups.io
2023-12-21  0:54 ` [edk2-devel] [edk2-platforms PATCH v2 4/8] Silicon/Marvell: Odyssey watchdog driver Narinder Dhillon
2024-01-12 11:34   ` Marcin Wojtas via groups.io
2024-01-15 20:26     ` Narinder Dhillon
2023-12-21  0:54 ` [edk2-devel] [edk2-platforms PATCH v2 5/8] Silicon/Marvell: RTC driver Narinder Dhillon
2024-01-12 11:44   ` Marcin Wojtas via groups.io
2023-12-21  0:54 ` [edk2-devel] [edk2-platforms PATCH v2 6/8] Silicon/Marvell: Device tree driver Narinder Dhillon
2024-01-12 12:00   ` Marcin Wojtas via groups.io
2024-01-12 12:01     ` Marcin Wojtas via groups.io
2023-12-21  0:54 ` [edk2-devel] [edk2-platforms PATCH v2 7/8] Silicon/Marvell: Driver to dump board configuration Narinder Dhillon
2024-01-12 12:18   ` Marcin Wojtas via groups.io
2024-01-13  0:58     ` Narinder Dhillon [this message]
2023-12-21  0:54 ` [edk2-devel] [edk2-platforms PATCH v2 8/8] Silicon/Marvell: Odyssey project description files Narinder Dhillon
2024-01-12 13:25 ` [edk2-devel] [edk2-platforms PATCH v2 0/8] Silicon/Marvell/OdysseyPkg: Marcin Wojtas via groups.io

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-list 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=SA1PR18MB4677D39A172D19A18E7F3C76D26E2@SA1PR18MB4677.namprd18.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /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