MIPS patches
Subsystems (2)
Hi,
Please pull the following MIPS patches, thanks.
Daniel Schwierzeck (3):
MIPS: VCT: Fix enabling of unwanted options if networking or USB support are disabled
MIPS: Purple: Fix multiple definition error on final linking of u-boot binary
MIPS: dbau1x00: Remove unused flash driver stub
Shinya Kuribayashi (5):
cmd_ide: Fix an unused CONFIG_AU1X00 symbol to work as intended
MIPS: Move Alchemy Au1x00 based boards to boards.cfg
MIPS: Move Qemu MIPS target to boards.cfg
MIPS: Move Inca-IP targets to boards.cfg
MIPS: Move VCT boards to boards.cfg
Makefile | 89 ------------------------------------------ board/dbau1x00/Makefile | 2 +- board/dbau1x00/flash.c | 43 -------------------- board/incaip/lowlevel_init.S | 2 +- board/purple/u-boot.lds | 5 -- boards.cfg | 24 +++++++++++ common/cmd_ide.c | 3 +- include/configs/incaip.h | 9 +++- include/configs/vct.h | 7 ++- 9 files changed, 39 insertions(+), 145 deletions(-) delete mode 100644 board/dbau1x00/flash.c
Makefile +0 -89
@@ -1092,95 +1092,6 @@ smdk6400_config : unconfig @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk #======================================================================== -# MIPS -#======================================================================== -######################################################################### -## MIPS32 4Kc -######################################################################### - -incaip_100MHz_config \ -incaip_133MHz_config \ -incaip_150MHz_config \ -incaip_config: unconfig - @mkdir -p $(obj)include - @[ -z "$(findstring _100MHz,$@)" ] || \ - echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h - @[ -z "$(findstring _133MHz,$@)" ] || \ - echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h - @[ -z "$(findstring _150MHz,$@)" ] || \ - echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h - @$(MKCONFIG) -n $@ -a incaip mips mips incaip - -vct_premium_config \ -vct_premium_small_config \ -vct_premium_onenand_config \ -vct_premium_onenand_small_config \ -vct_platinum_config \ -vct_platinum_small_config \ -vct_platinum_onenand_config \ -vct_platinum_onenand_small_config \ -vct_platinumavc_config \ -vct_platinumavc_small_config \ -vct_platinumavc_onenand_config \ -vct_platinumavc_onenand_small_config: unconfig - @mkdir -p $(obj)include - @[ -z "$(findstring _premium,$@)" ] || \ - echo "#define CONFIG_VCT_PREMIUM" > $(obj)include/config.h - @[ -z "$(findstring _platinum_,$@)" ] || \ - echo "#define CONFIG_VCT_PLATINUM" > $(obj)include/config.h - @[ -z "$(findstring _platinumavc,$@)" ] || \ - echo "#define CONFIG_VCT_PLATINUMAVC" > $(obj)include/config.h - @[ -z "$(findstring _onenand,$@)" ] || \ - echo "#define CONFIG_VCT_ONENAND" >> $(obj)include/config.h - @[ -z "$(findstring _small,$@)" ] || \ - echo "#define CONFIG_VCT_SMALL_IMAGE" >> $(obj)include/config.h - @$(MKCONFIG) -n $@ -a vct mips mips vct micronas - -######################################################################### -## MIPS32 AU1X00 -######################################################################### - -dbau1000_config : unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_DBAU1000 1" >$(obj)include/config.h - @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 - -dbau1100_config : unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_DBAU1100 1" >$(obj)include/config.h - @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 - -dbau1500_config : unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_DBAU1500 1" >$(obj)include/config.h - @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 - -dbau1550_config : unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h - @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 - -dbau1550_el_config : unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_DBAU1550 1" >$(obj)include/config.h - @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 - -gth2_config : unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_GTH2 1" >$(obj)include/config.h - @$(MKCONFIG) -a $@ mips mips gth2 - -pb1000_config : unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_PB1000 1" >$(obj)include/config.h - @$(MKCONFIG) -a pb1x00 mips mips pb1x00 - -qemu_mips_config : unconfig - @mkdir -p $(obj)include - @echo "#define CONFIG_QEMU_MIPS 1" >$(obj)include/config.h - @$(MKCONFIG) -a qemu-mips mips mips qemu-mips - -#======================================================================== # Nios #========================================================================
board/dbau1x00/Makefile +1 -1
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).o -COBJS = $(BOARD).o flash.o +COBJS = $(BOARD).o SOBJS = lowlevel_init.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
board/dbau1x00/flash.c deleted +0 -43
43 lines not on this page · raw message
board/incaip/lowlevel_init.S +1 -1
@@ -283,7 +283,7 @@ lowlevel_init: /* EBU, CGU and SDRAM Initialization. */ - li a0, CPU_CLOCK_RATE + li a0, CONFIG_CPU_CLOCK_RATE move t0, ra /* We rely on the fact that neither ebu_init() nor cgu_init() nor sdram_init()
board/purple/u-boot.lds +0 -5
@@ -36,11 +36,6 @@ SECTIONS { arch/mips/cpu/start.o (.text) board/purple/lowlevel_init.o (.text) - arch/mips/cpu/cache.o (.text) - common/main.o (.text) - common/dlmalloc.o (.text) - common/cmd_boot.o (.text) - lib/zlib.o (.text) . = DEFINED(env_offset) ? env_offset : .; common/env_embedded.o (.ppcenv)
boards.cfg +24 -0
@@ -213,8 +213,32 @@ M5282EVB m68k mcf52x2 m5282evb freesca M53017EVB m68k mcf52x2 m53017evb freescale EP2500 m68k mcf52x2 ep2500 Mercury microblaze-generic microblaze microblaze microblaze-generic xilinx +dbau1000 mips mips dbau1x00 - - dbau1x00:DBAU1000 +dbau1100 mips mips dbau1x00 - - dbau1x00:DBAU1100 +dbau1500 mips mips dbau1x00 - - dbau1x00:DBAU1500 +dbau1550 mips mips dbau1x00 - - dbau1x00:DBAU1550 +dbau1550_el mips mips dbau1x00 - - dbau1x00:DBAU1550 +gth2 mips mips +incaip mips mips +incaip_100MHz mips mips incaip - - incaip:CPU_CLOCK_RATE=100000000 +incaip_133MHz mips mips incaip - - incaip:CPU_CLOCK_RATE=133000000 +incaip_150MHz mips mips incaip - - incaip:CPU_CLOCK_RATE=150000000 +pb1000 mips mips pb1x00 - - pb1x00:PB1000 purple mips mips +qemu_mips mips mips qemu-mips - - qemu-mips tb0229 mips mips +vct_premium mips mips vct micronas - vct:VCT_PREMIUM +vct_premium_small mips mips vct micronas - vct:VCT_PREMIUM,VCT_SMALL_IMAGE +vct_premium_onenand mips mips vct micronas - vct:VCT_PREMIUM,VCT_ONENAND +vct_premium_onenand_small mips mips vct micronas - vct:VCT_PREMIUM,VCT_ONENAND,VCT_SMALL_IMAGE +vct_platinum mips mips vct micronas - vct:VCT_PLATINUM +vct_platinum_small mips mips vct micronas - vct:VCT_PLATINUM,VCT_SMALL_IMAGE +vct_platinum_onenand mips mips vct micronas - vct:VCT_PLATINUM,VCT_ONENAND +vct_platinum_onenand_small mips mips vct micronas - vct:VCT_PLATINUM,VCT_ONENAND,VCT_SMALL_IMAGE +vct_platinumavc mips mips vct micronas - vct:VCT_PLATINUMAVC +vct_platinumavc_small mips mips vct micronas - vct:VCT_PLATINUMAVC,VCT_SMALL_IMAGE +vct_platinumavc_onenand mips mips vct micronas - vct:VCT_PLATINUMAVC,VCT_ONENAND +vct_platinumavc_onenand_small mips mips vct micronas - vct:VCT_PLATINUMAVC,VCT_ONENAND,VCT_SMALL_IMAGE PCI5441 nios2 nios2 pci5441 psyent PK1C20 nios2 nios2 pk1c20 psyent EVB64260 powerpc 74xx_7xx evb64260 - - EVB64260
common/cmd_ide.c +2 -1
@@ -811,7 +811,8 @@ set_pcmcia_timing (int pmode)/* We only need to swap data if we are running on a big endian cpu. */ /* But Au1x00 cpu:s already swaps data in big endian mode! */ -#if defined(__LITTLE_ENDIAN) || ( defined(CONFIG_AU1X00 ) && !defined(CONFIG_GTH2 ) ) +#if defined(__LITTLE_ENDIAN) || \ + (defined(CONFIG_SOC_AU1X00 ) && !defined(CONFIG_GTH2 ))#define input_swap_data (x,y,z) input_data(x,y,z)#else static void
include/configs/incaip.h +6 -3
@@ -31,9 +31,12 @@#define CONFIG_MIPS32 1/* MIPS 4Kc CPU core */ #define CONFIG_INCA_IP 1/* on a INCA-IP Board */ -#ifndef CPU_CLOCK_RATE -/* allowed values: 100000000, 133000000, and 150000000 */ -#define CPU_CLOCK_RATE 150000000/* default: 150 MHz clock for the MIPS core */ +/* +* Clock for the MIPS core (MHz) +* allowed values: 100000000, 133000000, and 150000000 (default) +*/ +#ifndef CONFIG_CPU_CLOCK_RATE +#define CONFIG_CPU_CLOCK_RATE 150000000#endif #define INFINEON_EBU_BOOTCFG 0x40C4/* CMULT = 8 */
include/configs/vct.h +5 -2
@@ -109,17 +109,20 @@/* * Only Premium/Platinum have ethernet support right now */ -#if defined(CONFIG_VCT_PREMIUM ) || defined(CONFIG_VCT_PLATINUM ) +#if (defined(CONFIG_VCT_PREMIUM ) || defined(CONFIG_VCT_PLATINUM )) && \ + !defined(CONFIG_VCT_SMALL_IMAGE )#define CONFIG_CMD_PING #define CONFIG_CMD_SNTP #else #undef CONFIG_CMD_NET +#undef CONFIG_CMD_NFS#endif /* * Only Premium/Platinum have USB-EHCI support right now */ -#if defined(CONFIG_VCT_PREMIUM ) || defined(CONFIG_VCT_PLATINUM ) +#if (defined(CONFIG_VCT_PREMIUM ) || defined(CONFIG_VCT_PLATINUM )) && \ + !defined(CONFIG_VCT_SMALL_IMAGE )#define CONFIG_CMD_USB #define CONFIG_CMD_FAT #endif
Wolfgang Denk
AppliedDear Shinya Kuribayashi,
Quoted 16 lines · In message <[email protected]> you wrote:
Hi,
Please pull the following MIPS patches, thanks.
Daniel Schwierzeck (3):
MIPS: VCT: Fix enabling of unwanted options if networking or USB support are disabled
MIPS: Purple: Fix multiple definition error on final linking of u-boot binary
MIPS: dbau1x00: Remove unused flash driver stubShinya Kuribayashi (5):
cmd_ide: Fix an unusedCONFIG_AU1X00symbol to work as intended
MIPS: Move Alchemy Au1x00 based boards to boards.cfg
MIPS: Move Qemu MIPS target to boards.cfg
MIPS: Move Inca-IP targets to boards.cfg
MIPS: Move VCT boards to boards.cfg
Quoted 11 lines
Makefile | 89 ------------------------------------------ board/dbau1x00/Makefile | 2 +- board/dbau1x00/flash.c | 43 -------------------- board/incaip/lowlevel_init.S | 2 +- board/purple/u-boot.lds | 5 -- boards.cfg | 24 +++++++++++ common/cmd_ide.c | 3 +- include/configs/incaip.h | 9 +++- include/configs/vct.h | 7 ++- 9 files changed, 39 insertions(+), 145 deletions(-) delete mode 100644 board/dbau1x00/flash.c
Can you please use "git request-pull" next time?
In any case, please make sure to mention which branch I am supposed to pull from!
I figured you probably mean u-boot-mips.git #master - hope this was correct?
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A fail-safe circuit will destroy others. -- Klipstein