u-boot/arch/arm/mach-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
..
px30 rockchip: board: add Hardkernel Odroid Go2 board 2020-07-22 20:21:23 +08:00
rk322x common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
rk3036 common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
rk3128 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
rk3188 rockchip: rk3188: Fix back to BROM boot 2020-06-27 22:12:34 +08:00
rk3288 rockchip: rk3288: Add OF board setup 2020-07-22 20:55:13 +08:00
rk3308 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rk3328 drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
rk3368 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rk3399 rockchip: rk3399: Add weak led_setup() 2020-07-22 20:55:13 +08:00
rv1108 dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
board.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
boot_mode.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootrom.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cpu-info.c rockchip: Separate the reset cause from display cpuinfo 2020-07-22 20:55:13 +08:00
fit_spl_optee.sh rockchip: fit_spl_optee: get text and optee base from build 2019-12-26 20:34:28 +08:00
Kconfig rockchip: rk3288: Add OF board setup 2020-07-22 20:55:13 +08:00
make_fit_atf.py rockchip: make_fit_atf: use correct fdt_x references in config nodes 2020-02-19 16:45:38 +08:00
Makefile rockchip: Separate the reset cause from display cpuinfo 2020-07-22 20:55:13 +08:00
misc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
px30-board-tpl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
rk3036-board-spl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
sdram.c rockchip: sdram: fix dram_init_banksize 2020-07-22 20:22:52 +08:00
spl-boot-order.c rockchip: spl-boot-order: do not attempt to access fdt if OF_PLATDATA 2020-05-22 20:53:20 +08:00
spl.c rockchip: spl: do full dram_init instead of only probing 2020-05-31 22:22:07 +08:00
tpl.c rockchip: tpl: Remove board_early_init_f() 2020-07-22 20:55:13 +08:00
u-boot-tpl-v8.lds rockchip: add u-boot-tpl-v8.lds 2019-05-08 17:34:12 +08:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00