MA-19031 imx: hab: fix build break
authorJi Luo <ji.luo@nxp.com>
Tue, 11 May 2021 06:21:10 +0000 (14:21 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:19 +0000 (09:49 +0800)
commitdb778471481145342e2ad39bacca37c7154ea06a
tree9fda46b16b2bb940a016cb6737c02333c9c6ecf9
parent9d28239d119e2917f074946e89c10842d5e85987
MA-19031 imx: hab: fix build break

Include correct header file to fix below build
break:
  arch/arm/mach-imx/hab.c:20:1: warning: data definition has no type or storage class DECLARE_GLOBAL_DATA_PTR;
  ^~~~~~~~~~~~~~~~~~~~~~~
  arch/arm/mach-imx/hab.c:20:1: warning: type defaults to 'int' in declaration of 'DECLARE_GLOBAL_DATA_PTR' [-Wimplicit-int]
  arch/arm/mach-imx/hab.c:61:17: error: unknown type name 'gd_t'
  static volatile gd_t *gd_save;
  ^~~~
  arch/arm/mach-imx/hab.c: In function 'save_gd':
  arch/arm/mach-imx/hab.c:67:12: error: 'gd'
  undeclared (first use in this function)
  gd_save = gd;
  ^~
  arch/arm/mach-imx/hab.c:67:12: note: each undeclared identifier is reported only once for each function it appears in

Change-Id: Ie8c396be901a80d9bf90b74e59607d6d17619aaa
Signed-off-by: Ji Luo <ji.luo@nxp.com>
arch/arm/mach-imx/hab.c