forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MIPS: generic: Convert SEAD-3 to a generic board
Convert the MIPS SEAD-3 board support to be a generic board, supported by generic kernels. Because the SEAD-3 boot protocol was defined long ago and we don't want to force a switch to the UHI protocol, SEAD-3 is added as a legacy board which is detected by reading the REVISION register. This may technically not be a valid memory read & future work will include attempting to handle that gracefully. In practice since SEAD-3 is the only legacy board supported by the generic kernel so far the read will only happen on SEAD-3 boards, and even once Malta is converted the same REVISION register exists there too. Other boards such as Boston, Ci20 & Ci40 will use the UHI boot protocol & thus not run any of the legacy board detect functions. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/14354/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
- Loading branch information
1 parent
eed0eab
commit 3f5f0a4
Showing
22 changed files
with
152 additions
and
730 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
CONFIG_LEGACY_BOARD_SEAD3=y | ||
|
||
CONFIG_AUXDISPLAY=y | ||
CONFIG_IMG_ASCII_LCD=y | ||
|
||
CONFIG_NEW_LEDS=y | ||
CONFIG_LEDS_CLASS=y | ||
CONFIG_LEDS_SYSCON=y | ||
|
||
CONFIG_MMC=y | ||
CONFIG_MMC_SPI=y | ||
|
||
CONFIG_MTD=y | ||
CONFIG_MTD_BLOCK=y | ||
CONFIG_MTD_CFI=y | ||
CONFIG_MTD_CFI_INTELEXT=y | ||
CONFIG_MTD_OF_PARTS=y | ||
CONFIG_MTD_PHYSMAP=y | ||
CONFIG_MTD_PHYSMAP_OF=y | ||
CONFIG_MTD_UBI=y | ||
CONFIG_MTD_UBI_GLUEBI=y | ||
|
||
CONFIG_NETDEVICES=y | ||
CONFIG_SMSC911X=y | ||
CONFIG_SMSC_PHY=y | ||
|
||
CONFIG_SERIAL_8250=y | ||
CONFIG_SERIAL_8250_CONSOLE=y | ||
CONFIG_SERIAL_OF_PLATFORM=y | ||
|
||
CONFIG_USB=y | ||
CONFIG_USB_EHCI_HCD=y |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ | |
obj-y += init.o | ||
obj-y += irq.o | ||
obj-y += proc.o | ||
|
||
obj-$(CONFIG_LEGACY_BOARD_SEAD3) += board-sead3.o |
Oops, something went wrong.