[PATCH v2 068/169] Correct SPL use of DM_RNG
Tom Rini
trini at konsulko.com
Thu Feb 9 02:10:06 CET 2023
On Wed, Feb 08, 2023 at 06:08:11PM -0700, Simon Glass wrote:
> Hi Tom,
>
> On Wed, 8 Feb 2023 at 17:40, Tom Rini <trini at konsulko.com> wrote:
> >
> > On Sun, Feb 05, 2023 at 03:39:37PM -0700, Simon Glass wrote:
> >
> > > This converts 1 usage of this option to the non-SPL form, since there is
> > > no SPL_DM_RNG defined in Kconfig
> > >
> > > Signed-off-by: Simon Glass <sjg at chromium.org>
> > > ---
> > >
> > > (no changes since v1)
> > >
> > > boot/vbe_request.c | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/boot/vbe_request.c b/boot/vbe_request.c
> > > index 45f1d2b7e17..312edfa2bdb 100644
> > > --- a/boot/vbe_request.c
> > > +++ b/boot/vbe_request.c
> > > @@ -36,7 +36,7 @@ static int handle_random_req(ofnode node, int default_size,
> > > u32 size;
> > > int ret;
> > >
> > > - if (!CONFIG_IS_ENABLED(DM_RNG))
> > > + if (!IS_ENABLED(CONFIG_DM_RNG))
> > > return -ENOTSUPP;
> > >
> > > if (ofnode_read_u32(node, "vbe,size", &size)) {
> >
> > This breaks sandbox_vpl.
>
> Yes I think I mentioned that this needs dropping for ordering reasons.
> I've moved it into splc.
OK, thanks.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230208/aefd4166/attachment.sig>
More information about the U-Boot
mailing list