Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91476
b: refs/heads/master
c: 22b619e
h: refs/heads/master
v: v3
  • Loading branch information
Alexandr Smirnov authored and Kumar Gala committed Mar 26, 2008
1 parent 238515a commit 09e9e65
Show file tree
Hide file tree
Showing 44 changed files with 371 additions and 2,644 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 99d8be052e248e09abf51d4a656717259bf9b930
refs/heads/master: 22b619eee525371a65d1386e5d6439b26d9b024c
16 changes: 16 additions & 0 deletions trunk/Documentation/powerpc/booting-without-of.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,10 @@ platforms are moved over to use the flattened-device-tree model.

Recommended properties:

- linux,network-index : This is the intended "index" of this
network device. This is used by the bootwrapper to interpret
MAC addresses passed by the firmware when no information other
than indices is available to associate an address with a device.
- phy-connection-type : a string naming the controller/PHY interface type,
i.e., "mii" (default), "rmii", "gmii", "rgmii", "rgmii-id", "sgmii",
"tbi", or "rtbi". This property is only really needed if the connection
Expand Down Expand Up @@ -1663,6 +1667,10 @@ platforms are moved over to use the flattened-device-tree model.
- phy-handle : The phandle for the PHY connected to this controller.

Recommended properties:
- linux,network-index : This is the intended "index" of this
network device. This is used by the bootwrapper to interpret
MAC addresses passed by the firmware when no information other
than indices is available to associate an address with a device.
- phy-connection-type : a string naming the controller/PHY interface type,
i.e., "mii" (default), "rmii", "gmii", "rgmii", "rgmii-id" (Internal
Delay), "rgmii-txid" (delay on TX only), "rgmii-rxid" (delay on RX only),
Expand Down Expand Up @@ -1987,6 +1995,7 @@ platforms are moved over to use the flattened-device-tree model.
interrupts = <20 8>;
interrupt-parent = <&PIC>;
phy-handle = <&PHY0>;
linux,network-index = <0>;
fsl,cpm-command = <12000300>;
};

Expand Down Expand Up @@ -2208,6 +2217,12 @@ platforms are moved over to use the flattened-device-tree model.
EMAC, that is the content of the current (bogus) "phy-port"
property.

Recommended properties:
- linux,network-index : This is the intended "index" of this
network device. This is used by the bootwrapper to interpret
MAC addresses passed by the firmware when no information other
than indices is available to associate an address with a device.

Optional properties:
- phy-address : 1 cell, optional, MDIO address of the PHY. If absent,
a search is performed.
Expand All @@ -2231,6 +2246,7 @@ platforms are moved over to use the flattened-device-tree model.
Example:

EMAC0: ethernet@40000800 {
linux,network-index = <0>;
device_type = "network";
compatible = "ibm,emac-440gp", "ibm,emac";
interrupt-parent = <&UIC1>;
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,6 @@ config FSL_PCI
bool
select PPC_INDIRECT_PCI

config 4xx_SOC
bool

# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
config MCA
bool
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ src-plat := of.c cuboot-52xx.c cuboot-824x.c cuboot-83xx.c cuboot-85xx.c holly.c
cuboot-bamboo.c cuboot-mpc7448hpc2.c cuboot-taishan.c \
fixed-head.S ep88xc.c ep405.c \
cuboot-katmai.c cuboot-rainier.c redboot-8xx.c ep8248e.c \
cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c
cuboot-warp.c cuboot-85xx-cpm2.c
src-boot := $(src-wlib) $(src-plat) empty.c

src-boot := $(addprefix $(obj)/, $(src-boot))
Expand Down Expand Up @@ -216,7 +216,6 @@ image-$(CONFIG_RAINIER) += cuImage.rainier
image-$(CONFIG_TAISHAN) += cuImage.taishan
image-$(CONFIG_KATMAI) += cuImage.katmai
image-$(CONFIG_WARP) += cuImage.warp
image-$(CONFIG_YOSEMITE) += cuImage.yosemite

# Board ports in arch/powerpc/platform/8xx/Kconfig
image-$(CONFIG_PPC_MPC86XADS) += cuImage.mpc866ads
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/boot/bamboo.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ static void bamboo_fixups(void)
ibm440ep_fixup_clocks(sysclk, 11059200, 25000000);
ibm4xx_sdram_fixup_memsize();
ibm4xx_quiesce_eth((u32 *)0xef600e00, (u32 *)0xef600f00);
dt_fixup_mac_address_by_alias("ethernet0", bamboo_mac0);
dt_fixup_mac_address_by_alias("ethernet1", bamboo_mac1);
dt_fixup_mac_addresses(bamboo_mac0, bamboo_mac1);
}

void bamboo_init(void *mac0, void *mac1)
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/boot/cuboot-rainier.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ static void rainier_fixups(void)
ibm440ep_fixup_clocks(sysclk, 11059200, 50000000);
ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");
ibm4xx_denali_fixup_memsize();
dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
dt_fixup_mac_addresses(&bd.bi_enetaddr, &bd.bi_enet1addr);
}

void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/boot/cuboot-sequoia.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ static void sequoia_fixups(void)
ibm440ep_fixup_clocks(sysclk, 11059200, 50000000);
ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");
ibm4xx_denali_fixup_memsize();
dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
dt_fixup_mac_addresses(&bd.bi_enetaddr, &bd.bi_enet1addr);
}

void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/boot/cuboot-taishan.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ static void taishan_fixups(void)

ibm4xx_sdram_fixup_memsize();

dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr);
dt_fixup_mac_addresses(bd.bi_enetaddr, bd.bi_enet1addr);

ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/cuboot-warp.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static void warp_fixups(void)
ibm440ep_fixup_clocks(sysclk, 11059200, 50000000);
ibm4xx_sdram_fixup_memsize();
ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");
dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr);
dt_fixup_mac_addresses(&bd.bi_enetaddr);
}


Expand Down
44 changes: 0 additions & 44 deletions trunk/arch/powerpc/boot/cuboot-yosemite.c

This file was deleted.

2 changes: 2 additions & 0 deletions trunk/arch/powerpc/boot/dts/bamboo.dts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
};

EMAC0: ethernet@ef600e00 {
linux,network-index = <0>;
device_type = "network";
compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
interrupt-parent = <&UIC1>;
Expand All @@ -224,6 +225,7 @@
};

EMAC1: ethernet@ef600f00 {
linux,network-index = <1>;
device_type = "network";
compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
interrupt-parent = <&UIC1>;
Expand Down
Loading

0 comments on commit 09e9e65

Please sign in to comment.