mirror of
https://github.com/u-boot/u-boot.git
synced 2025-01-09 12:23:26 +08:00
Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-mpc83xx
- A small PR with MC8309 fixes from Rasmus.
This commit is contained in:
commit
c00bd81ae0
@ -220,6 +220,8 @@ config ARCH_MPC8309
|
||||
select MPC83XX_QUICC_ENGINE
|
||||
select MPC83XX_PCI_SUPPORT
|
||||
select MPC83XX_SECOND_I2C_SUPPORT
|
||||
select SYS_FSL_ERRATUM_ESDHC111
|
||||
select FSL_ELBC
|
||||
|
||||
config ARCH_MPC831X
|
||||
bool
|
||||
@ -231,6 +233,7 @@ config ARCH_MPC8313
|
||||
bool
|
||||
select ARCH_MPC831X
|
||||
select MPC83XX_SECOND_I2C_SUPPORT
|
||||
select FSL_ELBC
|
||||
|
||||
config ARCH_MPC8315
|
||||
bool
|
||||
@ -238,6 +241,7 @@ config ARCH_MPC8315
|
||||
select MPC83XX_PCIE1_SUPPORT
|
||||
select MPC83XX_PCIE2_SUPPORT
|
||||
select MPC83XX_SATA_SUPPORT
|
||||
select FSL_ELBC
|
||||
|
||||
config ARCH_MPC832X
|
||||
bool
|
||||
@ -274,6 +278,7 @@ config ARCH_MPC837X
|
||||
select MPC83XX_SATA_SUPPORT
|
||||
select MPC83XX_LDP_PIN
|
||||
select MPC83XX_SECOND_I2C_SUPPORT
|
||||
select FSL_ELBC
|
||||
|
||||
config SYS_IMMR
|
||||
hex "Value for IMMR"
|
||||
@ -317,6 +322,9 @@ endif
|
||||
|
||||
endmenu
|
||||
|
||||
config FSL_ELBC
|
||||
bool
|
||||
|
||||
source "board/esd/vme8349/Kconfig"
|
||||
source "board/freescale/mpc8308rdb/Kconfig"
|
||||
source "board/freescale/mpc8313erdb/Kconfig"
|
||||
|
@ -9,7 +9,8 @@
|
||||
#if defined(CONFIG_ARCH_MPC8313) || defined(CONFIG_ARCH_MPC8308) || \
|
||||
defined(CONFIG_ARCH_MPC8315)
|
||||
#define MPC83XX_GPIO_CTRLRS 1
|
||||
#elif defined(CONFIG_ARCH_MPC834X) || defined(CONFIG_ARCH_MPC837X)
|
||||
#elif defined(CONFIG_ARCH_MPC834X) || defined(CONFIG_ARCH_MPC837X) || \
|
||||
defined(CONFIG_ARCH_MPC8309)
|
||||
#define MPC83XX_GPIO_CTRLRS 2
|
||||
#else
|
||||
#define MPC83XX_GPIO_CTRLRS 0
|
||||
|
@ -941,8 +941,7 @@ typedef struct immap {
|
||||
u8 res4[0x500];
|
||||
fsl_lbc_t im_lbc; /* Local Bus Controller Regs */
|
||||
u8 res5[0x1000];
|
||||
u8 spi[0x100];
|
||||
u8 res6[0xf00];
|
||||
spi8xxx_t spi; /* Serial Peripheral Interface */
|
||||
dma83xx_t dma; /* DMA */
|
||||
pciconf83xx_t pci_conf[1]; /* PCI Configuration Registers */
|
||||
u8 res7[0x80];
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <asm/types.h>
|
||||
|
||||
#if defined(CONFIG_ARCH_MPC8308) || \
|
||||
defined(CONFIG_ARCH_MPC8309) || \
|
||||
defined(CONFIG_ARCH_MPC8313) || \
|
||||
defined(CONFIG_ARCH_MPC8315) || \
|
||||
defined(CONFIG_ARCH_MPC834X) || \
|
||||
|
@ -66,7 +66,10 @@ static inline bool is_clk_valid(struct udevice *clk, int id)
|
||||
case MPC83XX_CLK_DMAC:
|
||||
return (type == SOC_MPC8308) || (type == SOC_MPC8309);
|
||||
case MPC83XX_CLK_PCI:
|
||||
return mpc83xx_has_pci(type);
|
||||
/*
|
||||
* FIXME: implement proper support for this.
|
||||
*/
|
||||
return 0 && mpc83xx_has_pci(type);
|
||||
case MPC83XX_CLK_CSB:
|
||||
return true;
|
||||
case MPC83XX_CLK_I2C2:
|
||||
|
@ -43,7 +43,6 @@
|
||||
#endif
|
||||
|
||||
#define CONFIG_PCI_INDIRECT_BRIDGE
|
||||
#define CONFIG_FSL_ELBC 1
|
||||
|
||||
/*
|
||||
* On-board devices
|
||||
|
@ -19,7 +19,6 @@
|
||||
#endif
|
||||
|
||||
#define CONFIG_PCI_INDIRECT_BRIDGE
|
||||
#define CONFIG_FSL_ELBC 1
|
||||
|
||||
/*
|
||||
* On-board devices
|
||||
|
@ -116,8 +116,6 @@
|
||||
#define CONFIG_SYS_GBL_DATA_OFFSET \
|
||||
(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
|
||||
|
||||
#define CONFIG_FSL_ELBC
|
||||
|
||||
/*
|
||||
* FLASH on the Local Bus
|
||||
*/
|
||||
|
@ -134,8 +134,6 @@
|
||||
#define CONFIG_SYS_GBL_DATA_OFFSET \
|
||||
(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
|
||||
|
||||
#define CONFIG_FSL_ELBC 1
|
||||
|
||||
/*
|
||||
* FLASH on the Local Bus
|
||||
*/
|
||||
|
@ -158,8 +158,6 @@
|
||||
#define CONFIG_SYS_GBL_DATA_OFFSET \
|
||||
(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
|
||||
|
||||
#define CONFIG_FSL_ELBC 1
|
||||
|
||||
/*
|
||||
* FLASH on the Local Bus
|
||||
*/
|
||||
|
@ -14,8 +14,6 @@
|
||||
/*
|
||||
* High Level Configuration Options
|
||||
*/
|
||||
#define CONFIG_FSL_ELBC
|
||||
|
||||
#define CONFIG_BOOT_RETRY_TIME 900
|
||||
#define CONFIG_BOOT_RETRY_MIN 30
|
||||
#define CONFIG_RESET_TO_RETRY
|
||||
|
@ -18,7 +18,6 @@
|
||||
#define CONFIG_E300 1
|
||||
|
||||
#define CONFIG_PCI_INDIRECT_BRIDGE 1
|
||||
#define CONFIG_FSL_ELBC 1
|
||||
|
||||
/*
|
||||
* On-board devices
|
||||
|
Loading…
Reference in New Issue
Block a user