mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-16 01:17:01 +02:00
This change adds 208 bytes to PMUSRAM, pushing the end of text from 0xff3b0de0 to 0xff3b0eb0, which is still shy of the maximum 0xff3b1000. Further, this skips enabling the watchdog when it's not being used elsewhere, as you can't turn the watchdog off. Change-Id: I2e6fa3c7e01f2be6b32ce04ce479edf64e278554 Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
29 lines
621 B
C
29 lines
621 B
C
/*
|
|
* Copyright (c) 2016-2021, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef SUSPEND_H
|
|
#define SUSPEND_H
|
|
|
|
#include <stdint.h>
|
|
#include <dram.h>
|
|
|
|
#define KHz (1000)
|
|
#define MHz (1000 * KHz)
|
|
#define GHz (1000 * MHz)
|
|
|
|
#define PI_CA_TRAINING (1 << 0)
|
|
#define PI_WRITE_LEVELING (1 << 1)
|
|
#define PI_READ_GATE_TRAINING (1 << 2)
|
|
#define PI_READ_LEVELING (1 << 3)
|
|
#define PI_WDQ_LEVELING (1 << 4)
|
|
#define PI_FULL_TRAINING (0xff)
|
|
|
|
void dmc_suspend(void);
|
|
__pmusramfunc void dmc_resume(void);
|
|
extern __pmusramdata uint8_t pmu_enable_watchdog0;
|
|
|
|
#endif /* SUSPEND_H */
|