]> Git Repo - J-u-boot.git/blobdiff - arch/riscv/cpu/cpu.c
Merge tag 'u-boot-atmel-2019.07-a' of git://git.denx.de/u-boot-atmel
[J-u-boot.git] / arch / riscv / cpu / cpu.c
index e662140427a563caaef8c1ffe5c2e710db4811ca..c32de8a4c3e64acec63b86dc8845683e6192fbc2 100644 (file)
 #include <dm/uclass-internal.h>
 
 /*
- * prior_stage_fdt_address must be stored in the data section since it is used
+ * The variables here must be stored in the data section since they are used
  * before the bss section is available.
  */
 phys_addr_t prior_stage_fdt_address __attribute__((section(".data")));
+u32 hart_lottery __attribute__((section(".data"))) = 0;
+
+/*
+ * The main hart running U-Boot has acquired available_harts_lock until it has
+ * finished initialization of global data.
+ */
+u32 available_harts_lock = 1;
 
 static inline bool supports_extension(char ext)
 {
This page took 0.037161 seconds and 4 git commands to generate.