loadsvf: Declare JTAG_set_mode in jtag.h

Declare JTAG_set_mode() in jtag.h to prevent an implicit function
declaration compiler error when compiling with GCC 15.

In loadsvf, main.c calls JTAG_set_mode(), which is implemented in
src/jtag.c but was omitted from the header src/jtag.h. Under GCC 15,
-Werror=implicit-function-declaration is enabled by default, causing
the compilation of main.c to fail.

Google-Bug-Id: 568356611
Tested: BitBake built loadsvf successfully
Change-Id: I4140592ad10fb100d715c6d8c1741847f3f6be9e
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2 files changed
tree: 93decf64c77db013700f81e60b21411539099d70
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-benchmark/
  5. recipes-bsp/
  6. recipes-connectivity/
  7. recipes-core/
  8. recipes-devtools/
  9. recipes-extended/
  10. recipes-google/
  11. recipes-kernel/
  12. recipes-phosphor/
  13. recipes-support/
  14. recipes-tpm1/
  15. recipes-tpm2/
  16. recipes-x86/
  17. LICENSE
  18. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.