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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user