[PATCH] arch: arm: Fix SZ_64K undeclared compilation error

Macro SZ_64K is undeclared. Include sizes.h to fix the compilation error.
Signed-off-by: Wasim Khan wasim.khan@nxp.com --- arch/arm/lib/gic-v3-its.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c index e19ab01..6ee22d2 100644 --- a/arch/arm/lib/gic-v3-its.c +++ b/arch/arm/lib/gic-v3-its.c @@ -6,6 +6,7 @@ #include <asm/gic.h> #include <asm/gic-v3.h> #include <asm/io.h> +#include <linux/sizes.h>
static u32 lpi_id_bits;

Looks good to me.
On 14/02/20 11:00 am, Wasim Khan wrote:
Macro SZ_64K is undeclared. Include sizes.h to fix the compilation error.
Signed-off-by: Wasim Khan wasim.khan@nxp.com
arch/arm/lib/gic-v3-its.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c index e19ab01..6ee22d2 100644 --- a/arch/arm/lib/gic-v3-its.c +++ b/arch/arm/lib/gic-v3-its.c @@ -6,6 +6,7 @@ #include <asm/gic.h> #include <asm/gic-v3.h> #include <asm/io.h> +#include <linux/sizes.h>
static u32 lpi_id_bits;

-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Bharat Kumar Reddy Sent: Tuesday, February 18, 2020 4:19 PM To: Wasim Khan wasim.khan@nxp.com; Priyanka Jain priyanka.jain@nxp.com; vladimir.olovyannikov@broadcom.com Cc: u-boot@lists.denx.de Subject: Re: [PATCH] arch: arm: Fix SZ_64K undeclared compilation error
Looks good to me.
On 14/02/20 11:00 am, Wasim Khan wrote:
Macro SZ_64K is undeclared. Include sizes.h to fix the compilation error.
Signed-off-by: Wasim Khan wasim.khan@nxp.com
arch/arm/lib/gic-v3-its.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c index e19ab01..6ee22d2 100644 --- a/arch/arm/lib/gic-v3-its.c +++ b/arch/arm/lib/gic-v3-its.c @@ -6,6 +6,7 @@ #include <asm/gic.h> #include <asm/gic-v3.h> #include <asm/io.h> +#include <linux/sizes.h>
static u32 lpi_id_bits;
Tom, Some of patches in my backlog are dependent on this. Can you please apply this fix.
Thanks priyankajain

On Wed, Feb 19, 2020 at 07:03:26AM +0000, Priyanka Jain (OSS) wrote:
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Bharat Kumar Reddy Sent: Tuesday, February 18, 2020 4:19 PM To: Wasim Khan wasim.khan@nxp.com; Priyanka Jain priyanka.jain@nxp.com; vladimir.olovyannikov@broadcom.com Cc: u-boot@lists.denx.de Subject: Re: [PATCH] arch: arm: Fix SZ_64K undeclared compilation error
Looks good to me.
On 14/02/20 11:00 am, Wasim Khan wrote:
Macro SZ_64K is undeclared. Include sizes.h to fix the compilation error.
Signed-off-by: Wasim Khan wasim.khan@nxp.com
arch/arm/lib/gic-v3-its.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/lib/gic-v3-its.c b/arch/arm/lib/gic-v3-its.c index e19ab01..6ee22d2 100644 --- a/arch/arm/lib/gic-v3-its.c +++ b/arch/arm/lib/gic-v3-its.c @@ -6,6 +6,7 @@ #include <asm/gic.h> #include <asm/gic-v3.h> #include <asm/io.h> +#include <linux/sizes.h>
static u32 lpi_id_bits;
Tom, Some of patches in my backlog are dependent on this. Can you please apply this fix.
Reviewed-by: Tom Rini trini@konsulko.com
Please just pick it up, thanks!

On Fri, Feb 14, 2020 at 11:00:52AM +0530, Wasim Khan wrote:
Macro SZ_64K is undeclared. Include sizes.h to fix the compilation error.
Signed-off-by: Wasim Khan wasim.khan@nxp.com Reviewed-by: Tom Rini trini@konsulko.com
Applied to u-boot/master, thanks!
participants (4)
-
Bharat Kumar Reddy
-
Priyanka Jain (OSS)
-
Tom Rini
-
Wasim Khan