diff options
Diffstat (limited to 'Documentation/powerpc/booting-without-of.txt')
-rw-r--r-- | Documentation/powerpc/booting-without-of.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index ee272035f781..8ca9a563e221 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt | |||
@@ -245,7 +245,7 @@ the block to RAM before passing it to the kernel. | |||
245 | --------- | 245 | --------- |
246 | 246 | ||
247 | The kernel is entered with r3 pointing to an area of memory that is | 247 | The kernel is entered with r3 pointing to an area of memory that is |
248 | roughtly described in include/asm-powerpc/prom.h by the structure | 248 | roughly described in include/asm-powerpc/prom.h by the structure |
249 | boot_param_header: | 249 | boot_param_header: |
250 | 250 | ||
251 | struct boot_param_header { | 251 | struct boot_param_header { |
@@ -1068,13 +1068,13 @@ while all this has been defined and implemented. | |||
1068 | around. It contains no internal offsets or pointers for this | 1068 | around. It contains no internal offsets or pointers for this |
1069 | purpose. | 1069 | purpose. |
1070 | 1070 | ||
1071 | - An example of code for iterating nodes & retreiving properties | 1071 | - An example of code for iterating nodes & retrieving properties |
1072 | directly from the flattened tree format can be found in the kernel | 1072 | directly from the flattened tree format can be found in the kernel |
1073 | file arch/ppc64/kernel/prom.c, look at scan_flat_dt() function, | 1073 | file arch/ppc64/kernel/prom.c, look at scan_flat_dt() function, |
1074 | it's usage in early_init_devtree(), and the corresponding various | 1074 | its usage in early_init_devtree(), and the corresponding various |
1075 | early_init_dt_scan_*() callbacks. That code can be re-used in a | 1075 | early_init_dt_scan_*() callbacks. That code can be re-used in a |
1076 | GPL bootloader, and as the author of that code, I would be happy | 1076 | GPL bootloader, and as the author of that code, I would be happy |
1077 | do discuss possible free licencing to any vendor who wishes to | 1077 | to discuss possible free licencing to any vendor who wishes to |
1078 | integrate all or part of this code into a non-GPL bootloader. | 1078 | integrate all or part of this code into a non-GPL bootloader. |
1079 | 1079 | ||
1080 | 1080 | ||