mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 15:01:27 +02:00
arm: kirkwood: standardise the configuration
The Marvell plugs are very similar systems, and so it makes sense for their u-boots to have the same commands/configuration. Add EXT4 and MII to Dreamplug, DATE to Guruplug and Sheevaplug. Add CONFIG_SYS_ALT_MEMTEST to Sheevaplug. There are still command differences around NAND, SPI/NOR. Also default to building u-boot.kwb for Sheevaplug and Guruplug. Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
This commit is contained in:
committed by
Luka Perkov
parent
a21b4f0f99
commit
6456163908
@@ -45,14 +45,17 @@
|
|||||||
* Commands configuration
|
* Commands configuration
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
|
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
|
||||||
|
#define CONFIG_CMD_DATE
|
||||||
#define CONFIG_CMD_DHCP
|
#define CONFIG_CMD_DHCP
|
||||||
#define CONFIG_CMD_ENV
|
#define CONFIG_CMD_ENV
|
||||||
|
#define CONFIG_CMD_EXT2
|
||||||
|
#define CONFIG_CMD_EXT4
|
||||||
#define CONFIG_CMD_FAT
|
#define CONFIG_CMD_FAT
|
||||||
|
#define CONFIG_CMD_IDE
|
||||||
|
#define CONFIG_CMD_MII
|
||||||
#define CONFIG_CMD_SF
|
#define CONFIG_CMD_SF
|
||||||
#define CONFIG_CMD_PING
|
#define CONFIG_CMD_PING
|
||||||
#define CONFIG_CMD_USB
|
#define CONFIG_CMD_USB
|
||||||
#define CONFIG_CMD_IDE
|
|
||||||
#define CONFIG_CMD_DATE
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* mv-common.h should be defined after CMD configs since it used them
|
* mv-common.h should be defined after CMD configs since it used them
|
||||||
|
@@ -24,6 +24,9 @@
|
|||||||
#define CONFIG_MACH_GURUPLUG /* Machine type */
|
#define CONFIG_MACH_GURUPLUG /* Machine type */
|
||||||
#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
|
#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
|
||||||
|
|
||||||
|
/* Add target to build it automatically upon "make" */
|
||||||
|
#define CONFIG_BUILD_TARGET "u-boot.kwb"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compression configuration
|
* Compression configuration
|
||||||
*/
|
*/
|
||||||
@@ -46,6 +49,7 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
|
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
|
||||||
#define CONFIG_CMD_BOOTZ
|
#define CONFIG_CMD_BOOTZ
|
||||||
|
#define CONFIG_CMD_DATE
|
||||||
#define CONFIG_CMD_DHCP
|
#define CONFIG_CMD_DHCP
|
||||||
#define CONFIG_CMD_ENV
|
#define CONFIG_CMD_ENV
|
||||||
#define CONFIG_CMD_IDE
|
#define CONFIG_CMD_IDE
|
||||||
@@ -123,6 +127,13 @@
|
|||||||
#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
|
#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
|
||||||
#endif /*CONFIG_MVSATA_IDE*/
|
#endif /*CONFIG_MVSATA_IDE*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* RTC driver configuration
|
||||||
|
*/
|
||||||
|
#ifdef CONFIG_CMD_DATE
|
||||||
|
#define CONFIG_RTC_MV
|
||||||
|
#endif /* CONFIG_CMD_DATE */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* File system
|
* File system
|
||||||
*/
|
*/
|
||||||
|
@@ -24,6 +24,9 @@
|
|||||||
#define CONFIG_MACH_SHEEVAPLUG /* Machine type */
|
#define CONFIG_MACH_SHEEVAPLUG /* Machine type */
|
||||||
#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
|
#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
|
||||||
|
|
||||||
|
/* Add target to build it automatically upon "make" */
|
||||||
|
#define CONFIG_BUILD_TARGET "u-boot.kwb"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compression configuration
|
* Compression configuration
|
||||||
*/
|
*/
|
||||||
@@ -46,6 +49,7 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
|
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
|
||||||
#define CONFIG_CMD_BOOTZ
|
#define CONFIG_CMD_BOOTZ
|
||||||
|
#define CONFIG_CMD_DATE
|
||||||
#define CONFIG_CMD_DHCP
|
#define CONFIG_CMD_DHCP
|
||||||
#define CONFIG_CMD_ENV
|
#define CONFIG_CMD_ENV
|
||||||
#define CONFIG_CMD_IDE
|
#define CONFIG_CMD_IDE
|
||||||
@@ -132,6 +136,13 @@
|
|||||||
#define CONFIG_SYS_ATA_IDE1_OFFSET MV_SATA_PORT1_OFFSET
|
#define CONFIG_SYS_ATA_IDE1_OFFSET MV_SATA_PORT1_OFFSET
|
||||||
#endif /* CONFIG_CMD_IDE */
|
#endif /* CONFIG_CMD_IDE */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* RTC driver configuration
|
||||||
|
*/
|
||||||
|
#ifdef CONFIG_CMD_DATE
|
||||||
|
#define CONFIG_RTC_MV
|
||||||
|
#endif /* CONFIG_CMD_DATE */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* File system
|
* File system
|
||||||
*/
|
*/
|
||||||
@@ -146,4 +157,6 @@
|
|||||||
#define CONFIG_MTD_PARTITIONS
|
#define CONFIG_MTD_PARTITIONS
|
||||||
#define CONFIG_CMD_MTDPARTS
|
#define CONFIG_CMD_MTDPARTS
|
||||||
|
|
||||||
|
#define CONFIG_SYS_ALT_MEMTEST
|
||||||
|
|
||||||
#endif /* _CONFIG_SHEEVAPLUG_H */
|
#endif /* _CONFIG_SHEEVAPLUG_H */
|
||||||
|
Reference in New Issue
Block a user