Browse Source

platform/arm/sgi: add multi-chip mode parameter in HW_CONFIG dts

Include multi-chip-mode parameter in HW_CONFIG dts to let next stage of
boot firmware know about the multi-chip operation mode.

Change-Id: Ic7535c2280fd57180ad14aa0ae277cf0c4d1337b
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
pull/1938/head
Vijayenthiran Subramaniam 5 years ago
parent
commit
2bd5dcb91d
  1. 3
      plat/arm/board/rde1edge/fdts/rde1edge_nt_fw_config.dts
  2. 3
      plat/arm/board/rdn1edge/fdts/rdn1edge_nt_fw_config.dts
  3. 3
      plat/arm/board/sgi575/fdts/sgi575_nt_fw_config.dts
  4. 9
      plat/arm/css/sgi/sgi_image_load.c

3
plat/arm/board/rde1edge/fdts/rde1edge_nt_fw_config.dts

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019, Arm Limited. All rights reserved.
* Copyright (c) 2018-2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -17,6 +17,7 @@
system-id {
platform-id = <0x0>;
config-id = <0x0>;
multi-chip-mode = <0x0>;
};
};

3
plat/arm/board/rdn1edge/fdts/rdn1edge_nt_fw_config.dts

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -17,5 +17,6 @@
system-id {
platform-id = <0x0>;
config-id = <0x0>;
multi-chip-mode = <0x0>;
};
};

3
plat/arm/board/sgi575/fdts/sgi575_nt_fw_config.dts

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -17,5 +17,6 @@
system-id {
platform-id = <0x0>;
config-id = <0x0>;
multi-chip-mode = <0x0>;
};
};

9
plat/arm/css/sgi/sgi_image_load.c

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -62,6 +62,13 @@ static int plat_sgi_append_config_node(void)
return -1;
}
platcfg = plat_arm_sgi_get_multi_chip_mode();
err = fdt_setprop_u32(fdt, nodeoffset, "multi-chip-mode", platcfg);
if (err < 0) {
ERROR("Failed to set multi-chip-mode\n");
return -1;
}
flush_dcache_range((uintptr_t)fdt, mem_params->image_info.image_size);
return 0;

Loading…
Cancel
Save