summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-01-07 13:31:19 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-01-09 16:28:12 -0600
commitb8ec2385038c094b07ec5b49336289a46b6e9cc6 (patch)
treececfa15b2de1ed5be9716c81df2da7a2a4b34b63 /cpu
parentb009f3eca99bb7b9e6ba6639a8909a138dd5e9fe (diff)
downloadu-boot-imx-b8ec2385038c094b07ec5b49336289a46b6e9cc6.zip
u-boot-imx-b8ec2385038c094b07ec5b49336289a46b6e9cc6.tar.gz
u-boot-imx-b8ec2385038c094b07ec5b49336289a46b6e9cc6.tar.bz2
85xx: 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. Add command-line command "qe fw" to take a firmware blob in memory and upload it. Update ft_cpu_setup() on 85xx to create the 'firmware' device tree node if U-Boot has uploaded a firmware. Fully define 'struct rsp' in immap_qe.h to include the actual RISC Special Registers. Signed-off-by: Timur Tabi <timur@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc85xx/fdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/mpc85xx/fdt.c b/cpu/mpc85xx/fdt.c
index 737a6c4..0812c89 100644
--- a/cpu/mpc85xx/fdt.c
+++ b/cpu/mpc85xx/fdt.c
@@ -45,6 +45,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)
#ifdef CONFIG_QE
do_fixup_by_prop_u32(blob, "device_type", "soc", 4,
"bus-frequency", bd->bi_busfreq, 1);
+ fdt_fixup_qe_firmware(blob);
#endif
#ifdef CFG_NS16550