/* * Copyright (C) 2016 Glider bvba * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. */ #ifndef __DT_BINDINGS_POWER_R8A7790_SYSC_H__ #define __DT_BINDINGS_POWER_R8A7790_SYSC_H__ /* * These power domain indices match the numbers of the interrupt bits * representing the power areas in the various Interrupt Registers * (e.g. SYSCISR, Interrupt Status Register) */ #define R8A7790_PD_CA15_CPU0 0 #define R8A7790_PD_CA15_CPU1 1 #define R8A7790_PD_CA15_CPU2 2 #define R8A7790_PD_CA15_CPU3 3 #define R8A7790_PD_CA7_CPU0 5 #define R8A7790_PD_CA7_CPU1 6 #define R8A7790_PD_CA7_CPU2 7 #define R8A7790_PD_CA7_CPU3 8 #define R8A7790_PD_CA15_SCU 12 #define R8A7790_PD_SH_4A 16 #define R8A7790_PD_RGX 20 #define R8A7790_PD_CA7_SCU 21 #define R8A7790_PD_IMP 24 /* Always-on power area */ #define R8A7790_PD_ALWAYS_ON 32 #endif /* __DT_BINDINGS_POWER_R8A7790_SYSC_H__ */ net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@sciencehorizons.net>2016-05-25 11:06:09 -0400
committerGeorge Spelvin <linux@sciencehorizons.net>2016-05-28 15:48:58 -0400
commit7b13277b682972c2ff8f6419e86c333d81936023 (patch)
treed3399d4fe1917a0c5f0c50e0de7201a88a4c5c50
parent14c44b95b3dcb8ff1d627e6b78f57c4373d375cb (diff)
microblaze: Add <asm/hash.h>
Microblaze is an FPGA soft core that can be configured various ways. If it is configured without a multiplier, the standard __hash_32() will require a call to __mulsi3, which is a slow software loop. Instead, use a shift-and-add sequence for the constant multiply. GCC knows how to do this, but it's not as clever as some. Signed-off-by: George Spelvin <linux@sciencehorizons.net> Cc: Alistair Francis <alistair.francis@xilinx.com> Cc: Michal Simek <michal.simek@xilinx.com>
Diffstat