
-----Original Message----- From: Lim, Elly Siew Chin elly.siew.chin.lim@intel.com Sent: Wednesday, December 23, 2020 10:56 PM To: u-boot@lists.denx.de Cc: Marek Vasut marex@denx.de; Tan, Ley Foon ley.foon.tan@intel.com; See, Chin Liang chin.liang.see@intel.com; Simon Goldschmidt simon.k.r.goldschmidt@gmail.com; Chee, Tien Fong tien.fong.chee@intel.com; Westergreen, Dalon dalon.westergreen@intel.com; Simon Glass sjg@chromium.org; Gan, Yau Wai yau.wai.gan@intel.com; Ang, Chee Hong chee.hong.ang@intel.com; Lim, Elly Siew Chin elly.siew.chin.lim@intel.com Subject: [v6 10/18] net: designware: socfpga: Add ATF support for MAC driver
From: Chee Hong Ang chee.hong.ang@intel.com
In non-secure mode (EL2), MAC driver calls the SMC/PSCI services provided by ATF to setup the PHY interface.
Signed-off-by: Chee Hong Ang chee.hong.ang@intel.com Signed-off-by: Siew Chin Lim elly.siew.chin.lim@intel.com
v5
Call secure register access helper function to write the secure register. Return error if fail to write the PHY related secure register.
v6
Clean up the code and use socfpga_secure_reg_update32 to update PHY related secure registers.
Reviewed-by: Ley Foon Tan ley.foon.tan@intel.com