[U-Boot] [PATCH v2] armv8: layerscape: Enable EHCI access for LS1012A

York Sun york.sun at nxp.com
Tue Jul 31 21:16:31 UTC 2018


On 07/26/2018 07:38 PM, Ran Wang wrote:
> Program Central Security Unit (CSU) to grant access
> permission for USB 2.0 controller, otherwiase EHCI funciton will down.
> 
> Signed-off-by: Ran Wang <ran.wang_1 at nxp.com>
> ---
> Change in v2:
>     - Add EL checking code to make sure related programming only happen
>       in EL3
> 
>  arch/arm/cpu/armv8/fsl-layerscape/soc.c              | 9 +++++++++
>  arch/arm/include/asm/arch-fsl-layerscape/ns_access.h | 1 +
>  2 files changed, 10 insertions(+)
> 
> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
> index 6a56269..d8c3083 100644
> --- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
> +++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
> @@ -14,6 +14,7 @@
>  #include <asm/io.h>
>  #include <asm/global_data.h>
>  #include <asm/arch-fsl-layerscape/config.h>
> +#include <asm/arch-fsl-layerscape/ns_access.h>

Including this header has a problem. It declares and initializes
ns_dev[], causing a compiling warning for soc.c. Please fix.

York


More information about the U-Boot mailing list