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 Feb 15, 2024
1 parent 93a6e92 commit 549fc2a
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 362 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.

12 changes: 0 additions & 12 deletions elfloader-tool/src/plat/exynos5/platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <printf.h>
#include <types.h>
#include <cpuid.h>
#include <mode/arm_generic_timer.h>

#include <elfloader.h>

Expand Down Expand Up @@ -92,15 +91,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
11 changes: 0 additions & 11 deletions elfloader-tool/src/plat/fvp/platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

#include <autoconf.h>
#include <mode/arm_generic_timer.h>

void platform_init(void)
{
Expand All @@ -21,14 +20,4 @@ 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.

11 changes: 0 additions & 11 deletions elfloader-tool/src/plat/tk1/platform_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

#include <autoconf.h>
#include <mode/arm_generic_timer.h>
#include <elfloader/gen_config.h>
#include <elfloader.h>
#include <printf.h>
Expand Down Expand Up @@ -309,14 +308,4 @@ 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.

Loading

0 comments on commit 549fc2a

Please sign in to comment.