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)
commitb321c44ac9e2569fcc07def3e150fcfe4554a1b0
tree02b9242e29e625f0fb395fa6ef8e00e1c5e8be6b
parentaf5484acb0e8e4b6d0d977f84d8dde7b537c441d
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