diff options
author | Gregory Fong <gregory.0xf0@gmail.com> | 2015-02-03 21:49:26 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-02-27 16:54:55 -0500 |
commit | dce12391d70d24d428def2f5fc600a3b1f791ca6 (patch) | |
tree | b2bf6217ace4b44017982185d0d294e1b78616d8 /Documentation/arm/Booting | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) |
Documentation: arm: Update for DT-only platforms
The documentation specified that a machine type is mandatory and made
that assumption in a few places. However, for DT-only platforms, the
current advice is that no machine type should be registered, so update
accordingly.
Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/arm/Booting')
-rw-r--r-- | Documentation/arm/Booting | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/arm/Booting b/Documentation/arm/Booting index 371814a36719..83c1df2fc758 100644 --- a/Documentation/arm/Booting +++ b/Documentation/arm/Booting | |||
@@ -58,13 +58,18 @@ serial format options as described in | |||
58 | -------------------------- | 58 | -------------------------- |
59 | 59 | ||
60 | Existing boot loaders: OPTIONAL | 60 | Existing boot loaders: OPTIONAL |
61 | New boot loaders: MANDATORY | 61 | New boot loaders: MANDATORY except for DT-only platforms |
62 | 62 | ||
63 | The boot loader should detect the machine type its running on by some | 63 | The boot loader should detect the machine type its running on by some |
64 | method. Whether this is a hard coded value or some algorithm that | 64 | method. Whether this is a hard coded value or some algorithm that |
65 | looks at the connected hardware is beyond the scope of this document. | 65 | looks at the connected hardware is beyond the scope of this document. |
66 | The boot loader must ultimately be able to provide a MACH_TYPE_xxx | 66 | The boot loader must ultimately be able to provide a MACH_TYPE_xxx |
67 | value to the kernel. (see linux/arch/arm/tools/mach-types). | 67 | value to the kernel. (see linux/arch/arm/tools/mach-types). This |
68 | should be passed to the kernel in register r1. | ||
69 | |||
70 | For DT-only platforms, the machine type will be determined by device | ||
71 | tree. set the machine type to all ones (~0). This is not strictly | ||
72 | necessary, but assures that it will not match any existing types. | ||
68 | 73 | ||
69 | 4. Setup boot data | 74 | 4. Setup boot data |
70 | ------------------ | 75 | ------------------ |