projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cubieboard7: Remove ARCH= references from documentation
[oweals/u-boot.git]
/
doc
/
README.TPL
diff --git
a/doc/README.TPL
b/doc/README.TPL
index 1df03b958ea6ad454c66e78475b2599f06b80738..72027fd692ea0cd08562c82c694c24c347f8bb63 100644
(file)
--- a/
doc/README.TPL
+++ b/
doc/README.TPL
@@
-19,7
+19,7
@@
board can be reused. No code duplication or symlinking is necessary anymore.
How it works
------------
How it works
------------
-There has been a directory
TOPDIR
/spl which contains only a Makefile. The
+There has been a directory
$(srctree)
/spl which contains only a Makefile. The
Makefile is shared by SPL and TPL.
The object files are built separately for SPL/TPL and placed in the
Makefile is shared by SPL and TPL.
The object files are built separately for SPL/TPL and placed in the
@@
-31,9
+31,13
@@
make environment and also appended to CPPFLAGS with -DCONFIG_TPL_BUILD.
The SPL options are shared by SPL and TPL, the board config file should
determine which SPL options to choose based on whether CONFIG_TPL_BUILD
The SPL options are shared by SPL and TPL, the board config file should
determine which SPL options to choose based on whether CONFIG_TPL_BUILD
-is set. Source files can be compiled for TPL with options cho
osed
in the
+is set. Source files can be compiled for TPL with options cho
sen
in the
board config file.
board config file.
+TPL use a small device tree (u-boot-tpl.dtb), containing only the nodes with
+the pre-relocation properties: 'u-boot,dm-pre-reloc' and 'u-boot,dm-tpl'
+(see README.SPL for details).
+
For example:
spl/Makefile:
For example:
spl/Makefile: