mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
fsl-layerscape/ppa: cleanup ppa.h
Moved the ifdef into ppa.h and removed the duplicated macros. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
a8c6fd4ec1
commit
9e052d9750
3 changed files with 2 additions and 11 deletions
|
@ -7,10 +7,7 @@
|
||||||
#ifndef __FSL_PPA_H_
|
#ifndef __FSL_PPA_H_
|
||||||
#define __FSL_PPA_H_
|
#define __FSL_PPA_H_
|
||||||
|
|
||||||
#define SEC_FIRMWARE_FIT_IMAGE "firmware"
|
#ifdef CONFIG_FSL_LS_PPA
|
||||||
#define SEC_FIRMEWARE_FIT_CNF_NAME "config@1"
|
|
||||||
#define SEC_FIRMWARE_TARGET_EL 2
|
|
||||||
|
|
||||||
int ppa_init(void);
|
int ppa_init(void);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -7,10 +7,6 @@
|
||||||
#ifndef __SEC_FIRMWARE_H_
|
#ifndef __SEC_FIRMWARE_H_
|
||||||
#define __SEC_FIRMWARE_H_
|
#define __SEC_FIRMWARE_H_
|
||||||
|
|
||||||
#ifdef CONFIG_FSL_LS_PPA
|
|
||||||
#include <asm/arch/ppa.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int sec_firmware_init(const void *, u32 *, u32 *);
|
int sec_firmware_init(const void *, u32 *, u32 *);
|
||||||
int _sec_firmware_entry(const void *, u32 *, u32 *);
|
int _sec_firmware_entry(const void *, u32 *, u32 *);
|
||||||
bool sec_firmware_is_valid(const void *);
|
bool sec_firmware_is_valid(const void *);
|
||||||
|
|
|
@ -23,9 +23,7 @@
|
||||||
#ifdef CONFIG_U_QE
|
#ifdef CONFIG_U_QE
|
||||||
#include <fsl_qe.h>
|
#include <fsl_qe.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_FSL_LS_PPA
|
|
||||||
#include <asm/arch/ppa.h>
|
#include <asm/arch/ppa.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue