mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
net: ti: cpsw: Move cpsw_phy_sel() to _probe()
cpsw_phy_sel() is a configuration step that should not be in ofdata_to_platdata(). Add phy_sel_compat to the cpsw_platform_data structure so that it is accessible in _probe. Then move the call of cpsw_phy_sel() to _probe. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
This commit is contained in:
@@ -50,6 +50,7 @@ struct cpsw_platform_data {
|
||||
u32 active_slave;
|
||||
bool rmii_clock_external;
|
||||
u8 version;
|
||||
const char *phy_sel_compat;
|
||||
};
|
||||
|
||||
int cpsw_register(struct cpsw_platform_data *data);
|
||||
|
Reference in New Issue
Block a user