]> git.dujemihanovic.xyz Git - u-boot.git/commit
Rename reset to sysreset
authorStephen Warren <swarren@nvidia.com>
Thu, 12 May 2016 18:03:35 +0000 (12:03 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 27 May 2016 02:48:31 +0000 (20:48 -0600)
commit11636258981a083957c19f3979796fde5e7e8080
tree5410060bbc3291d6f3cc8d456a39b1462dd2626b
parent6f82fac2f278173f5afe5b4b5dbc269646d11c0b
Rename reset to sysreset

The current reset API implements a method to reset the entire system.
In the near future, I'd like to introduce code that implements the device
tree reset bindings; i.e. the equivalent of the Linux kernel's reset API.
This controls resets to individual HW blocks or external chips with reset
signals. It doesn't make sense to merge the two APIs into one since they
have different semantic purposes. Resolve the naming conflict by renaming
the existing reset API to sysreset instead, so the new reset API can be
called just reset.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
27 files changed:
arch/arm/lib/Makefile
arch/arm/mach-rockchip/rk3036/reset_rk3036.c
arch/arm/mach-rockchip/rk3288/reset_rk3288.c
arch/arm/mach-snapdragon/reset.c
arch/sandbox/cpu/state.c
arch/sandbox/include/asm/state.h
configs/chromebook_jerry_defconfig
configs/dragonboard410c_defconfig
configs/evb-rk3036_defconfig
configs/firefly-rk3288_defconfig
configs/kylin-rk3036_defconfig
configs/rock2_defconfig
configs/sandbox_defconfig
configs/sandbox_noblk_defconfig
drivers/clk/clk_rk3036.c
drivers/clk/clk_rk3288.c
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/reset_sandbox.c [deleted file]
drivers/misc/sysreset-uclass.c [moved from drivers/misc/reset-uclass.c with 55% similarity]
drivers/misc/sysreset_sandbox.c [new file with mode: 0644]
include/dm/uclass-id.h
include/reset.h [deleted file]
include/sysreset.h [new file with mode: 0644]
test/dm/Makefile
test/dm/reset.c [deleted file]
test/dm/sysreset.c [new file with mode: 0644]