Skip to content

Commit

Permalink
elfloader: Replace calls to reset_cntvoff
Browse files Browse the repository at this point in the history
These calls can now be implemented via binding the /timer driver in the
elfloader's device tree configuration (located in the kernel's platform
directory).

Signed-off-by: Kent McLeod <kent@kry10.com>
  • Loading branch information
kent-mcleod committed May 30, 2023
1 parent ef74575 commit b0c2581
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 356 deletions.
21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/apq8064/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/bcm2711/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/bcm2837/platform_init.c

This file was deleted.

11 changes: 0 additions & 11 deletions elfloader-tool/src/plat/exynos5/platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,4 @@ void platform_init(void)
nsscode->cpu1_boot_reg = 0;
smc(SMC_DISABLE_TRUSTZONE, 0, 0, 0);
}

/* Reset the virtual offset for the platform timer to 0 */
reset_cntvoff();
}

#if CONFIG_MAX_NUM_NODES > 1
void non_boot_init(void)
{
/* Reset the virtual offset for the platform timer to 0 */
reset_cntvoff();
}
#endif
9 changes: 0 additions & 9 deletions elfloader-tool/src/plat/fvp/platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,5 @@ void platform_init(void)
"msr tpidr_el0, x0\n"
::: "x0");

/* Reset the virtual offset for the platform timer to 0 */
reset_cntvoff();
}

#if CONFIG_MAX_NUM_NODES > 1
void non_boot_init(void)
{
/* Reset the virtual offset for the platform timer to 0 */
reset_cntvoff();
}
#endif
21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/hikey/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/imx7/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/imx8m-evk/platform_init.c

This file was deleted.

22 changes: 0 additions & 22 deletions elfloader-tool/src/plat/maaxboard/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/odroidc2/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/odroidc4/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/qemu-arm-virt/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/quartz64/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/rockpro64/platform_init.c

This file was deleted.

9 changes: 0 additions & 9 deletions elfloader-tool/src/plat/tk1/platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,14 +309,5 @@ void platform_init(void)
switch_to_mon_mode();
#endif

/* Reset the virtual offset for the platform timer to 0 */
reset_cntvoff();
}

#if CONFIG_MAX_NUM_NODES > 1
void non_boot_init(void)
{
/* Reset the virtual offset for the platform timer to 0 */
reset_cntvoff();
}
#endif
21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/tqma8xqp1gb/platform_init.c

This file was deleted.

21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/tx1/platform_init.c

This file was deleted.

11 changes: 0 additions & 11 deletions elfloader-tool/src/plat/tx2/platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,4 @@ static void enable_serr(void)
void platform_init(void)
{
enable_serr();

/* Reset the virtual offset for the platform timer to 0 */
reset_cntvoff();
}

#if CONFIG_MAX_NUM_NODES > 1
void non_boot_init(void)
{
/* Reset the virtual offset for the platform timer to 0 */
reset_cntvoff();
}
#endif
21 changes: 0 additions & 21 deletions elfloader-tool/src/plat/zynqmp/platform_init.c

This file was deleted.

0 comments on commit b0c2581

Please sign in to comment.