Rex-BC Chen | eef442d | 2021-07-12 15:01:11 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #include <console/console.h> | ||||
4 | #include <device/mmio.h> | ||||
5 | #include <soc/dfd.h> | ||||
6 | |||||
7 | void dfd_init(void) | ||||
8 | { | ||||
Rex-BC Chen | 716320b | 2021-08-10 12:28:09 +0800 | [diff] [blame] | 9 | printk(BIOS_INFO, "%s: enable DFD (Design For Debug)\n", __func__); |
Rex-BC Chen | eef442d | 2021-07-12 15:01:11 +0800 | [diff] [blame] | 10 | setbits32(dfd_cfg, RESET_ON_KEEP_EN); |
11 | dsb(); | ||||
12 | } |