[OpenWrt-Devel] [PATCH] WDR4900v1 remove dt node for absent hw crypto.

Tim Small tim at seoss.co.uk
Sun Jul 8 10:22:14 EDT 2018


On 04/07/18 14:05, Tim Small wrote:
> The WDR4900v1 uses the P1040 SoC, so the device tree pulls in the
> definition for the related P1010 SoC.  However, the P1040 lacks the
> CAAM/SEC4 hardware crypto accelerator which the P1010 device tree
> defines.  If left defined, this causes the CAAM drivers (if present) to
> attempt to use the non-existent device, making various crypto-related
> operations (e.g. macsec and ipsec) fail.

 > + * The SVR value is reported by uboot on the serial console.
 > + */
 > +
 > +/ {
 > +	soc: soc at ffe00000 {
 > +		/delete-node/ crypto at 30000; /* Pulled in by p1010si-post */
 > +	};
 > +};


FWIW, here is the equivalent code in the uboot tree:

http://git.denx.de/?p=u-boot.git;a=blob;f=arch/powerpc/cpu/mpc85xx/fdt.c;h=20ecca605ff0fb31bdb6d6f444a3536bffef4a2d;hb=HEAD#l597


Regards,

Tim.

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list