diff options
author | Tom Rini <trini@konsulko.com> | 2020-09-28 08:26:34 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-28 08:26:34 -0400 |
commit | 114c0ebcc10b8a0118d388adcb028b89fbde0eff (patch) | |
tree | ee11fdea8c8010bb07eb5451daac13f34e717cb7 | |
parent | 253388acd6d0d52205ed9a32282f990e055bb87d (diff) | |
parent | 02d249f99ecb7e398067d91760287c61d35fd34b (diff) |
Merge tag 'u-boot-amlogic-20200928' of https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic
- fix RNG driver probe & linux EFI KASLR boot on GXL, GXM, G12A, G12B & SM1 based boards
-rw-r--r-- | drivers/rng/meson-rng.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rng/meson-rng.c b/drivers/rng/meson-rng.c index 4b81a62353..57a5a702a2 100644 --- a/drivers/rng/meson-rng.c +++ b/drivers/rng/meson-rng.c @@ -90,8 +90,9 @@ static int meson_rng_ofdata_to_platdata(struct udevice *dev) if (!pdata->base) return -ENODEV; + /* Get optional "core" clock */ err = clk_get_by_name(dev, "core", &pdata->clk); - if (err) + if (err && err != -ENODATA) return err; return 0; |