Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #629

Merged
merged 1 commit into from
Apr 24, 2021
Merged

fix #629

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions trunk/configs/boards/B70/kernel-3.4.x.config
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ CONFIG_RT2880_MTD_PHYSMAP_BUSWIDTH=2
CONFIG_RT2880_ROOTFS_IN_FLASH=y
CONFIG_ROOTFS_IN_FLASH_NO_PADDING=y
# CONFIG_MTD_NAND_USE_UBI_PART is not set
# CONFIG_MTD_NETGEAR_LAYOUT is not set
# CONFIG_MTD_CONFIG_PART_BELOW is not set
CONFIG_MTD_BOOTLOADER_PART_SIZ=0x0040000
CONFIG_MTD_BOOTENV_PART_SIZ=0x0040000
Expand Down
1 change: 1 addition & 0 deletions trunk/configs/boards/MI-3/kernel-3.4.x.config
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,7 @@ CONFIG_RT2880_MTD_PHYSMAP_BUSWIDTH=2
CONFIG_RT2880_ROOTFS_IN_FLASH=y
CONFIG_ROOTFS_IN_FLASH_NO_PADDING=y
# CONFIG_MTD_NAND_USE_UBI_PART is not set
# CONFIG_MTD_NETGEAR_LAYOUT is not set
CONFIG_MTD_CONFIG_PART_BELOW=y
CONFIG_MTD_BOOTLOADER_PART_SIZ=0x0040000
CONFIG_MTD_BOOTENV_PART_SIZ=0x0080000
Expand Down
1 change: 1 addition & 0 deletions trunk/configs/boards/MI-R3G/kernel-3.4.x.config
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ CONFIG_RT2880_MTD_PHYSMAP_BUSWIDTH=2
CONFIG_RT2880_ROOTFS_IN_FLASH=y
CONFIG_ROOTFS_IN_FLASH_NO_PADDING=y
# CONFIG_MTD_NAND_USE_UBI_PART is not set
# CONFIG_MTD_NETGEAR_LAYOUT is not set
CONFIG_MTD_CONFIG_PART_BELOW=y
CONFIG_MTD_BOOTLOADER_PART_SIZ=0x0080000
CONFIG_MTD_BOOTENV_PART_SIZ=0x0080000
Expand Down
1 change: 1 addition & 0 deletions trunk/configs/boards/R2100/kernel-3.4.x-5.0.config
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ CONFIG_RT2880_MTD_PHYSMAP_BUSWIDTH=2
CONFIG_RT2880_ROOTFS_IN_FLASH=y
CONFIG_ROOTFS_IN_FLASH_NO_PADDING=y
# CONFIG_MTD_NAND_USE_UBI_PART is not set
# CONFIG_MTD_NETGEAR_LAYOUT is not set
CONFIG_MTD_CONFIG_PART_BELOW=y
CONFIG_MTD_BOOTLOADER_PART_SIZ=0x0080000
CONFIG_MTD_BOOTENV_PART_SIZ=0x0080000
Expand Down
1 change: 1 addition & 0 deletions trunk/configs/boards/RM2100/kernel-3.4.x-5.0.config
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ CONFIG_RT2880_MTD_PHYSMAP_BUSWIDTH=2
CONFIG_RT2880_ROOTFS_IN_FLASH=y
CONFIG_ROOTFS_IN_FLASH_NO_PADDING=y
# CONFIG_MTD_NAND_USE_UBI_PART is not set
# CONFIG_MTD_NETGEAR_LAYOUT is not set
CONFIG_MTD_CONFIG_PART_BELOW=y
CONFIG_MTD_BOOTLOADER_PART_SIZ=0x0080000
CONFIG_MTD_BOOTENV_PART_SIZ=0x0080000
Expand Down
1 change: 1 addition & 0 deletions trunk/configs/boards/ZTE_E8820S/kernel-3.4.x.config
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ CONFIG_RT2880_MTD_PHYSMAP_BUSWIDTH=2
CONFIG_RT2880_ROOTFS_IN_FLASH=y
CONFIG_ROOTFS_IN_FLASH_NO_PADDING=y
# CONFIG_MTD_NAND_USE_UBI_PART is not set
# CONFIG_MTD_NETGEAR_LAYOUT is not set
# CONFIG_MTD_CONFIG_PART_BELOW is not set
CONFIG_MTD_BOOTLOADER_PART_SIZ=0x0040000
CONFIG_MTD_BOOTENV_PART_SIZ=0x0040000
Expand Down
4 changes: 2 additions & 2 deletions trunk/linux-3.4.x/drivers/mtd/ralink/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ config MTD_NETGEAR_LAYOUT
config MTD_FACTORY_OFFSET
hex "MTD 'Factory' Partition Offset (Unit:Bytes), for NETGEAR layout"
default 0x4600000
depends on (MTD_NAND_RALINK || MTD_NAND_MTK)
depends on (MTD_NETGEAR_LAYOUT)

config MTD_RWFS_OFFSET
hex "MTD 'RWFS' Partition Offset (Unit:Bytes), for NETGEAR layout"
default 0x5400000
depends on (MTD_NAND_RALINK || MTD_NAND_MTK)
depends on (MTD_NETGEAR_LAYOUT)


config MTD_CONFIG_PART_BELOW
Expand Down