diff options
author | Zhao Qiang <B45475@freescale.com> | 2014-03-21 16:21:45 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-04-22 17:58:47 -0700 |
commit | 2a44efeb217f1516052555bb66d7de962862bb51 (patch) | |
tree | 6a1a475cd3daaaa9c0c91d2e6e66207674820839 /drivers | |
parent | dcf1d774bf5c2612538658eac01931895b7a805f (diff) | |
download | u-boot-imx-2a44efeb217f1516052555bb66d7de962862bb51.zip u-boot-imx-2a44efeb217f1516052555bb66d7de962862bb51.tar.gz u-boot-imx-2a44efeb217f1516052555bb66d7de962862bb51.tar.bz2 |
QE/U-QE: Add U-QE support
Modify code to adapt to both u-qe and qe.
U_QE is a kind of cutted QE.
the differences between U_QE and QE
1. UCC: U_QE supports 2 UCCs while QE supports up to 8 UCCs.
2. IMMR: have different immr base addr.
3. iopin: U_QE doesn't need to config iopin.
Signed-off-by: Zhao Qiang <B45475@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/qe/qe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/qe/qe.h b/drivers/qe/qe.h index c82ac7b..ebb7c5f 100644 --- a/drivers/qe/qe.h +++ b/drivers/qe/qe.h @@ -282,5 +282,7 @@ int qe_set_mii_clk_src(int ucc_num); int qe_upload_firmware(const struct qe_firmware *firmware); struct qe_firmware_info *qe_get_firmware_info(void); void ft_qe_setup(void *blob); +void qe_init(uint qe_base); +void qe_reset(void); #endif /* __QE_H__ */ |