[U-Boot] [PATCH v7 0/8] NXP LS1046A SMMU enabling patches

York Sun york.sun at nxp.com
Wed Aug 8 16:23:22 UTC 2018


On 08/08/2018 02:05 AM, laurentiu.tudor at nxp.com wrote:
> From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
> 
> This patch series adds the required devices setup and device tree
> fixups for SMMU enablement on NXP LS1046A chips. The approach taken
> tries to mimic the implementation of PAMU LIODN setup on booke powerpc.
> 
> First 4 patches contain some fixes and add some missing bits & pieces.
> Last 4 patches add the actual infrastructure for ICID setup, qman
> portals, fman ICID and SEC configuration.
> 
> Changes in v7:
>  - fix this build breakage introduced by patch [6/8] on booke ppc
>    appearing with certain tool chain versions:
> 	"drivers/misc/fsl_portals.c: In function 'fdt_fixup_qportals':
> 	drivers/misc/fsl_portals.c:256:3: error: 'for' loop initial
> 	declarations are only allowed in C99 or C11 mode"
>  - fixed linker error on LS1012A targets:
> 	"arch/arm/cpu/armv8/built-in.o: In function
> 	`fsl_lsch2_early_init_f':
> 	arch/arm/cpu/armv8/fsl-layerscape/soc.c:691:
> 	undefined reference to `set_icids'"
> 

Still see compiling error for ls1043a boards.

/opt/toolchains/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-elf/bin/aarch64-elf-ld.bfd:
drivers/built-in.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against
external symbol `qp_info' can not be used when making a shared object;
recompile with -fPIC

York


More information about the U-Boot mailing list