From a48088628a74f5c0e868162777095821422d15a4 Mon Sep 17 00:00:00 2001 From: Evert Pap Date: Thu, 22 Sep 2016 10:33:18 +0200 Subject: Add Quicc Engine firmware loading support diff --git a/include/configs/simc-t10xx.h b/include/configs/simc-t10xx.h index 62a4a0e..09a9d6d 100644 --- a/include/configs/simc-t10xx.h +++ b/include/configs/simc-t10xx.h @@ -553,6 +553,11 @@ #define CONFIG_SYS_DPAA_FMAN #define CONFIG_SYS_DPAA_PME + +#define CONFIG_QE +#define CONFIG_U_QE +#define CONFIG_SYS_QE_FW_ADDR __stringify(CONFIG_LOADADDR) + /* Default address of microcode for the Linux Fman driver */ #if defined(CONFIG_SDCARD) /* @@ -741,6 +746,17 @@ "nand write ${loadaddr} fman_ucode ${filesize};" \ "\0" \ \ + "update-qe-ucode-usb=" \ + "usb start;" \ + "fatload usb 0 ${loadaddr} iram_Type_A_T1040_r1.0.bin;" \ + "nand erase.part qe_ucode;" \ + "nand write ${loadaddr} qe_ucode ${filesize};" \ + "\0" \ + "load_qe_ucode="\ + "nand read ${loadaddr} qe_ucode;" \ + "qe fw ${loadaddr};" \ + "\0" \ + \ "update-ubi-rootfs="\ "dhcp;" \ "ubi part ubipart;" \ -- cgit v0.10.2