mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
arm: mach-k3: Remove ROM firewalls on GP devices
This isn't strictly needed as these firewalls should all be disabled on GP, but it also doesn't hurt, so do this unconditionally to remove this use of CONFIG_TI_SECURE_DEVICE. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f673b4670d
commit
080fe39b8c
2 changed files with 0 additions and 8 deletions
|
@ -27,7 +27,6 @@
|
|||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#ifdef CONFIG_K3_LOAD_SYSFW
|
||||
#ifdef CONFIG_TI_SECURE_DEVICE
|
||||
struct fwl_data main_cbass_fwls[] = {
|
||||
{ "MMCSD1_CFG", 2057, 1 },
|
||||
{ "MMCSD0_CFG", 2058, 1 },
|
||||
|
@ -44,7 +43,6 @@ struct fwl_data main_cbass_fwls[] = {
|
|||
{ "MCU_CPSW0", 1220, 1 },
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void ctrl_mmr_unlock(void)
|
||||
{
|
||||
|
@ -237,10 +235,8 @@ void board_init_f(ulong dummy)
|
|||
preloader_console_init();
|
||||
|
||||
/* Disable ROM configured firewalls right after loading sysfw */
|
||||
#ifdef CONFIG_TI_SECURE_DEVICE
|
||||
remove_fwl_configs(main_cbass_fwls, ARRAY_SIZE(main_cbass_fwls));
|
||||
remove_fwl_configs(mcu_cbass_fwls, ARRAY_SIZE(mcu_cbass_fwls));
|
||||
#endif
|
||||
#else
|
||||
/* Prepare console output */
|
||||
preloader_console_init();
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <remoteproc.h>
|
||||
|
||||
#ifdef CONFIG_K3_LOAD_SYSFW
|
||||
#ifdef CONFIG_TI_SECURE_DEVICE
|
||||
struct fwl_data cbass_hc_cfg0_fwls[] = {
|
||||
{ "PCIE0_CFG", 2560, 8 },
|
||||
{ "PCIE1_CFG", 2561, 8 },
|
||||
|
@ -63,7 +62,6 @@ struct fwl_data cbass_hc_cfg0_fwls[] = {
|
|||
{ "WKUP_CTRL_MMR0", 131, 16 },
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void ctrl_mmr_unlock(void)
|
||||
{
|
||||
|
@ -254,7 +252,6 @@ void board_init_f(ulong dummy)
|
|||
preloader_console_init();
|
||||
|
||||
/* Disable ROM configured firewalls right after loading sysfw */
|
||||
#ifdef CONFIG_TI_SECURE_DEVICE
|
||||
remove_fwl_configs(cbass_hc_cfg0_fwls, ARRAY_SIZE(cbass_hc_cfg0_fwls));
|
||||
remove_fwl_configs(cbass_hc0_fwls, ARRAY_SIZE(cbass_hc0_fwls));
|
||||
remove_fwl_configs(cbass_rc_cfg0_fwls, ARRAY_SIZE(cbass_rc_cfg0_fwls));
|
||||
|
@ -262,7 +259,6 @@ void board_init_f(ulong dummy)
|
|||
remove_fwl_configs(infra_cbass0_fwls, ARRAY_SIZE(infra_cbass0_fwls));
|
||||
remove_fwl_configs(mcu_cbass0_fwls, ARRAY_SIZE(mcu_cbass0_fwls));
|
||||
remove_fwl_configs(wkup_cbass0_fwls, ARRAY_SIZE(wkup_cbass0_fwls));
|
||||
#endif
|
||||
#else
|
||||
/* Prepare console output */
|
||||
preloader_console_init();
|
||||
|
|
Loading…
Reference in a new issue