diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-06-22 01:33:34 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2018-06-28 23:47:30 +0100 |
commit | 27f9616fd721145d4db86584c19758de1c05f7d7 (patch) | |
tree | de545541d3576e298efae7a266fa400df4605360 /plat/allwinner | |
parent | 1f4b638a38ed0fb4f6bd3faee475ae50f485020a (diff) |
allwinner: cpu-ops: avoid PSCI on/off output
The "INFO" output in sunxi_cpu_ops.c is quite verbose, so make this more
obvious by changing the log level to "VERBOSE" and so avoiding it to
be printed in a normal (even debug) build.
Reported-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/allwinner')
-rw-r--r-- | plat/allwinner/common/sunxi_cpu_ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plat/allwinner/common/sunxi_cpu_ops.c b/plat/allwinner/common/sunxi_cpu_ops.c index be72dee4..aaee65c6 100644 --- a/plat/allwinner/common/sunxi_cpu_ops.c +++ b/plat/allwinner/common/sunxi_cpu_ops.c @@ -18,7 +18,7 @@ static void sunxi_cpu_disable_power(unsigned int cluster, unsigned int core) if (mmio_read_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core)) == 0xff) return; - INFO("PSCI: Disabling power to cluster %d core %d\n", cluster, core); + VERBOSE("PSCI: Disabling power to cluster %d core %d\n", cluster, core); mmio_write_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core), 0xff); } @@ -28,7 +28,7 @@ static void sunxi_cpu_enable_power(unsigned int cluster, unsigned int core) if (mmio_read_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core)) == 0) return; - INFO("PSCI: Enabling power to cluster %d core %d\n", cluster, core); + VERBOSE("PSCI: Enabling power to cluster %d core %d\n", cluster, core); /* Power enable sequence from original Allwinner sources */ mmio_write_32(SUNXI_CPU_POWER_CLAMP_REG(cluster, core), 0xfe); @@ -40,7 +40,7 @@ static void sunxi_cpu_enable_power(unsigned int cluster, unsigned int core) void sunxi_cpu_off(unsigned int cluster, unsigned int core) { - INFO("PSCI: Powering off cluster %d core %d\n", cluster, core); + VERBOSE("PSCI: Powering off cluster %d core %d\n", cluster, core); /* Deassert DBGPWRDUP */ mmio_clrbits_32(SUNXI_CPUCFG_DBG_REG0, BIT(core)); @@ -54,7 +54,7 @@ void sunxi_cpu_off(unsigned int cluster, unsigned int core) void sunxi_cpu_on(unsigned int cluster, unsigned int core) { - INFO("PSCI: Powering on cluster %d core %d\n", cluster, core); + VERBOSE("PSCI: Powering on cluster %d core %d\n", cluster, core); /* Assert CPU core reset */ mmio_clrbits_32(SUNXI_CPUCFG_RST_CTRL_REG(cluster), BIT(core)); |