rpi3: Move rpi3_hw.h header file to include/rpi_hw.h
With the advent of Raspberry Pi 4 support, we need to separate some board specific headers between the RPi3 and RPi4. Rename and move the "rpi3_hw.h" header, so that .c files just include rpi_hw.h, and automatically get the correct version. Change-Id: I03b39063028d2bee1429bffccde71dddfe2dcde8 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
ab13addd84
commit
4666d04648
|
@ -9,7 +9,7 @@
|
|||
#include <assert_macros.S>
|
||||
#include <platform_def.h>
|
||||
|
||||
#include "../rpi3_hw.h"
|
||||
#include "../include/rpi_hw.h"
|
||||
|
||||
.globl plat_crash_console_flush
|
||||
.globl plat_crash_console_init
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <lib/utils_def.h>
|
||||
#include <plat/common/common_def.h>
|
||||
|
||||
#include "../rpi3_hw.h"
|
||||
#include "rpi_hw.h"
|
||||
|
||||
/* Special value used to verify platform parameters from BL2 to BL31 */
|
||||
#define RPI3_BL31_PLAT_PARAM_VAL ULL(0x0F1E2D3C4B5A6978)
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef RPI3_HW_H
|
||||
#define RPI3_HW_H
|
||||
#ifndef RPI_HW_H
|
||||
#define RPI_HW_H
|
||||
|
||||
#include <lib/utils_def.h>
|
||||
|
||||
|
@ -107,4 +107,4 @@
|
|||
#define RPI3_INTC_PENDING_FIQ_OFFSET ULL(0x00000070)
|
||||
#define RPI3_INTC_PENDING_FIQ_MBOX3 ULL(0x00000080)
|
||||
|
||||
#endif /* RPI3_HW_H */
|
||||
#endif /* RPI_HW_H */
|
|
@ -16,7 +16,7 @@
|
|||
#include <drivers/ti/uart/uart_16550.h>
|
||||
#include <lib/xlat_tables/xlat_tables_v2.h>
|
||||
|
||||
#include "rpi3_hw.h"
|
||||
#include <rpi_hw.h>
|
||||
#include "rpi3_private.h"
|
||||
|
||||
#define MAP_DEVICE0 MAP_REGION_FLAT(DEVICE0_BASE, \
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <common/debug.h>
|
||||
#include <lib/mmio.h>
|
||||
|
||||
#include "rpi3_hw.h"
|
||||
#include <rpi_hw.h>
|
||||
|
||||
/* This struct must be aligned to 16 bytes */
|
||||
typedef struct __packed __aligned(16) rpi3_mbox_request {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <lib/psci/psci.h>
|
||||
#include <plat/common/platform.h>
|
||||
|
||||
#include "rpi3_hw.h"
|
||||
#include <rpi_hw.h>
|
||||
|
||||
/* Make composite power state parameter till power level 0 */
|
||||
#if PSCI_EXTENDED_STATE_ID
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include <lib/mmio.h>
|
||||
|
||||
#include "rpi3_hw.h"
|
||||
#include <rpi_hw.h>
|
||||
|
||||
/* Initial amount of values to discard */
|
||||
#define RNG_WARMUP_COUNT U(0x40000)
|
||||
|
|
Loading…
Reference in New Issue