Messages in this thread | | | From | Hsin-Yi Wang <> | Date | Sat, 4 Apr 2020 00:21:13 +0800 | Subject | Re: [PATCH] Documentation: dt-bindings: Document 'rng-seed' for /chosen |
| |
On Fri, Apr 3, 2020 at 2:07 AM Florian Fainelli <f.fainelli@gmail.com> wrote: > > > > Are you sure about this being limited to a u32 value? I thought you could > > pass an arbitrary-length value here. > > Humm indeed, we can pass an arbitrary value, I completely conflated the > type of "l" here: > > int l; > ... > rng_seed = of_get_flat_dt_prop(node, "rng-seed", &l); > > with how much we would be reading from the property, which is complete > nonsense. Out of curiosity, what property length do platforms typically > populate? > -- > Florian
64 bytes should be able to init crng. (pass CRNG_INIT_CNT_THRESH)
| |