diff options
author | Timur Tabi <timur@freescale.com> | 2008-01-08 11:30:58 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-23 20:34:06 -0500 |
commit | bc556ba940085e46e0ab1b5ed7c31428dc86dd03 (patch) | |
tree | 68d8aada0531c5d5070c3e7327de606894584971 /Documentation/powerpc/booting-without-of.txt | |
parent | a21e282a124f4679c040087ab73aa5b147d4275f (diff) |
[POWERPC] QE: Add ability to upload QE firmware
Define the layout of a binary blob that contains a QE firmware and instructions
on how to upload it. Add function qe_upload_firmware() to parse the blob
and perform the actual upload. Fully define 'struct rsp' in immap_qe.h to
include the actual RISC Special Registers. Added description of a new
QE firmware node to booting-without-of.txt.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'Documentation/powerpc/booting-without-of.txt')
-rw-r--r-- | Documentation/powerpc/booting-without-of.txt | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index f920c2459e89..e8c67c9015b3 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt | |||
@@ -52,7 +52,10 @@ Table of Contents | |||
52 | i) Freescale QUICC Engine module (QE) | 52 | i) Freescale QUICC Engine module (QE) |
53 | j) CFI or JEDEC memory-mapped NOR flash | 53 | j) CFI or JEDEC memory-mapped NOR flash |
54 | k) Global Utilities Block | 54 | k) Global Utilities Block |
55 | l) Xilinx IP cores | 55 | l) Freescale Communications Processor Module |
56 | m) Chipselect/Local Bus | ||
57 | n) 4xx/Axon EMAC ethernet nodes | ||
58 | o) Xilinx IP cores | ||
56 | 59 | ||
57 | VII - Specifying interrupt information for devices | 60 | VII - Specifying interrupt information for devices |
58 | 1) interrupts property | 61 | 1) interrupts property |
@@ -1788,6 +1791,32 @@ platforms are moved over to use the flattened-device-tree model. | |||
1788 | }; | 1791 | }; |
1789 | }; | 1792 | }; |
1790 | 1793 | ||
1794 | viii) Uploaded QE firmware | ||
1795 | |||
1796 | If a new firwmare has been uploaded to the QE (usually by the | ||
1797 | boot loader), then a 'firmware' child node should be added to the QE | ||
1798 | node. This node provides information on the uploaded firmware that | ||
1799 | device drivers may need. | ||
1800 | |||
1801 | Required properties: | ||
1802 | - id: The string name of the firmware. This is taken from the 'id' | ||
1803 | member of the qe_firmware structure of the uploaded firmware. | ||
1804 | Device drivers can search this string to determine if the | ||
1805 | firmware they want is already present. | ||
1806 | - extended-modes: The Extended Modes bitfield, taken from the | ||
1807 | firmware binary. It is a 64-bit number represented | ||
1808 | as an array of two 32-bit numbers. | ||
1809 | - virtual-traps: The virtual traps, taken from the firmware binary. | ||
1810 | It is an array of 8 32-bit numbers. | ||
1811 | |||
1812 | Example: | ||
1813 | |||
1814 | firmware { | ||
1815 | id = "Soft-UART"; | ||
1816 | extended-modes = <0 0>; | ||
1817 | virtual-traps = <0 0 0 0 0 0 0 0>; | ||
1818 | } | ||
1819 | |||
1791 | j) CFI or JEDEC memory-mapped NOR flash | 1820 | j) CFI or JEDEC memory-mapped NOR flash |
1792 | 1821 | ||
1793 | Flash chips (Memory Technology Devices) are often used for solid state | 1822 | Flash chips (Memory Technology Devices) are often used for solid state |
@@ -2269,7 +2298,7 @@ platforms are moved over to use the flattened-device-tree model. | |||
2269 | available. | 2298 | available. |
2270 | For Axon: 0x0000012a | 2299 | For Axon: 0x0000012a |
2271 | 2300 | ||
2272 | l) Xilinx IP cores | 2301 | o) Xilinx IP cores |
2273 | 2302 | ||
2274 | The Xilinx EDK toolchain ships with a set of IP cores (devices) for use | 2303 | The Xilinx EDK toolchain ships with a set of IP cores (devices) for use |
2275 | in Xilinx Spartan and Virtex FPGAs. The devices cover the whole range | 2304 | in Xilinx Spartan and Virtex FPGAs. The devices cover the whole range |