Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
800b8849
Commit
800b8849
authored
4 years ago
by
Mark Dykes
Committed by
TrustedFirmware Code Review
4 years ago
Browse files
Options
Download
Plain Diff
Merge "refactor(plat/arm): replace FIP base and size macro with a generic name" into integration
parents
081c5e5a
49e9ac28
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
include/plat/arm/board/common/board_css_def.h
+2
-2
include/plat/arm/board/common/board_css_def.h
plat/arm/board/a5ds/include/platform_def.h
+2
-2
plat/arm/board/a5ds/include/platform_def.h
plat/arm/board/fvp/fvp_err.c
+2
-2
plat/arm/board/fvp/fvp_err.c
plat/arm/board/fvp/include/platform_def.h
+2
-2
plat/arm/board/fvp/include/platform_def.h
plat/arm/board/fvp_ve/include/platform_def.h
+2
-2
plat/arm/board/fvp_ve/include/platform_def.h
plat/arm/common/fconf/arm_fconf_io.c
+2
-2
plat/arm/common/fconf/arm_fconf_io.c
plat/arm/css/sgi/include/sgi_soc_css_def_v2.h
+2
-2
plat/arm/css/sgi/include/sgi_soc_css_def_v2.h
with
14 additions
and
14 deletions
+14
-14
include/plat/arm/board/common/board_css_def.h
View file @
800b8849
...
...
@@ -44,8 +44,8 @@
#define MAX_IO_HANDLES 4
/* Reserve the last block of flash for PSCI MEM PROTECT flag */
#define PLAT_ARM_F
IP
_BASE
V2M_FLASH0_BASE
#define PLAT_ARM_F
IP
_MAX_SIZE
(V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_F
LASH_IMAGE
_BASE V2M_FLASH0_BASE
#define PLAT_ARM_F
LASH_IMAGE
_MAX_SIZE (V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_NVM_BASE V2M_FLASH0_BASE
#define PLAT_ARM_NVM_SIZE (V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/a5ds/include/platform_def.h
View file @
800b8849
...
...
@@ -315,8 +315,8 @@
#define MAX_IO_HANDLES 4
/* Reserve the last block of flash for PSCI MEM PROTECT flag */
#define PLAT_ARM_F
IP
_BASE
BOOT_BASE
#define PLAT_ARM_F
IP
_MAX_SIZE
(BOOT_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_F
LASH_IMAGE
_BASE BOOT_BASE
#define PLAT_ARM_F
LASH_IMAGE
_MAX_SIZE (BOOT_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_NVM_BASE BOOT_BASE
#define PLAT_ARM_NVM_SIZE (BOOT_SIZE - V2M_FLASH_BLOCK_SIZE)
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp/fvp_err.c
View file @
800b8849
...
...
@@ -24,8 +24,8 @@ __dead2 void plat_arm_error_handler(int err)
case
-
EAUTH
:
/* Image load or authentication error. Erase the ToC */
INFO
(
"Erasing FIP ToC from flash...
\n
"
);
(
void
)
nor_unlock
(
PLAT_ARM_F
IP
_BASE
);
ret
=
nor_word_program
(
PLAT_ARM_F
IP
_BASE
,
0
);
(
void
)
nor_unlock
(
PLAT_ARM_F
LASH_IMAGE
_BASE
);
ret
=
nor_word_program
(
PLAT_ARM_F
LASH_IMAGE
_BASE
,
0
);
if
(
ret
!=
0
)
{
ERROR
(
"Cannot erase ToC
\n
"
);
}
else
{
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp/include/platform_def.h
View file @
800b8849
...
...
@@ -185,8 +185,8 @@
#define MAX_IO_HANDLES 4
/* Reserve the last block of flash for PSCI MEM PROTECT flag */
#define PLAT_ARM_F
IP
_BASE
V2M_FLASH0_BASE
#define PLAT_ARM_F
IP
_MAX_SIZE
(V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_F
LASH_IMAGE
_BASE V2M_FLASH0_BASE
#define PLAT_ARM_F
LASH_IMAGE
_MAX_SIZE (V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_NVM_BASE V2M_FLASH0_BASE
#define PLAT_ARM_NVM_SIZE (V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp_ve/include/platform_def.h
View file @
800b8849
...
...
@@ -303,8 +303,8 @@
#define MAX_IO_HANDLES 4
/* Reserve the last block of flash for PSCI MEM PROTECT flag */
#define PLAT_ARM_F
IP
_BASE
V2M_FLASH1_BASE
#define PLAT_ARM_F
IP
_MAX_SIZE
(V2M_FLASH1_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_F
LASH_IMAGE
_BASE V2M_FLASH1_BASE
#define PLAT_ARM_F
LASH_IMAGE
_MAX_SIZE (V2M_FLASH1_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_NVM_BASE V2M_FLASH1_BASE
#define PLAT_ARM_NVM_SIZE (V2M_FLASH1_SIZE - V2M_FLASH_BLOCK_SIZE)
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/fconf/arm_fconf_io.c
View file @
800b8849
...
...
@@ -18,8 +18,8 @@
#include <platform_def.h>
const
io_block_spec_t
fip_block_spec
=
{
.
offset
=
PLAT_ARM_F
IP
_BASE
,
.
length
=
PLAT_ARM_F
IP
_MAX_SIZE
.
offset
=
PLAT_ARM_F
LASH_IMAGE
_BASE
,
.
length
=
PLAT_ARM_F
LASH_IMAGE
_MAX_SIZE
};
const
io_uuid_spec_t
arm_uuid_spec
[
MAX_NUMBER_IDS
]
=
{
...
...
This diff is collapsed.
Click to expand it.
plat/arm/css/sgi/include/sgi_soc_css_def_v2.h
View file @
800b8849
...
...
@@ -184,8 +184,8 @@
#define MAX_IO_HANDLES U(4)
/* Reserve the last block of flash for PSCI MEM PROTECT flag */
#define PLAT_ARM_F
IP
_BASE
V2M_FLASH0_BASE
#define PLAT_ARM_F
IP
_MAX_SIZE
(V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_F
LASH_IMAGE
_BASE V2M_FLASH0_BASE
#define PLAT_ARM_F
LASH_IMAGE
_MAX_SIZE (V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
#define PLAT_ARM_NVM_BASE V2M_FLASH0_BASE
#define PLAT_ARM_NVM_SIZE (V2M_FLASH0_SIZE - V2M_FLASH_BLOCK_SIZE)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment