summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-10-07 11:23:19 -0400
committerTom Rini <[email protected]>2022-10-07 11:23:19 -0400
commit5c3801df300e28fc59bc66fde9b5ba488b6bdd9a (patch)
tree8a49c5cdd61cd29a2ee0f3b015d26c43a45fef9d /doc/develop
parent2afa989fbecf25ea23902a9c480f179ba608785a (diff)
parent2a6218369c9bddf143682a4cceb4d65bf3a9166d (diff)
Merge branch '2022-10-06-assorted-platform-and-board-updates'
- Assorted platform updates for developerbox, armv8 platforms in general, TI K3 and AM65 platforms, nuvoton NPCM845 SoC and then clock driver, ftgpio010 support, and common/board_f cleanups.
Diffstat (limited to 'doc/develop')
-rw-r--r--doc/develop/global_data.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/develop/global_data.rst b/doc/develop/global_data.rst
index 2ac893de491..d143f27eedd 100644
--- a/doc/develop/global_data.rst
+++ b/doc/develop/global_data.rst
@@ -36,6 +36,11 @@ On most architectures the global data pointer is stored in a register.
The sandbox, x86_64, and Xtensa are notable exceptions.
+Current implementation uses a register for the GD pointer because this results
+in smaller code. However, using plain global data for the GD pointer would be
+possible too (and simpler, as it does not require the reservation of a specific
+register for it), but the resulting code is bigger.
+
Clang for ARM does not support assigning a global register. When using Clang
gd is defined as an inline function using assembly code. This adds a few bytes
to the code size.