mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Merge branch 'master' of git://git.denx.de/u-boot-spi
- Various MTD fixes from Boris - Zap various unused / legacy paths. - pxa3xx NAND update from Miquel Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include <onenand_uboot.h>
|
||||
#include <scsi.h>
|
||||
#include <serial.h>
|
||||
#include <spi.h>
|
||||
#include <stdio_dev.h>
|
||||
#include <timer.h>
|
||||
#include <trace.h>
|
||||
@@ -379,20 +378,6 @@ static int initr_flash(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PPC) && !defined(CONFIG_DM_SPI)
|
||||
static int initr_spi(void)
|
||||
{
|
||||
/* MPC8xx does this here */
|
||||
#ifdef CONFIG_MPC8XX_SPI
|
||||
#if !defined(CONFIG_ENV_IS_IN_EEPROM)
|
||||
spi_init_f();
|
||||
#endif
|
||||
spi_init_r();
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CMD_NAND
|
||||
/* go init the NAND */
|
||||
static int initr_nand(void)
|
||||
@@ -744,9 +729,6 @@ static init_fnc_t init_sequence_r[] = {
|
||||
/* initialize higher level parts of CPU like time base and timers */
|
||||
cpu_init_r,
|
||||
#endif
|
||||
#if defined(CONFIG_PPC) && !defined(CONFIG_DM_SPI)
|
||||
initr_spi,
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_NAND
|
||||
initr_nand,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user