u-boot-brain/arch/arm/include/asm/arch-rockchip
Jagan Teki e230c579a3 rockchip: Separate the reset cause from display cpuinfo
reset cause is a generic functionality based on the soc
cru registers in rockchip. This can be used for printing
the cause of reset in cpuinfo or some other place where
reset cause is needed. 

Other than cpuinfo, reset cause can also be using during
bootcount for checking the specific reset cause and glow
the led based on the reset cause.

So, let's separate the reset cause code from cpuinfo, and
add a check to build it for rk3399, rk3288 since these two
soc are supporting reset cause as of now.

Tested-by: Suniel Mahesh <sunil@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2020-07-22 20:55:13 +08:00
..
boot0.h rockchip: boot0: update CONFIG_ROCKCHIP_SPL_RESERVE_IRAM for SPL only 2019-05-08 17:34:12 +08:00
boot_mode.h rockchip: add support for enter to bootrom download mode 2017-11-21 23:57:23 +01:00
bootrom.h rockchip: declear boot_devices in bootrom.h 2019-07-26 17:30:26 +08:00
clock.h arm: rockchip: Add common cru.h 2020-01-30 11:44:01 +08:00
cpu_rk3288.h rockchip: Add rk3288 SoC detection helper 2020-07-22 20:55:13 +08:00
cru_px30.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
cru_rk322x.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
cru_rk3036.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
cru_rk3128.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
cru_rk3188.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cru_rk3288.h rockchip: Add common reset cause 2020-01-30 11:44:01 +08:00
cru_rk3328.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
cru_rk3368.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
cru_rk3399.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
cru_rv1108.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
cru.h rockchip: Separate the reset cause from display cpuinfo 2020-07-22 20:55:13 +08:00
ddr_rk3188.h rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
ddr_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr_rk3368.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
edp_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
f_rockusb.h usb: rockchip: implement K_FW_LBA_ERASE_10 command 2018-08-08 22:22:07 +02:00
gpio.h rockchip: Implement spl_gpio in the GPIO driver 2019-02-01 16:59:13 +01:00
grf_px30.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
grf_rk322x.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
grf_rk3036.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
grf_rk3128.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
grf_rk3188.h rockchip: rk3188: add support for usb-uart functionality 2018-11-30 19:03:16 +01:00
grf_rk3288.h rockchip: Move pull-up/down enum into a common file 2019-02-01 16:59:13 +01:00
grf_rk3328.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
grf_rk3368.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
grf_rk3399.h rockchip: pinctrl: rk3399: Add support for UART3. 2019-05-30 18:22:35 +08:00
grf_rv1108.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
hardware.h rockchip: arm: remove no use macro 2019-05-01 00:00:05 +02:00
i2c.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lvds_rk3288.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
misc.h rockchip: rk3399: derive ethaddr from cpuid 2019-08-23 18:15:31 +08:00
periph.h rockchip: rk3288: Add i2s pinctrl and clock support 2019-02-01 16:59:10 +01:00
pmu_rk3188.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmu_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmu_rk3399.h arm: include: rockchip: Add rk3399 pmu file 2019-07-21 00:00:13 +08:00
pwm.h pwm: rk_pwm: Make PWM driver to support all Rockchip Socs 2019-12-06 00:06:23 +08:00
qos_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rockchip_mipi_dsi.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sdram_common.h rockchip: ram: fix debug funcfion define when RAM_ROCKCHIP_DEBUG not set 2020-07-22 20:22:33 +08:00
sdram_msch.h ram: rockchip: add common msch reg definition 2019-11-17 16:23:56 +08:00
sdram_pctl_px30.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sdram_phy_px30.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sdram_phy_ron_rtt_px30.h ram: rockchip: add phy driver code for PX30 2019-11-17 16:23:56 +08:00
sdram_px30.h ram: px30: add sdram driver 2019-11-17 16:23:56 +08:00
sdram_rk322x.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sdram_rk3036.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
sdram_rk3288.h ram: rockchip: rename sdram.h to sdram_rk3288.h 2019-11-17 16:23:56 +08:00
sdram_rk3328.h ram: rk3328: use common sdram driver 2019-11-17 16:23:56 +08:00
sdram_rk3399.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sdram.h rockchip: sdram: extend to use sys_reg3 for capacity info 2019-11-17 16:23:56 +08:00
sys_proto.h rockchip: rk3399: move chromebook bob specific flow to its board file 2019-07-29 10:25:27 +08:00
timer.h rockchip: remove rk_timer 2019-07-20 23:59:44 +08:00
uart.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vop_rk3288.h video: rockchip: Fix vop modes for rk3399 2020-04-02 15:47:35 +02:00