summaryrefslogtreecommitdiff
path: root/include/asm-generic/global_data.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-21 10:19:24 -0600
committerTom Rini <trini@konsulko.com>2024-08-26 14:06:08 -0600
commitd9902107027a41fc6a27b10f6e030c5a2465936b (patch)
tree796bf831ba512656f477ee6a1d6c46b519298452 /include/asm-generic/global_data.h
parentb9c396ca4972decf82d4b5896ea8e72c3f8929a9 (diff)
global_data: Remove jump table in SPL
SPL builds don't use the jump table since they cannot run apps. Drop it, moving it together with boardf. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic/global_data.h')
-rw-r--r--include/asm-generic/global_data.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 58dbfd6fa14..6445bd477d4 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -52,6 +52,11 @@ struct global_data {
*/
const void *fdt_blob;
/**
+ * @cur_serial_dev: current serial device
+ */
+ struct udevice *cur_serial_dev;
+#ifndef CONFIG_SPL_BUILD
+ /**
* @jt: jump table
*
* The jump table contains pointers to exported functions. A pointer to
@@ -59,11 +64,6 @@ struct global_data {
*/
struct jt_funcs *jt;
/**
- * @cur_serial_dev: current serial device
- */
- struct udevice *cur_serial_dev;
-#ifndef CONFIG_SPL_BUILD
- /**
* @boardf: information only used before relocation
*/
struct board_f *boardf;