]> git.dujemihanovic.xyz Git - u-boot.git/commit
cpu: Convert the methods to use a const udevice *
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 05:06:27 +0000 (22:06 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 20:46:57 +0000 (14:46 -0600)
commit961420fa5f3bcf837518e7f72d6f8c3ee090643d
tree45c39f46656140575aafa573299841a1ac9cab56
parentfdc34368ddcd1d2eb46f9a1829f080f8c1760dee
cpu: Convert the methods to use a const udevice *

These functions should not modify the device. Convert them to const so
that callers don't need to cast if they have a const udevice *.

Signed-off-by: Simon Glass <sjg@chromium.org>
15 files changed:
arch/nios2/cpu/cpu.c
arch/x86/cpu/apollolake/cpu.c
arch/x86/cpu/baytrail/cpu.c
arch/x86/cpu/broadwell/cpu_full.c
arch/x86/cpu/cpu_x86.c
arch/x86/cpu/ivybridge/model_206ax.c
arch/x86/cpu/qemu/cpu.c
arch/x86/include/asm/cpu_x86.h
drivers/cpu/bmips_cpu.c
drivers/cpu/cpu-uclass.c
drivers/cpu/cpu_sandbox.c
drivers/cpu/imx8_cpu.c
drivers/cpu/mpc83xx_cpu.c
drivers/cpu/riscv_cpu.c
include/cpu.h