ARM: rockchip: Convert resume code to C
authorJacob Chen <jacob2.chen@rock-chips.com>
Tue, 10 Jan 2017 07:14:32 +0000 (15:14 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 11 Jan 2017 12:41:18 +0000 (20:41 +0800)
commit9e9a903f9e629e3c2a0121c5926e2fbccfd0ca78
tree4591e90674dc6eee683c322148765d478796dd11
parent580ad3d371e05c4d0868944e57f5f1273827e4e9
ARM: rockchip: Convert resume code to C

This CL introduces the concept of "embedded blobs" for Rockchip, which
allows you to compile some C code into a binary blob that is linked
into the kernel.  This binary blob is self contained and is intended
to run in cases where SDRAM (and thus the rest of Linux) isn't
available.  Resume is a prime candiate for this as is the planned
DDRFreq code.

We convert the existing assembly resume code into C as proof that this
works and to prepare for linking in SDRAM reinit code.

Change-Id: I0ff109766cfd4b25bf65de9258631a07d2ebe1d5
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
arch/arm/mach-rockchip/Makefile
arch/arm/mach-rockchip/embedded/.gitignore [new file with mode: 0644]
arch/arm/mach-rockchip/embedded/Makefile [new file with mode: 0644]
arch/arm/mach-rockchip/embedded/rk3288_ddr.h [new file with mode: 0644]
arch/arm/mach-rockchip/embedded/rk3288_ddr_resume.c [new file with mode: 0644]
arch/arm/mach-rockchip/embedded/rk3288_resume.c [new file with mode: 0644]
arch/arm/mach-rockchip/embedded/rk3288_resume.h [new file with mode: 0644]
arch/arm/mach-rockchip/embedded/rk3288_resume.lds.S [new file with mode: 0644]
arch/arm/mach-rockchip/embedded/rk3288_resume_embedded.h [new file with mode: 0644]
arch/arm/mach-rockchip/embedded/sram_delay.h [new file with mode: 0644]
arch/arm/mach-rockchip/sleep.S [deleted file]