]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/85xx: clean up and document the QE/FMAN microcode macros
authorTimur Tabi <timur@freescale.com>
Tue, 22 Nov 2011 15:21:25 +0000 (09:21 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 29 Nov 2011 14:48:06 +0000 (08:48 -0600)
commitf2717b47eac74fe262d89c6d8f6bb5a047a77229
treedc8e99ad4b37a8247e944d4edf668de97517f623
parentfbc20aab119b70119a2c1db7dfbecb4a6ee0f6a5
powerpc/85xx: clean up and document the QE/FMAN microcode macros

Several macros are used to identify and locate the microcode binary image
that U-boot needs to upload to the QE or Fman.  Both the QE and the Fman
use the QE Firmware binary format to package their respective microcode data,
which is why the same macros are used for both.  A given SOC will only have
a QE or an Fman, so this is safe.

Unfortunately, the current macro definition and usage has inconsistencies.
For example, CONFIG_SYS_FMAN_FW_ADDR was used to define the address of Fman
firmware in NOR flash, but CONFIG_SYS_QE_FW_IN_NAND contains the address
of NAND.  There's no way to know by looking at a variable how it's supposed
to be used.

In the future, the code which uploads QE firmware and Fman firmware will
be merged.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
README
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc85xx/fdt.c
drivers/net/fm/fm.c
drivers/qe/qe.c
include/configs/MPC8569MDS.h
include/configs/P1023RDS.h
include/configs/P2041RDB.h
include/configs/corenet_ds.h
include/configs/p1_p2_rdb_pc.h