]> git.baikalelectronics.ru Git - uboot.git/commit
net/phy/cortina: Add No firmware upload option
authorPriyanka Jain <priyanka.jain@nxp.com>
Tue, 30 Jan 2018 06:41:08 +0000 (12:11 +0530)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 22 Mar 2018 20:05:31 +0000 (15:05 -0500)
commit7f6919770e4c205eb2cb83f1f206bbbfb710142b
tree02b9242e29e625f0fb395fa6ef8e00e1c5e8be6b
parent258b120ecb9764968054e21f729c3990eac9537d
net/phy/cortina: Add No firmware upload option

Current Cortina phy driver assumes that firmware upload
is required during initialization and is dependent
on presence of corresponding macros like CONFIG_CORTINA_FW_ADDR
for compilation.

But Cortina phy has provision to store phy firmware in
attached dedicated EEPROM. And boards designed with such
EEPROM does not require firmware upload.

Add CORTINA_NO_FW_UPLOAD option in cortina.c to support
such boards.

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/cortina.c