Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
* 'master' of git://git.denx.de/u-boot-mpc85xx: mpc85xx: Add inline GPIO acessor functions powerpc/85xx: wait for alignment before resetting SERDES RX lanes (SERDES9) powerpc/85xx: Fix P2020DS booting powerpc/85xx: Update USB device tree status based on pin settings fdt: Add new fdt_set_node_status & fdt_set_status_by_alias helpers powerpc/85xx: Add support for RMan LIODN initialization powerpc/85xx: Update device tree handling for SRIO powerpc/85xx: Update setting of SRIO LIODNs fm: Don't allow disabling of FM1-DTSEC1 fm-eth: Don't mark the MAC we use for MDIO as disabled in device tree
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
#define CONFIG_SYS_SRIO
|
||||
#define CONFIG_SRIO1 /* SRIO port 1 */
|
||||
#define CONFIG_SRIO2 /* SRIO port 2 */
|
||||
#define CONFIG_SYS_DPAA_RMAN /* RMan */
|
||||
|
||||
#define CONFIG_FSL_LAW /* Use common FSL init code */
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#define CONFIG_FSL_SATA_V2
|
||||
#define CONFIG_PCIE3
|
||||
#define CONFIG_PCIE4
|
||||
#define CONFIG_SYS_DPAA_RMAN
|
||||
|
||||
#define CONFIG_ICS307_REFCLK_HZ 25000000 /* ICS307 ref clk freq */
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#define CONFIG_PCIE3
|
||||
#define CONFIG_PCIE4
|
||||
#define CONFIG_SYS_FSL_RAID_ENGINE
|
||||
#define CONFIG_SYS_DPAA_RMAN
|
||||
|
||||
#define CONFIG_ICS307_REFCLK_HZ 25000000 /* ICS307 ref clk freq */
|
||||
|
||||
|
||||
@@ -104,5 +104,33 @@ int fdt_verify_alias_address(void *fdt, int anode, const char *alias,
|
||||
u64 addr);
|
||||
u64 fdt_get_base_address(void *fdt, int node);
|
||||
|
||||
enum fdt_status {
|
||||
FDT_STATUS_OKAY,
|
||||
FDT_STATUS_DISABLED,
|
||||
FDT_STATUS_FAIL,
|
||||
FDT_STATUS_FAIL_ERROR_CODE,
|
||||
};
|
||||
int fdt_set_node_status(void *fdt, int nodeoffset,
|
||||
enum fdt_status status, unsigned int error_code);
|
||||
static inline int fdt_status_okay(void *fdt, int nodeoffset)
|
||||
{
|
||||
return fdt_set_node_status(fdt, nodeoffset, FDT_STATUS_OKAY, 0);
|
||||
}
|
||||
static inline int fdt_status_disabled(void *fdt, int nodeoffset)
|
||||
{
|
||||
return fdt_set_node_status(fdt, nodeoffset, FDT_STATUS_DISABLED, 0);
|
||||
}
|
||||
|
||||
int fdt_set_status_by_alias(void *fdt, const char* alias,
|
||||
enum fdt_status status, unsigned int error_code);
|
||||
static inline int fdt_status_okay_by_alias(void *fdt, const char* alias)
|
||||
{
|
||||
return fdt_set_status_by_alias(fdt, alias, FDT_STATUS_OKAY, 0);
|
||||
}
|
||||
static inline int fdt_status_disabled_by_alias(void *fdt, const char* alias)
|
||||
{
|
||||
return fdt_set_status_by_alias(fdt, alias, FDT_STATUS_DISABLED, 0);
|
||||
}
|
||||
|
||||
#endif /* ifdef CONFIG_OF_LIBFDT */
|
||||
#endif /* ifndef __FDT_SUPPORT_H */
|
||||
|
||||
@@ -226,4 +226,8 @@ int phy_natsemi_init(void);
|
||||
int phy_realtek_init(void);
|
||||
int phy_teranetics_init(void);
|
||||
int phy_vitesse_init(void);
|
||||
|
||||
/* PHY UIDs for various PHYs that are referenced in external code */
|
||||
#define PHY_UID_TN2020 0x00a19410
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user