Move FVP power driver to FVP platform
Move the FVP power driver to a directory under the FVP platform port as this is not a generically usable driver. Change-Id: Ibc78bd88752eb3e3964336741488349ac345f4f0
This commit is contained in:
parent
4ecca33988
commit
e8246c0714
|
@ -30,9 +30,9 @@
|
||||||
|
|
||||||
#include <arch.h>
|
#include <arch.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <fvp_pwrc.h>
|
|
||||||
#include <gic.h>
|
#include <gic.h>
|
||||||
#include <asm_macros.S>
|
#include <asm_macros.S>
|
||||||
|
#include "../drivers/pwrc/fvp_pwrc.h"
|
||||||
|
|
||||||
.globl platform_get_entrypoint
|
.globl platform_get_entrypoint
|
||||||
.globl platform_cold_boot_init
|
.globl platform_cold_boot_init
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <arch.h>
|
#include <arch.h>
|
||||||
#include <fvp_pwrc.h>
|
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
|
#include "drivers/pwrc/fvp_pwrc.h"
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Declarations of linker defined symbols which will help us find the layout
|
* Declarations of linker defined symbols which will help us find the layout
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <arch_helpers.h>
|
#include <arch_helpers.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <fvp_pwrc.h>
|
|
||||||
#include <bakery_lock.h>
|
#include <bakery_lock.h>
|
||||||
|
#include "fvp_pwrc.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO: Someday there will be a generic power controller api. At the moment
|
* TODO: Someday there will be a generic power controller api. At the moment
|
|
@ -39,9 +39,9 @@
|
||||||
#include <bakery_lock.h>
|
#include <bakery_lock.h>
|
||||||
#include <cci400.h>
|
#include <cci400.h>
|
||||||
#include <gic.h>
|
#include <gic.h>
|
||||||
#include <fvp_pwrc.h>
|
|
||||||
/* Only included for error codes */
|
/* Only included for error codes */
|
||||||
#include <psci.h>
|
#include <psci.h>
|
||||||
|
#include "drivers/pwrc/fvp_pwrc.h"
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* FVP handler called when an affinity instance is about to enter standby.
|
* FVP handler called when an affinity instance is about to enter standby.
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <fvp_pwrc.h>
|
|
||||||
/* TODO: Reusing psci error codes & state information. Get our own! */
|
/* TODO: Reusing psci error codes & state information. Get our own! */
|
||||||
#include <psci.h>
|
#include <psci.h>
|
||||||
|
#include "drivers/pwrc/fvp_pwrc.h"
|
||||||
|
|
||||||
/* We treat '255' as an invalid affinity instance */
|
/* We treat '255' as an invalid affinity instance */
|
||||||
#define AFFINST_INVAL 0xff
|
#define AFFINST_INVAL 0xff
|
||||||
|
|
|
@ -57,8 +57,8 @@ PLAT_BL31_C_VPATH := drivers/arm/cci-400 \
|
||||||
lib/${ARCH} \
|
lib/${ARCH} \
|
||||||
lib/semihosting \
|
lib/semihosting \
|
||||||
lib/stdlib \
|
lib/stdlib \
|
||||||
drivers/power \
|
drivers/io \
|
||||||
drivers/io
|
plat/fvp/drivers/pwrc
|
||||||
|
|
||||||
PLAT_BL31_S_VPATH := lib/semihosting/${ARCH}
|
PLAT_BL31_S_VPATH := lib/semihosting/${ARCH}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue