FVP,Juno: switch FVP and Juno to use generic TBBR OID header
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 23 May 2017 10:41:36 +0000 (19:41 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 23 May 2017 15:08:41 +0000 (00:08 +0900)
The header tbbr_oid.h contains OIDs obtained by ARM Ltd.
so there is no good reason to use platform_oid.h

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
plat/arm/board/common/board_arm_trusted_boot.c
plat/arm/board/fvp/fvp_trusted_boot.c
plat/arm/board/fvp/include/platform_oid.h [deleted file]
plat/arm/board/juno/include/platform_oid.h [deleted file]
plat/arm/common/arm_common.mk

index eb1dc8c2d10467418454f6625dcd938846ad84b8..391ae45cd6273834b4178667bba23329de7f99ef 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
@@ -7,9 +7,9 @@
 #include <arm_def.h>
 #include <assert.h>
 #include <platform.h>
-#include <platform_oid.h>
 #include <stdint.h>
 #include <string.h>
+#include <tbbr_oid.h>
 
 /* Weak definition may be overridden in specific platform */
 #pragma weak plat_match_rotpk
index 51d30830c47538999b8ba71df1773695f191f1be..d1e8b9f57a724de0334a49d728fe4c3b0c01b495 100644 (file)
@@ -1,13 +1,14 @@
 /*
- * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #include <assert.h>
-#include <platform_oid.h>
 #include <stdint.h>
 #include <string.h>
+#include <tbbr_oid.h>
+
 #include "fvp_def.h"
 
 /*
diff --git a/plat/arm/board/fvp/include/platform_oid.h b/plat/arm/board/fvp/include/platform_oid.h
deleted file mode 100644 (file)
index c64155f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-#include <tbbr_oid.h>
-
-/*
- * Required platform OIDs
- * (Provided by included header)
- */
diff --git a/plat/arm/board/juno/include/platform_oid.h b/plat/arm/board/juno/include/platform_oid.h
deleted file mode 100644 (file)
index c64155f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-#include <tbbr_oid.h>
-
-/*
- * Required platform OIDs
- * (Provided by included header)
- */
index 58fc94ec661f00c9117f15e90d7f34ae6b9cb17f..3c207698b5f720d84e838f3530e95c69c92d1479 100644 (file)
@@ -87,6 +87,9 @@ SEPARATE_CODE_AND_RODATA      :=      1
 # Enable new version of image loading on ARM platforms
 LOAD_IMAGE_V2                  :=      1
 
+# Use generic OID definition (tbbr_oid.h)
+USE_TBBR_DEFS                  :=      1
+
 PLAT_INCLUDES          +=      -Iinclude/common/tbbr                           \
                                -Iinclude/plat/arm/common