Skip to content

Commit

Permalink
remove commented-out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozgur Can Leonard committed Feb 14, 2019
1 parent 3612bbc commit 9081b49
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 76 deletions.
51 changes: 0 additions & 51 deletions diffconfig.beta2

This file was deleted.

22 changes: 1 addition & 21 deletions target/linux/ramips/dts/MIR3P.dts
Original file line number Diff line number Diff line change
Expand Up @@ -174,30 +174,10 @@
};

&pcie {
/* mt76 doesn't support 7615 yet... */
status = "okay";
};

/* mt76 doesn't support 7615 yet... */
&pcie0 {
mt76@0,0 {
device_type = "pci";
compatible = "pci14c3,7615";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
ieee80211-freq-limit = <2400000 2500000>;
};
};

&pcie1 {
mt76@0,1 {
device_type = "pci";
compatible = "pci14c3,7615";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
};
};

&ethernet {
mtd-mac-address = <&factory 0xe000>;
mediatek,portmap = "llllw";
Expand Down
5 changes: 1 addition & 4 deletions target/linux/ramips/image/mt7621.mk
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,7 @@ define Device/mir3p
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_TITLE := Xiaomi Mi Router 3 Pro
IMAGES += factory.bin
# IMAGES += kernel1.bin rootfs0.bin factory.bin
# IMAGE/kernel1.bin := append-kernel
# IMAGE/rootfs0.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
# IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
DEVICE_PACKAGES := \
kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic uboot-envtools
Expand Down

0 comments on commit 9081b49

Please sign in to comment.