[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: platform: Drop the quirks callback
commit 14fa16961b03a23e9b883e5f0ed06b6837a489d8 Author: Julien Grall <julien.grall@xxxxxxxxxx> AuthorDate: Thu Oct 8 19:23:54 2015 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri Oct 23 14:28:26 2015 +0100 xen/arm: platform: Drop the quirks callback All the quirks have been replaced by proper detection. Lets drop the callback and hope that no one will need new quirks. At the same time, remove the definition of platform_dom0_evtchn_ppi which is not used any more. Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> [ ijc -- typos ] --- xen/arch/arm/platform.c | 10 ---------- xen/include/asm-arm/platform.h | 8 -------- 2 files changed, 0 insertions(+), 18 deletions(-) diff --git a/xen/arch/arm/platform.c b/xen/arch/arm/platform.c index 0af6d57..b0bfaa9 100644 --- a/xen/arch/arm/platform.c +++ b/xen/arch/arm/platform.c @@ -127,16 +127,6 @@ void platform_poweroff(void) platform->poweroff(); } -bool_t platform_has_quirk(uint32_t quirk) -{ - uint32_t quirks = 0; - - if ( platform && platform->quirks ) - quirks = platform->quirks(); - - return !!(quirks & quirk); -} - bool_t platform_device_is_blacklisted(const struct dt_device_node *node) { const struct dt_device_match *blacklist = NULL; diff --git a/xen/include/asm-arm/platform.h b/xen/include/asm-arm/platform.h index 5e462ac..f97315d 100644 --- a/xen/include/asm-arm/platform.h +++ b/xen/include/asm-arm/platform.h @@ -27,12 +27,6 @@ struct platform_desc { /* Platform power-off */ void (*poweroff)(void); /* - * Platform quirks - * Defined has a function because a platform can support multiple - * board with different quirk on each - */ - uint32_t (*quirks)(void); - /* * Platform blacklist devices * List of devices which must not pass-through to a guest */ @@ -48,9 +42,7 @@ int platform_cpu_up(int cpu); #endif void platform_reset(void); void platform_poweroff(void); -bool_t platform_has_quirk(uint32_t quirk); bool_t platform_device_is_blacklisted(const struct dt_device_node *node); -unsigned int platform_dom0_evtchn_ppi(void); #define PLATFORM_START(_name, _namestr) \ static const struct platform_desc __plat_desc_##_name __used \ -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |