This patch handles the issue in SPL: U-Boot SPL board initspl_early_init() - found match at 'rv1126_syscon' - found match at 'rv1126_syscon' - found match at 'syscon' - found match at 'rockchip_rv1126_pmucru' - found match at 'rockchip_rv1126_cru' - found match at 'ns16550_serial' - found match at 'rockchip_rk3288_dw_mshc' - found match at 'rk_nandc_v6' - found match at 'rockchip_sfc' - found match at 'spi_nand' - found match at 'spi_flash_std' - found match at 'rockchip_crypto_v2' - found match at 'rockchip_secure_otp_v2' Cannot find uclass for id 36: please add the UCLASS_DRIVER() declaration for this UCLASS_... id Missing uclass for driver rockchip_secure_otp_v2 secure_otp@0xff5d0000: ret=-96 dm_scan_fdt() failed: -96 dm_extended_scan_dt() failed: -96 dm_init_and_scan() returned error -96 spl_early_init() failed: -96 ...... The root cause is drivers/misc/rockchip-secure-otp-v2.S is pre-compile but not compile every time, it occupies the UCLASS_MISC id as 36. There are the same situation for other otp drivers, so let's move it to the end. Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I58a2bec703c2af743d209192fefda6ff6167b01c |
||
|---|---|---|
| .. | ||
| platform_data | ||
| device-internal.h | ||
| device.h | ||
| fdtaddr.h | ||
| lists.h | ||
| of.h | ||
| of_access.h | ||
| of_addr.h | ||
| of_extra.h | ||
| ofnode.h | ||
| pinctrl.h | ||
| platdata.h | ||
| read.h | ||
| root.h | ||
| test.h | ||
| uclass-id.h | ||
| uclass-internal.h | ||
| uclass.h | ||
| util.h | ||