linux/drivers/of
Hsin-Yi Wang 4c9b7614d2 UPSTREAM: fdt: Update CRC check for rng-seed
Commit 428826f535 ("fdt: add support for rng-seed") moves of_fdt_crc32
from early_init_dt_verify() to early_init_dt_scan() since
early_init_dt_scan_chosen() may modify fdt to erase rng-seed.

However, arm and some other arch won't call early_init_dt_scan(), they
call early_init_dt_verify() then early_init_dt_scan_nodes().

Restore of_fdt_crc32 to early_init_dt_verify() then update it in
early_init_dt_scan_chosen() if fdt if updated.

Change-Id: Ided4eb708f82e6a7d30526fcd80a8a25d35632b1
Fixes: 428826f535 ("fdt: add support for rng-seed")
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit dd753d961c)
2020-05-26 11:34:25 +08:00
..
unittest-data of/unittest: Fix I2C bus unit-address error 2019-11-20 18:47:00 +01:00
address.c of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc 2020-02-11 04:34:03 -08:00
base.c of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC 2019-11-20 18:46:06 +01:00
device.c
dynamic.c
fdt_address.c
fdt.c UPSTREAM: fdt: Update CRC check for rng-seed 2020-05-26 11:34:25 +08:00
irq.c ANDROID: GKI: of: irq: add helper to remap interrupts to another irqdomain 2020-03-09 11:32:04 -07:00
Kconfig rk: kbuild: Introduce CONFIG_DTC_SYMBOLS 2020-04-09 21:29:21 +08:00
kobj.c
Makefile
of_mdio.c of: mdio: Fix a signedness bug in of_phy_get_and_connect() 2020-01-27 14:51:15 +01:00
of_net.c
of_numa.c
of_private.h
of_reserved_mem.c
overlay.c of: overlay: add_changeset_property() memory leak 2019-12-17 20:35:56 +01:00
pdt.c
platform.c FROMGIT: of/platform: Pause/resume sync state during init and of_platform_populate() 2019-10-07 17:22:57 -07:00
property.c Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2020-03-21 19:46:46 +08:00
resolver.c
unittest.c of: unittest: fix memory leak in attach_node_and_children 2019-12-17 20:36:04 +01:00