mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
b009f3eca9
commit
b8ec238503
6 changed files with 356 additions and 2 deletions
|
@ -48,6 +48,7 @@ int fdt_fixup_memory(void *blob, u64 start, u64 size);
|
|||
void fdt_fixup_ethernet(void *fdt, bd_t *bd);
|
||||
int fdt_find_and_setprop(void *fdt, const char *node, const char *prop,
|
||||
const void *val, int len, int create);
|
||||
void fdt_fixup_qe_firmware(void *fdt);
|
||||
|
||||
#ifdef CONFIG_OF_HAS_UBOOT_ENV
|
||||
int fdt_env(void *fdt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue