Merge branch 'master' of git://git.denx.de/u-boot-arm
authorTom Rini <trini@ti.com>
Sat, 8 Nov 2014 01:35:20 +0000 (20:35 -0500)
committerTom Rini <trini@ti.com>
Mon, 10 Nov 2014 21:25:28 +0000 (16:25 -0500)
1008 files changed:
CREDITS [deleted file]
Kconfig
MAINTAINERS
Makefile
README
arch/arm/Kconfig
arch/arm/cpu/arm1136/mx35/generic.c
arch/arm/cpu/arm926ejs/at91/led.c
arch/arm/cpu/arm926ejs/cache.c
arch/arm/cpu/arm926ejs/davinci/Kconfig
arch/arm/cpu/arm926ejs/kirkwood/Kconfig
arch/arm/cpu/arm926ejs/mxs/mxs.c
arch/arm/cpu/arm926ejs/mxs/spl_boot.c
arch/arm/cpu/arm926ejs/mxs/timer.c
arch/arm/cpu/arm926ejs/nomadik/Kconfig
arch/arm/cpu/arm926ejs/orion5x/Kconfig
arch/arm/cpu/arm926ejs/spear/cpu.c
arch/arm/cpu/arm926ejs/versatile/Kconfig
arch/arm/cpu/armv7/am33xx/board.c
arch/arm/cpu/armv7/am33xx/sys_info.c
arch/arm/cpu/armv7/exynos/Kconfig
arch/arm/cpu/armv7/highbank/Kconfig
arch/arm/cpu/armv7/keystone/Kconfig
arch/arm/cpu/armv7/keystone/Makefile
arch/arm/cpu/armv7/keystone/clock-k2l.c [new file with mode: 0644]
arch/arm/cpu/armv7/keystone/clock.c
arch/arm/cpu/armv7/keystone/cmd_clock.c
arch/arm/cpu/armv7/keystone/cmd_ddr3.c [new file with mode: 0644]
arch/arm/cpu/armv7/keystone/ddr3.c
arch/arm/cpu/armv7/keystone/init.c
arch/arm/cpu/armv7/keystone/msmc.c
arch/arm/cpu/armv7/keystone/spl.c [deleted file]
arch/arm/cpu/armv7/mx6/clock.c
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/cpu/armv7/omap-common/boot-common.c
arch/arm/cpu/armv7/omap3/Kconfig
arch/arm/cpu/armv7/omap3/board.c
arch/arm/cpu/armv7/omap3/emif4.c
arch/arm/cpu/armv7/omap3/sys_info.c
arch/arm/cpu/armv7/omap4/Kconfig
arch/arm/cpu/armv7/omap5/Kconfig
arch/arm/cpu/armv7/rmobile/Kconfig
arch/arm/cpu/armv7/rmobile/lowlevel_init_ca15.S
arch/arm/cpu/armv7/s5pc1xx/Kconfig
arch/arm/cpu/armv7/socfpga/misc.c
arch/arm/cpu/armv7/socfpga/u-boot-spl.lds
arch/arm/cpu/armv7/start.S
arch/arm/cpu/armv7/sunxi/Makefile
arch/arm/cpu/armv7/sunxi/board.c
arch/arm/cpu/armv7/sunxi/clock_sun4i.c
arch/arm/cpu/armv7/sunxi/clock_sun6i.c [new file with mode: 0644]
arch/arm/cpu/armv7/sunxi/cpu_info.c
arch/arm/cpu/armv7/sunxi/dram.c
arch/arm/cpu/armv7/sunxi/pinmux.c
arch/arm/cpu/armv7/sunxi/prcm.c [new file with mode: 0644]
arch/arm/cpu/armv7/tegra20/display.c
arch/arm/cpu/armv7/uniphier/Kconfig
arch/arm/cpu/armv7/uniphier/Makefile
arch/arm/cpu/armv7/uniphier/ph1-ld4/Makefile
arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c [new file with mode: 0644]
arch/arm/cpu/armv7/uniphier/ph1-pro4/Makefile
arch/arm/cpu/armv7/uniphier/ph1-pro4/platdevice.c [new file with mode: 0644]
arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile
arch/arm/cpu/armv7/uniphier/ph1-sld8/platdevice.c [new file with mode: 0644]
arch/arm/cpu/armv7/zynq/Kconfig
arch/arm/cpu/armv7/zynq/ddrc.c
arch/arm/cpu/armv7/zynq/spl.c
arch/arm/cpu/at91-common/spl.c
arch/arm/cpu/tegra-common/sys_info.c
arch/arm/dts/Makefile
arch/arm/dts/am335x-bone-common.dtsi
arch/arm/dts/dt-bindings/gpio/gpio.h [deleted file]
arch/arm/dts/exynos4210-pinctrl-uboot.dtsi
arch/arm/dts/exynos4210-trats.dts
arch/arm/dts/exynos4210-universal_c210.dts
arch/arm/dts/exynos4412-odroid.dts
arch/arm/dts/exynos4412-trats2.dts
arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi
arch/arm/dts/exynos4x12-pinctrl.dtsi
arch/arm/dts/sun7i-a20-pcduino3.dts [new file with mode: 0644]
arch/arm/dts/sun7i-a20.dtsi [new file with mode: 0644]
arch/arm/dts/sunxi-common-regulators.dtsi [new file with mode: 0644]
arch/arm/imx-common/cpu.c
arch/arm/imx-common/iomux-v3.c
arch/arm/imx-common/misc.c
arch/arm/imx-common/spl.c
arch/arm/imx-common/timer.c
arch/arm/imx-common/video.c
arch/arm/include/asm/arch-am33xx/mux.h
arch/arm/include/asm/arch-am33xx/sys_proto.h
arch/arm/include/asm/arch-at91/at91_shdwn.h [deleted file]
arch/arm/include/asm/arch-bcm2835/mbox.h
arch/arm/include/asm/arch-exynos/cpu.h
arch/arm/include/asm/arch-exynos/gpio.h
arch/arm/include/asm/arch-keystone/clock-k2e.h
arch/arm/include/asm/arch-keystone/clock-k2hk.h
arch/arm/include/asm/arch-keystone/clock-k2l.h [new file with mode: 0644]
arch/arm/include/asm/arch-keystone/clock.h
arch/arm/include/asm/arch-keystone/ddr3.h
arch/arm/include/asm/arch-keystone/emac_defs.h [deleted file]
arch/arm/include/asm/arch-keystone/hardware-k2e.h
arch/arm/include/asm/arch-keystone/hardware-k2hk.h
arch/arm/include/asm/arch-keystone/hardware-k2l.h [new file with mode: 0644]
arch/arm/include/asm/arch-keystone/hardware.h
arch/arm/include/asm/arch-keystone/msmc.h
arch/arm/include/asm/arch-keystone/spl.h [deleted file]
arch/arm/include/asm/arch-keystone/xhci-keystone.h [new file with mode: 0644]
arch/arm/include/asm/arch-mx6/crm_regs.h
arch/arm/include/asm/arch-mx6/mx6sl_pins.h
arch/arm/include/asm/arch-mxs/sys_proto.h
arch/arm/include/asm/arch-omap3/mux.h
arch/arm/include/asm/arch-omap3/sys_proto.h
arch/arm/include/asm/arch-rmobile/rcar-base.h
arch/arm/include/asm/arch-socfpga/spl.h [deleted file]
arch/arm/include/asm/arch-sunxi/clock.h
arch/arm/include/asm/arch-sunxi/clock_sun4i.h
arch/arm/include/asm/arch-sunxi/clock_sun6i.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/cpu.h
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/include/asm/arch-sunxi/mmc.h
arch/arm/include/asm/arch-sunxi/prcm.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/timer.h
arch/arm/include/asm/arch-sunxi/watchdog.h [new file with mode: 0644]
arch/arm/include/asm/arch-tegra/board.h
arch/arm/include/asm/arch-uniphier/platdevice.h [new file with mode: 0644]
arch/arm/include/asm/imx-common/iomux-v3.h
arch/arm/include/asm/imx-common/spi.h [new file with mode: 0644]
arch/arm/include/asm/imx-common/video.h
arch/arm/include/asm/omap_gpio.h
arch/arm/include/asm/spl.h
arch/arm/include/asm/ti-common/keystone_nav.h [moved from arch/arm/include/asm/arch-keystone/keystone_nav.h with 91% similarity]
arch/arm/include/asm/ti-common/keystone_net.h [new file with mode: 0644]
arch/arm/include/asm/ti-common/keystone_serdes.h [new file with mode: 0644]
arch/arm/include/asm/ti-common/ti-edma3.h [new file with mode: 0644]
arch/arm/include/asm/u-boot-arm.h
arch/arm/lib/board.c
arch/arm/lib/bootm.c
arch/arm/lib/interrupts.c
arch/arm/lib/relocate.S
arch/arm/lib/vectors.S
arch/blackfin/cpu/initcode.c
arch/microblaze/Kconfig
arch/mips/Kconfig
arch/mips/config.mk
arch/mips/cpu/mips32/config.mk
arch/mips/cpu/mips64/config.mk
arch/mips/cpu/u-boot.lds
arch/powerpc/cpu/74xx_7xx/Kconfig
arch/powerpc/cpu/74xx_7xx/start.S
arch/powerpc/cpu/mpc5xxx/Kconfig
arch/powerpc/cpu/mpc8260/Kconfig
arch/powerpc/cpu/mpc8260/ether_fcc.c
arch/powerpc/cpu/mpc8260/interrupts.c
arch/powerpc/cpu/mpc8260/pci.c
arch/powerpc/cpu/mpc8260/start.S
arch/powerpc/cpu/mpc83xx/Kconfig
arch/powerpc/cpu/mpc83xx/start.S
arch/powerpc/cpu/mpc85xx/Kconfig
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/powerpc/cpu/mpc8xx/Kconfig
arch/powerpc/cpu/mpc8xx/cpu_init.c
arch/powerpc/cpu/mpc8xx/fec.c
arch/powerpc/cpu/ppc4xx/Kconfig
arch/powerpc/cpu/ppc4xx/cpu_init.c
arch/powerpc/include/asm/immap_512x.h
arch/powerpc/include/asm/u-boot.h
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/types.h
arch/sh/lib/zimageboot.c
arch/sparc/Kconfig
arch/sparc/config.mk
arch/sparc/cpu/leon2/config.mk [deleted file]
arch/sparc/cpu/leon3/config.mk [deleted file]
arch/x86/cpu/Makefile
arch/x86/cpu/call64.S [new file with mode: 0644]
arch/x86/cpu/cpu.c
arch/x86/cpu/start.S
arch/x86/dts/coreboot.dtsi
arch/x86/dts/link.dts
arch/x86/include/asm/arch-coreboot/gpio.h [new file with mode: 0644]
arch/x86/include/asm/bootm.h
arch/x86/include/asm/cpu.h [new file with mode: 0644]
arch/x86/include/asm/gpio.h
arch/x86/include/asm/ibmpc.h
arch/x86/include/asm/msr-index.h
arch/x86/include/asm/types.h
arch/x86/include/asm/zimage.h
arch/x86/lib/bootm.c
arch/x86/lib/physmem.c
arch/x86/lib/relocate.c
arch/x86/lib/zimage.c
board/8dtech/eco5pk/eco5pk.h
board/BuR/kwb/Kconfig
board/BuR/tseries/Kconfig
board/BuS/eb_cpux9k2/Kconfig
board/BuS/vl_ma2sc/Kconfig
board/CarMediaLab/flea3/Kconfig
board/LaCie/wireless_space/MAINTAINERS
board/Marvell/aspenite/Kconfig
board/Marvell/common/flash.c [deleted file]
board/Marvell/common/i2c.c [deleted file]
board/Marvell/common/intel_flash.c [deleted file]
board/Marvell/common/misc.S [deleted file]
board/Marvell/common/serial.c
board/Marvell/db-mv784mp-gp/binary.0 [new file with mode: 0644]
board/Marvell/db64360/64360.h [deleted file]
board/Marvell/db64360/Kconfig [deleted file]
board/Marvell/db64360/MAINTAINERS [deleted file]
board/Marvell/db64360/Makefile [deleted file]
board/Marvell/db64360/README [deleted file]
board/Marvell/db64360/db64360.c [deleted file]
board/Marvell/db64360/eth.h [deleted file]
board/Marvell/db64360/mpsc.c [deleted file]
board/Marvell/db64360/mpsc.h [deleted file]
board/Marvell/db64360/mv_eth.c [deleted file]
board/Marvell/db64360/mv_eth.h [deleted file]
board/Marvell/db64360/mv_regs.h [deleted file]
board/Marvell/db64360/pci.c [deleted file]
board/Marvell/db64360/sdram_init.c [deleted file]
board/Marvell/db64460/64460.h [deleted file]
board/Marvell/db64460/Kconfig [deleted file]
board/Marvell/db64460/MAINTAINERS [deleted file]
board/Marvell/db64460/Makefile [deleted file]
board/Marvell/db64460/README [deleted file]
board/Marvell/db64460/db64460.c [deleted file]
board/Marvell/db64460/eth.h [deleted file]
board/Marvell/db64460/mpsc.c [deleted file]
board/Marvell/db64460/mpsc.h [deleted file]
board/Marvell/db64460/mv_eth.c [deleted file]
board/Marvell/db64460/mv_eth.h [deleted file]
board/Marvell/db64460/mv_regs.h [deleted file]
board/Marvell/db64460/pci.c [deleted file]
board/Marvell/db64460/sdram_init.c [deleted file]
board/Marvell/dkb/Kconfig
board/Marvell/gplugd/Kconfig
board/Marvell/include/core.h [deleted file]
board/Marvell/include/mv_gen_reg.h [deleted file]
board/afeb9260/Kconfig
board/altera/socfpga/Kconfig
board/aristainetos/Kconfig
board/aristainetos/aristainetos.c
board/armadeus/apf27/Kconfig
board/armltd/integrator/Kconfig
board/armltd/vexpress/Kconfig
board/atmel/at91rm9200ek/Kconfig
board/atmel/at91rm9200ek/led.c
board/atmel/at91sam9260ek/Kconfig
board/atmel/at91sam9260ek/led.c
board/atmel/at91sam9261ek/Kconfig
board/atmel/at91sam9263ek/Kconfig
board/atmel/at91sam9m10g45ek/Kconfig
board/atmel/at91sam9n12ek/Kconfig
board/atmel/at91sam9rlek/Kconfig
board/atmel/at91sam9x5ek/Kconfig
board/atmel/sama5d3_xplained/Kconfig
board/atmel/sama5d3xek/Kconfig
board/bachmann/ot1200/Kconfig
board/bachmann/ot1200/ot1200.c
board/balloon3/Kconfig
board/barco/titanium/Kconfig
board/bluegiga/apx4devkit/Kconfig
board/bluewater/snapper9260/Kconfig
board/boundary/nitrogen6x/Kconfig
board/boundary/nitrogen6x/nitrogen6x.c
board/broadcom/bcm28155_ap/Kconfig
board/broadcom/bcm958300k/Kconfig
board/broadcom/bcm958622hr/Kconfig
board/calao/sbc35_a9g20/Kconfig
board/calao/tny_a9260/Kconfig
board/calao/usb_a9263/Kconfig
board/cirrus/edb93xx/Kconfig
board/cm4008/Kconfig
board/cm41xx/Kconfig
board/cogent/lcd.c
board/compulab/cm_fx6/Kconfig
board/compulab/cm_fx6/cm_fx6.c
board/compulab/cm_fx6/common.c
board/compulab/cm_fx6/spl.c
board/compulab/cm_t335/Kconfig
board/compulab/cm_t35/cm_t35.c
board/compulab/cm_t3517/Kconfig [new file with mode: 0644]
board/compulab/cm_t3517/MAINTAINERS [new file with mode: 0644]
board/compulab/cm_t3517/Makefile [new file with mode: 0644]
board/compulab/cm_t3517/cm_t3517.c [new file with mode: 0644]
board/compulab/cm_t3517/mux.c [new file with mode: 0644]
board/compulab/cm_t54/cm_t54.c
board/compulab/common/Makefile
board/compulab/common/common.c [new file with mode: 0644]
board/compulab/common/common.h [new file with mode: 0644]
board/compulab/common/eeprom.c
board/compulab/common/omap3_smc911x.c [new file with mode: 0644]
board/compulab/common/splash.c [new file with mode: 0644]
board/congatec/cgtqmx6eval/Kconfig
board/creative/xfi3/Kconfig
board/davedenx/qong/Kconfig
board/dbau1x00/Kconfig
board/denx/m28evk/Kconfig
board/denx/m53evk/Kconfig
board/egnite/ethernut5/Kconfig
board/eltec/mhpc/Kconfig [deleted file]
board/eltec/mhpc/MAINTAINERS [deleted file]
board/eltec/mhpc/Makefile [deleted file]
board/eltec/mhpc/flash.c [deleted file]
board/eltec/mhpc/mhpc.c [deleted file]
board/eltec/mhpc/u-boot.lds.debug [deleted file]
board/embest/mx6boards/Kconfig
board/embest/mx6boards/mx6boards.c
board/emk/common/am79c874.c [deleted file]
board/emk/common/flash.c [deleted file]
board/emk/common/vpd.c [deleted file]
board/emk/top5200/Kconfig [deleted file]
board/emk/top5200/MAINTAINERS [deleted file]
board/emk/top5200/Makefile [deleted file]
board/emk/top5200/top5200.c [deleted file]
board/emk/top860/Kconfig [deleted file]
board/emk/top860/MAINTAINERS [deleted file]
board/emk/top860/Makefile [deleted file]
board/emk/top860/top860.c [deleted file]
board/emk/top860/u-boot.lds.debug [deleted file]
board/emk/top9000/Kconfig [deleted file]
board/emk/top9000/MAINTAINERS [deleted file]
board/emk/top9000/Makefile [deleted file]
board/emk/top9000/spi.c [deleted file]
board/emk/top9000/top9000.c [deleted file]
board/esd/common/auto_update.c
board/esd/cpci750/64360.h [deleted file]
board/esd/cpci750/Kconfig [deleted file]
board/esd/cpci750/MAINTAINERS [deleted file]
board/esd/cpci750/Makefile [deleted file]
board/esd/cpci750/cpci750.c [deleted file]
board/esd/cpci750/eth.h [deleted file]
board/esd/cpci750/i2c.c [deleted file]
board/esd/cpci750/i2c.h [deleted file]
board/esd/cpci750/ide.c [deleted file]
board/esd/cpci750/local.h [deleted file]
board/esd/cpci750/misc.S [deleted file]
board/esd/cpci750/mpsc.c [deleted file]
board/esd/cpci750/mpsc.h [deleted file]
board/esd/cpci750/mv_eth.c [deleted file]
board/esd/cpci750/mv_eth.h [deleted file]
board/esd/cpci750/mv_regs.h [deleted file]
board/esd/cpci750/pci.c [deleted file]
board/esd/cpci750/sdram_init.c [deleted file]
board/esd/cpci750/serial.c [deleted file]
board/esd/meesc/Kconfig
board/esd/otc570/Kconfig
board/esd/pci405/cmd_pci405.c
board/esd/pmc440/cmd_pmc440.c
board/esg/ima3-mx53/Kconfig
board/eukrea/cpu9260/Kconfig
board/eukrea/cpuat91/Kconfig
board/exmeritus/hww1u1a/Kconfig [deleted file]
board/exmeritus/hww1u1a/MAINTAINERS [deleted file]
board/exmeritus/hww1u1a/Makefile [deleted file]
board/exmeritus/hww1u1a/ddr.c [deleted file]
board/exmeritus/hww1u1a/gpios.h [deleted file]
board/exmeritus/hww1u1a/hww1u1a.c [deleted file]
board/exmeritus/hww1u1a/law.c [deleted file]
board/exmeritus/hww1u1a/tlb.c [deleted file]
board/faraday/a320evb/Kconfig
board/freescale/ls1021aqds/Kconfig
board/freescale/ls1021atwr/Kconfig
board/freescale/mpc5121ads/README
board/freescale/mx23evk/Kconfig
board/freescale/mx25pdk/Kconfig
board/freescale/mx28evk/Kconfig
board/freescale/mx31ads/Kconfig
board/freescale/mx31pdk/Kconfig
board/freescale/mx35pdk/Kconfig
board/freescale/mx51evk/Kconfig
board/freescale/mx53ard/Kconfig
board/freescale/mx53evk/Kconfig
board/freescale/mx53loco/Kconfig
board/freescale/mx53smd/Kconfig
board/freescale/mx6qarm2/Kconfig
board/freescale/mx6qsabreauto/Kconfig
board/freescale/mx6qsabreauto/mx6qsabreauto.c
board/freescale/mx6sabresd/Kconfig
board/freescale/mx6sabresd/mx6sabresd.c
board/freescale/mx6slevk/Kconfig
board/freescale/mx6slevk/mx6slevk.c
board/freescale/mx6sxsabresd/Kconfig
board/freescale/vf610twr/Kconfig
board/gaisler/gr_cpci_ax2000/Kconfig
board/gaisler/gr_cpci_ax2000/config.mk [deleted file]
board/gaisler/gr_ep2s60/Kconfig
board/gaisler/gr_ep2s60/config.mk [deleted file]
board/gaisler/gr_xc3s_1500/Kconfig
board/gaisler/gr_xc3s_1500/config.mk [deleted file]
board/gaisler/grsim/Kconfig
board/gaisler/grsim/config.mk [deleted file]
board/gaisler/grsim_leon2/Kconfig
board/gaisler/grsim_leon2/config.mk [deleted file]
board/gateworks/gw_ventana/Kconfig
board/gateworks/gw_ventana/gw_ventana.c
board/genesi/mx51_efikamx/Kconfig
board/genesi/mx51_efikamx/efikamx.c
board/gumstix/pepper/Kconfig
board/h2200/Kconfig
board/hale/tt01/Kconfig
board/htkw/mcx/mcx.h
board/hymod/Kconfig [deleted file]
board/hymod/MAINTAINERS [deleted file]
board/hymod/Makefile [deleted file]
board/hymod/bsp.c [deleted file]
board/hymod/config.mk [deleted file]
board/hymod/eeprom.c [deleted file]
board/hymod/env.c [deleted file]
board/hymod/fetch.c [deleted file]
board/hymod/flash.c [deleted file]
board/hymod/flash.h [deleted file]
board/hymod/global_env [deleted file]
board/hymod/hymod.c [deleted file]
board/hymod/hymod.h [deleted file]
board/hymod/input.c [deleted file]
board/hymod/u-boot.lds [deleted file]
board/hymod/u-boot.lds.debug [deleted file]
board/icpdas/lp8x4x/Kconfig
board/icu862/Kconfig [deleted file]
board/icu862/MAINTAINERS [deleted file]
board/icu862/Makefile [deleted file]
board/icu862/flash.c [deleted file]
board/icu862/icu862.c [deleted file]
board/icu862/pcmcia.c [deleted file]
board/icu862/u-boot.lds [deleted file]
board/icu862/u-boot.lds.debug [deleted file]
board/ids/ids8247/Kconfig [deleted file]
board/ids/ids8247/MAINTAINERS [deleted file]
board/ids/ids8247/Makefile [deleted file]
board/ids/ids8247/ids8247.c [deleted file]
board/imgtec/malta/Kconfig
board/imx31_phycore/Kconfig
board/isee/igep0033/Kconfig
board/isee/igep00x0/igep00x0.c
board/jornada/Kconfig
board/karo/tx25/Kconfig
board/keymile/common/common.c
board/kosagi/novena/Kconfig [new file with mode: 0644]
board/kosagi/novena/MAINTAINERS [new file with mode: 0644]
board/kosagi/novena/Makefile [new file with mode: 0644]
board/kosagi/novena/novena.c [new file with mode: 0644]
board/kosagi/novena/novena_spl.c [new file with mode: 0644]
board/kosagi/novena/setup.cfg [new file with mode: 0644]
board/logicpd/am3517evm/am3517evm.h
board/logicpd/imx27lite/Kconfig
board/logicpd/imx31_litekit/Kconfig
board/logicpd/omap3som/omap3logic.c
board/logicpd/zoom1/zoom1.c
board/matrix_vision/common/Makefile [deleted file]
board/matrix_vision/common/mv_common.c [deleted file]
board/matrix_vision/common/mv_common.h [deleted file]
board/matrix_vision/mvblx/sys_eeprom.c
board/maxbcm/binary.0 [new file with mode: 0644]
board/micronas/vct/Kconfig
board/mpl/vcma9/Kconfig
board/nvidia/common/board.c
board/nvidia/common/emc.c
board/nvidia/seaboard/seaboard.c
board/olimex/mx23_olinuxino/Kconfig
board/overo/overo.c
board/overo/overo.h
board/palmld/Kconfig
board/palmtc/Kconfig
board/palmtreo680/Kconfig
board/pandora/pandora.h
board/pb1x00/Kconfig
board/phytec/pcm051/Kconfig
board/ppcag/bg0900/Kconfig
board/prodrive/p3mx/64460.h [deleted file]
board/prodrive/p3mx/Kconfig [deleted file]
board/prodrive/p3mx/MAINTAINERS [deleted file]
board/prodrive/p3mx/Makefile [deleted file]
board/prodrive/p3mx/eth.h [deleted file]
board/prodrive/p3mx/misc.S [deleted file]
board/prodrive/p3mx/mpsc.c [deleted file]
board/prodrive/p3mx/mpsc.h [deleted file]
board/prodrive/p3mx/mv_eth.c [deleted file]
board/prodrive/p3mx/mv_eth.h [deleted file]
board/prodrive/p3mx/mv_regs.h [deleted file]
board/prodrive/p3mx/p3mx.c [deleted file]
board/prodrive/p3mx/p3mx.h [deleted file]
board/prodrive/p3mx/pci.c [deleted file]
board/prodrive/p3mx/sdram_init.c [deleted file]
board/prodrive/p3mx/serial.c [deleted file]
board/pxa255_idp/Kconfig
board/qemu-mips/Kconfig
board/raspberrypi/rpi_b/Kconfig
board/raspberrypi/rpi_b/rpi_b.c
board/renesas/alt/alt.c
board/renesas/alt/qos.c
board/renesas/koelsch/koelsch.c
board/renesas/koelsch/qos.c
board/renesas/lager/lager.c
board/renesas/lager/qos.c
board/ronetix/pm9261/Kconfig
board/ronetix/pm9263/Kconfig
board/ronetix/pm9g45/Kconfig
board/samsung/common/board.c
board/samsung/goni/Kconfig
board/samsung/odroid/odroid.c
board/samsung/smdk2410/Kconfig
board/samsung/smdkc100/Kconfig
board/samsung/universal_c210/universal.c
board/sandisk/sansa_fuze_plus/Kconfig
board/scb9328/Kconfig
board/scb9328/flash.c
board/schulercontrol/sc_sps_1/Kconfig
board/siemens/corvus/Kconfig
board/siemens/draco/Kconfig
board/siemens/pxm2/Kconfig
board/siemens/pxm2/board.c
board/siemens/rut/Kconfig
board/siemens/taurus/Kconfig
board/silica/pengwyn/Kconfig
board/solidrun/hummingboard/Kconfig
board/spear/spear300/Kconfig
board/spear/spear310/Kconfig
board/spear/spear320/Kconfig
board/spear/spear600/Kconfig
board/spear/x600/Kconfig
board/st-ericsson/snowball/Kconfig
board/st-ericsson/u8500/Kconfig
board/sunxi/Kconfig
board/sunxi/MAINTAINERS
board/sunxi/Makefile
board/sunxi/ahci.c
board/sunxi/board.c
board/sunxi/dram_a20_olinuxino_l2.c [new file with mode: 0644]
board/syteco/jadecpu/Kconfig
board/syteco/zmx25/Kconfig
board/taskit/stamp9g20/Kconfig
board/technexion/tao3530/tao3530.h
board/technexion/twister/twister.c
board/technexion/twister/twister.h
board/teejet/mt_ventoux/mt_ventoux.h
board/ti/am335x/Kconfig
board/ti/am335x/mux.c
board/ti/am3517crane/am3517crane.h
board/ti/am43xx/Kconfig
board/ti/beagle/beagle.c
board/ti/beagle/led.c
board/ti/evm/evm.h
board/ti/ks2_evm/Kconfig
board/ti/ks2_evm/MAINTAINERS
board/ti/ks2_evm/Makefile
board/ti/ks2_evm/README
board/ti/ks2_evm/board.c
board/ti/ks2_evm/board.h
board/ti/ks2_evm/board_k2e.c
board/ti/ks2_evm/board_k2hk.c
board/ti/ks2_evm/board_k2l.c [new file with mode: 0644]
board/ti/ks2_evm/ddr3_cfg.c
board/ti/ks2_evm/ddr3_cfg.h
board/ti/ks2_evm/ddr3_k2hk.c
board/ti/ks2_evm/ddr3_k2l.c [new file with mode: 0644]
board/ti/sdp3430/sdp.h
board/ti/ti814x/Kconfig
board/ti/ti816x/Kconfig
board/ti/tnetv107xevm/Kconfig
board/timll/devkit3250/Kconfig
board/toradex/colibri_pxa270/Kconfig
board/tqc/tqm8260/Kconfig [deleted file]
board/tqc/tqm8260/MAINTAINERS [deleted file]
board/tqc/tqm8260/Makefile [deleted file]
board/tqc/tqm8260/README [deleted file]
board/tqc/tqm8260/tqm8260.c [deleted file]
board/tqc/tqm8272/Kconfig [deleted file]
board/tqc/tqm8272/MAINTAINERS [deleted file]
board/tqc/tqm8272/Makefile [deleted file]
board/tqc/tqm8272/nand.c [deleted file]
board/tqc/tqm8272/tqm8272.c [deleted file]
board/tqc/tqm8272/tqm8272.h [deleted file]
board/tqc/tqma6/Kconfig
board/tqc/tqma6/tqma6.c
board/tqc/tqma6/tqma6_bb.h
board/trizepsiv/Kconfig
board/ttcontrol/vision2/Kconfig
board/ttcontrol/vision2/vision2.c
board/udoo/Kconfig
board/vpac270/Kconfig
board/w7o/fsboot.c
board/wandboard/Kconfig
board/woodburn/Kconfig
board/xaeniax/Kconfig
board/zipitz2/Kconfig
common/Makefile
common/aboot.c
common/board_f.c
common/board_r.c
common/bootm.c
common/cli.c
common/cli_hush.c
common/cmd_eeprom.c
common/cmd_elf.c
common/cmd_fitupd.c
common/cmd_gpio.c
common/cmd_io.c
common/cmd_mem.c
common/cmd_scsi.c
common/command.c
common/console.c
common/dlmalloc.c
common/env_nand.c
common/image-android.c
common/image-fdt.c
common/image-fit.c
common/image.c
common/lcd.c
common/menu.c
common/modem.c
common/spl/Makefile
common/spl/spl.c
common/spl/spl_ext.c [new file with mode: 0644]
common/spl/spl_fat.c
common/spl/spl_mmc.c
common/spl/spl_sata.c
common/spl/spl_usb.c
common/stdio.c
common/usb.c
common/usb_hub.c
common/usb_kbd.c
common/usb_storage.c
config.mk
configs/A10-OLinuXino-Lime_defconfig
configs/A10s-OLinuXino-M_defconfig
configs/A13-OLinuXinoM_defconfig
configs/A13-OLinuXino_defconfig
configs/A20-OLinuXino-Lime2_defconfig [new file with mode: 0644]
configs/A20-OLinuXino-Lime_defconfig
configs/A20-OLinuXino_MICRO_defconfig
configs/Auxtek-T004_defconfig
configs/Bananapi_defconfig
configs/CPCI750_defconfig [deleted file]
configs/Colombus_defconfig [new file with mode: 0644]
configs/Cubieboard2_FEL_defconfig [deleted file]
configs/Cubieboard2_defconfig
configs/Cubieboard_defconfig
configs/Cubietruck_FEL_defconfig [deleted file]
configs/Cubietruck_defconfig
configs/DB64360_defconfig [deleted file]
configs/DB64460_defconfig [deleted file]
configs/EVAL5200_defconfig [deleted file]
configs/HWW1U1A_defconfig [deleted file]
configs/ICU862_100MHz_defconfig [deleted file]
configs/ICU862_defconfig [deleted file]
configs/IDS8247_defconfig [deleted file]
configs/Ippo_q8h_v5_defconfig [new file with mode: 0644]
configs/Linksprite_pcDuino3_defconfig
configs/Linksprite_pcDuino3_fdt_defconfig [new file with mode: 0644]
configs/MHPC_defconfig [deleted file]
configs/MINI5200_defconfig [deleted file]
configs/Mele_A1000G_defconfig
configs/Mele_A1000_defconfig
configs/Mele_M3_defconfig [new file with mode: 0644]
configs/Mini-X-1Gb_defconfig
configs/Mini-X_defconfig
configs/TOP5200_defconfig [deleted file]
configs/TOP860_defconfig [deleted file]
configs/TQM8255_AA_defconfig [deleted file]
configs/TQM8260_AA_defconfig [deleted file]
configs/TQM8260_AB_defconfig [deleted file]
configs/TQM8260_AC_defconfig [deleted file]
configs/TQM8260_AD_defconfig [deleted file]
configs/TQM8260_AE_defconfig [deleted file]
configs/TQM8260_AF_defconfig [deleted file]
configs/TQM8260_AG_defconfig [deleted file]
configs/TQM8260_AH_defconfig [deleted file]
configs/TQM8260_AI_defconfig [deleted file]
configs/TQM8265_AA_defconfig [deleted file]
configs/TQM8272_defconfig [deleted file]
configs/am335x_boneblack_defconfig
configs/am335x_boneblack_vboot_defconfig
configs/am335x_evm_nor_defconfig
configs/am335x_evm_norboot_defconfig
configs/ba10_tv_box_defconfig
configs/cm_t3517_defconfig [new file with mode: 0644]
configs/dbau1000_defconfig
configs/dbau1100_defconfig
configs/dbau1500_defconfig
configs/dbau1550_defconfig
configs/dbau1550_el_defconfig
configs/gr_cpci_ax2000_defconfig
configs/gr_ep2s60_defconfig
configs/gr_xc3s_1500_defconfig
configs/grsim_defconfig
configs/grsim_leon2_defconfig
configs/hymod_defconfig [deleted file]
configs/i12-tvbox_defconfig
configs/k2l_evm_defconfig [new file with mode: 0644]
configs/malta_defconfig
configs/maltael_defconfig
configs/novena_defconfig [new file with mode: 0644]
configs/p3m7448_defconfig [deleted file]
configs/p3m750_defconfig [deleted file]
configs/pb1000_defconfig
configs/ph1_ld4_defconfig
configs/ph1_pro4_defconfig
configs/ph1_sld8_defconfig
configs/qemu_mips64_defconfig
configs/qemu_mips64el_defconfig
configs/qemu_mips_defconfig
configs/qemu_mipsel_defconfig
configs/qt840a_defconfig
configs/r7-tv-dongle_defconfig
configs/top9000eval_xe_defconfig [deleted file]
configs/top9000su_xe_defconfig [deleted file]
configs/vct_platinum_defconfig
configs/vct_platinum_onenand_defconfig
configs/vct_platinum_onenand_small_defconfig
configs/vct_platinum_small_defconfig
configs/vct_platinumavc_defconfig
configs/vct_platinumavc_onenand_defconfig
configs/vct_platinumavc_onenand_small_defconfig
configs/vct_platinumavc_small_defconfig
configs/vct_premium_defconfig
configs/vct_premium_onenand_defconfig
configs/vct_premium_onenand_small_defconfig
configs/vct_premium_small_defconfig
disk/part.c
doc/README.SPL
doc/README.kconfig
doc/README.kwbimage
doc/README.scrapyard
doc/README.standalone
doc/README.unaligned-memory-access.txt
doc/SPI/README.altera_spi [new file with mode: 0644]
doc/driver-model/README.txt
doc/git-mailrc
doc/mkimage.1
drivers/Makefile
drivers/block/dwc_ahsata.c
drivers/core/Kconfig
drivers/dma/Makefile
drivers/dma/keystone_nav.c [moved from arch/arm/cpu/armv7/keystone/keystone_nav.c with 52% similarity]
drivers/dma/keystone_nav_cfg.c [new file with mode: 0644]
drivers/dma/ti-edma3.c [new file with mode: 0644]
drivers/gpio/Kconfig
drivers/gpio/bcm2835_gpio.c
drivers/gpio/gpio-uclass.c
drivers/gpio/intel_ich6_gpio.c
drivers/gpio/kw_gpio.c
drivers/gpio/mxc_gpio.c
drivers/gpio/omap_gpio.c
drivers/gpio/s5p_gpio.c
drivers/gpio/sandbox.c
drivers/gpio/sunxi_gpio.c
drivers/gpio/tegra_gpio.c
drivers/i2c/Makefile
drivers/i2c/designware_i2c.c
drivers/i2c/i2c_core.c
drivers/i2c/mxs_i2c.c
drivers/i2c/tegra_i2c.c
drivers/input/tegra-kbc.c
drivers/mmc/Makefile
drivers/mmc/bcm2835_sdhci.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/s5p_sdhci.c
drivers/mmc/sdhci.c
drivers/mmc/sunxi_mmc.c
drivers/mmc/tegra_mmc.c
drivers/mtd/cfi_flash.c
drivers/mtd/nand/mxs_nand.c
drivers/mtd/nand/omap_gpmc.c
drivers/net/davinci_emac.c
drivers/net/e1000.c
drivers/net/e1000.h
drivers/net/eepro100.c
drivers/net/fec_mxc.c
drivers/net/keystone_net.c
drivers/net/phy/marvell.c
drivers/net/phy/phy.c
drivers/net/sh_eth.c
drivers/net/sh_eth.h
drivers/net/smc911x.c
drivers/net/uli526x.c
drivers/pci/pci.c
drivers/power/power_spi.c
drivers/power/twl4030.c
drivers/serial/Kconfig
drivers/serial/Makefile
drivers/serial/ns16550.c
drivers/serial/serial-uclass.c
drivers/serial/serial.c
drivers/serial/serial_coreboot.c [new file with mode: 0644]
drivers/serial/serial_dw.c [new file with mode: 0644]
drivers/serial/serial_mxc.c
drivers/serial/serial_ns16550.c
drivers/serial/serial_omap.c [new file with mode: 0644]
drivers/serial/serial_pl01x.c
drivers/serial/serial_s3c24x0.c
drivers/serial/serial_sh.c
drivers/serial/serial_sh.h
drivers/serial/serial_uniphier.c
drivers/soc/Makefile [new file with mode: 0644]
drivers/soc/keystone/Makefile [new file with mode: 0644]
drivers/soc/keystone/keystone_serdes.c [new file with mode: 0644]
drivers/spi/Kconfig
drivers/spi/altera_spi.c
drivers/spi/mxc_spi.c
drivers/usb/eth/asix.c
drivers/usb/host/Makefile
drivers/usb/host/dwc2.c [new file with mode: 0644]
drivers/usb/host/dwc2.h [new file with mode: 0644]
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-rmobile.c
drivers/usb/host/ehci-sunxi.c
drivers/usb/host/xhci-keystone.c [new file with mode: 0644]
drivers/video/cfb_console.c
drivers/video/exynos_fb.c
drivers/video/ipu_common.c
drivers/video/ipu_disp.c
drivers/video/mxc_ipuv3_fb.c
dts/Kconfig
fs/Makefile
fs/ext4/ext4_common.c
fs/zfs/zfs.c
include/asm-generic/gpio.h
include/asm-generic/u-boot.h
include/bootm.h
include/cli_hush.h
include/command.h
include/common.h
include/commproc.h
include/compiler.h
include/config_distro_defaults.h
include/configs/CPCI750.h [deleted file]
include/configs/DB64360.h [deleted file]
include/configs/DB64460.h [deleted file]
include/configs/HWW1U1A.h [deleted file]
include/configs/ICU862.h [deleted file]
include/configs/IDS8247.h [deleted file]
include/configs/MHPC.h [deleted file]
include/configs/PMC440.h
include/configs/TOP5200.h [deleted file]
include/configs/TOP860.h [deleted file]
include/configs/TQM5200.h
include/configs/TQM823L.h
include/configs/TQM823M.h
include/configs/TQM8260.h [deleted file]
include/configs/TQM8272.h [deleted file]
include/configs/TQM850L.h
include/configs/TQM850M.h
include/configs/TQM855L.h
include/configs/TQM855M.h
include/configs/TQM860L.h
include/configs/TQM860M.h
include/configs/TQM862L.h
include/configs/TQM862M.h
include/configs/TQM866M.h
include/configs/TQM885D.h
include/configs/ac14xx.h
include/configs/alt.h
include/configs/am335x_evm.h
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/am43xx_evm.h
include/configs/aria.h
include/configs/aristainetos.h
include/configs/axs101.h
include/configs/cm_t35.h
include/configs/cm_t3517.h [new file with mode: 0644]
include/configs/coreboot.h
include/configs/devkit8000.h
include/configs/digsy_mtc.h
include/configs/exynos-common.h
include/configs/hymod.h [deleted file]
include/configs/imx6_spl.h
include/configs/k2e_evm.h
include/configs/k2hk_evm.h
include/configs/k2l_evm.h [new file with mode: 0644]
include/configs/koelsch.h
include/configs/ks2_evm.h
include/configs/lager.h
include/configs/m28evk.h
include/configs/mcx.h
include/configs/mecp5123.h
include/configs/mpc5121ads.h
include/configs/mx6_common.h
include/configs/mx6qsabreauto.h
include/configs/mx6sabre_common.h
include/configs/mx6sabresd.h
include/configs/mx6slevk.h
include/configs/mxs.h
include/configs/novena.h [new file with mode: 0644]
include/configs/o2d.h
include/configs/o2d300.h
include/configs/o2dnt-common.h
include/configs/o2dnt2.h
include/configs/o2i.h
include/configs/o2mnt.h
include/configs/o3dnt.h
include/configs/omap3_evm.h
include/configs/omap3_evm_quick_mmc.h
include/configs/omap3_igep00x0.h
include/configs/omap3_overo.h
include/configs/ot1200.h
include/configs/p3mx.h [deleted file]
include/configs/pb1x00.h
include/configs/pdm360ng.h
include/configs/ph1_ld4.h
include/configs/ph1_pro4.h
include/configs/ph1_sld8.h
include/configs/rpi_b.h
include/configs/sama5d3_xplained.h
include/configs/sama5d3xek.h
include/configs/siemens-am33x-common.h
include/configs/socfpga_common.h
include/configs/socfpga_cyclone5.h
include/configs/spear-common.h
include/configs/sun4i.h
include/configs/sun5i.h
include/configs/sun6i.h [new file with mode: 0644]
include/configs/sun7i.h
include/configs/sun8i.h [new file with mode: 0644]
include/configs/sunxi-common.h
include/configs/tao3530.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/ti_am335x_common.h
include/configs/ti_armv7_common.h
include/configs/ti_omap3_common.h
include/configs/ti_omap4_common.h
include/configs/top9000.h [deleted file]
include/configs/tqma6.h
include/configs/tricorder.h
include/configs/uniphier-common.h
include/configs/wandboard.h
include/configs/woodburn_common.h
include/configs/x600.h
include/configs/zynq-common.h
include/dm/platform_data/serial-uniphier.h [new file with mode: 0644]
include/dm/platform_data/serial_mxc.h [moved from include/serial_mxc.h with 100% similarity]
include/dm/platform_data/serial_pl01x.h [moved from include/serial_pl01x.h with 100% similarity]
include/dm/test.h
include/dt-bindings/input/input.h [new file with mode: 0644]
include/dt-bindings/pinctrl/am33xx.h [moved from arch/arm/dts/dt-bindings/pinctrl/am33xx.h with 100% similarity]
include/dt-bindings/pinctrl/omap.h [moved from arch/arm/dts/dt-bindings/pinctrl/omap.h with 100% similarity]
include/elf.h
include/fdt_support.h
include/ide.h
include/image.h
include/inttypes.h [new file with mode: 0644]
include/linux/string.h
include/linux/types.h
include/linux/usb/dwc3.h
include/linux/usb/musb.h
include/mmc.h
include/ns16550.h
include/pci_ids.h
include/pcmcia.h
include/serial.h
include/spl.h
include/status_led.h
include/stdlib.h [new file with mode: 0644]
include/twl4030.h
include/usb.h
include/usb/omap1510_udc.h [deleted file]
lib/display_options.c
lib/lmb.c
lib/time.c
lib/vsprintf.c
net/eth.c
post/post.c
scripts/Kbuild.include
scripts/Makefile.autoconf
scripts/Makefile.build
scripts/Makefile.clean
scripts/Makefile.extrawarn
scripts/Makefile.host
scripts/Makefile.lib
scripts/kconfig/Makefile
scripts/kconfig/lxdialog/dialog.h
scripts/kconfig/merge_config.sh
scripts/kernel-doc
scripts/multiconfig.sh
test/command_ut.c
test/dm/core.c
test/dm/gpio.c
test/dm/test-main.c
test/stdint/int-types.c [new file with mode: 0644]
test/stdint/test-includes.sh [new file with mode: 0755]
tools/.gitignore
tools/Makefile
tools/bddb/README [deleted file]
tools/bddb/badsubmit.php [deleted file]
tools/bddb/bddb.css [deleted file]
tools/bddb/brlog.php [deleted file]
tools/bddb/browse.php [deleted file]
tools/bddb/config.php [deleted file]
tools/bddb/create_tables.sql [deleted file]
tools/bddb/defs.php [deleted file]
tools/bddb/dodelete.php [deleted file]
tools/bddb/dodellog.php [deleted file]
tools/bddb/doedit.php [deleted file]
tools/bddb/doedlog.php [deleted file]
tools/bddb/donew.php [deleted file]
tools/bddb/donewlog.php [deleted file]
tools/bddb/edit.php [deleted file]
tools/bddb/edlog.php [deleted file]
tools/bddb/execute.php [deleted file]
tools/bddb/index.php [deleted file]
tools/bddb/new.php [deleted file]
tools/bddb/newlog.php [deleted file]
tools/env/fw_env.c
tools/imximage.c
tools/kwbimage.c
tools/mkenvimage.c
tools/socfpgaimage.c

diff --git a/CREDITS b/CREDITS
deleted file mode 100644 (file)
index 43d4764..0000000
--- a/CREDITS
+++ /dev/null
@@ -1,536 +0,0 @@
-#
-#   Parts of the development effort for this project have been
-#   sponsored by SIEMENS AG, Austria. Thanks to SIEMENS for
-#   supporting an Open Source project!
-#
-#
-#   This is at least a partial credits-file of individual people that
-#   have contributed to the U-Boot project. It is sorted by name and
-#   formatted to allow easy grepping and beautification by scripts.
-#   The fields are: name (N), email (E), web-address (W), PGP key ID
-#   and fingerprint (P), description (D), and snail-mail address (S).
-#   Thanks,
-#
-#                       Wolfgang Denk
-#----------
-
-N: Dr. Bruno Achauer
-E: bruno@exet-ag.de
-D: Support for NetBSD (both as host and target system)
-
-N: Guillaume Alexandre
-E: guillaume.alexandre@gespac.ch
-D: Add PCIPPC6 configuration
-
-N: Pantelis Antoniou
-E: panto@intracom.gr
-D: NETVIA & NETPHONE board support, ARTOS support.
-D: Support for Silicon Turnkey eXpress XTc
-
-N: Pierre Aubert
-E: <p.aubert@staubli.com>
-D: Support for RPXClassic board
-
-N: Yuli Barcohen
-E: yuli@arabellasw.com
-D: Unified support for Motorola MPC826xADS/MPC8272ADS/PQ2FADS boards.
-D: Support for Zephyr Engineering ZPC.1900 board.
-D: Support for Interphase iSPAN boards.
-D: Support for Analogue&Micro Adder boards.
-D: Support for Analogue&Micro Rattler boards.
-W: http://www.arabellasw.com
-
-N: Jerry van Baren
-E: <vanbaren@cideas.com>
-D: BedBug port to 603e core (MPC82xx). Code for enhanced memory test.
-
-N: Pavel Bartusek
-E: <pba@sysgo.com>
-D: Reiserfs support
-W: http://www.elinos.com
-
-N: Andre Beaudin
-E: <andre.beaudin@colubris.com>
-D: PCMCIA, Ethernet, TFTP
-
-N: Jon Benediktsson
-E: jonb@marel.is
-D: Support for Marel V37 board
-
-N: Raphael Bossek
-E: raphael.bossek@solutions4linux.de
-D: 8xxrom-0.3.0
-
-N: Cliff Brake
-E: cliff.brake@gmail.com
-D: Port to Vibren PXA255 IDP platform
-W: http://www.vibren.com
-W: http://bec-systems.com
-
-N: Rick Bronson
-E: rick@efn.org
-D: Atmel AT91RM9200DK and NAND support
-
-N: David Brown
-E: DBrown03@harris.com
-D: Extensions to 8xxrom-0.3.0
-
-N: Oliver Brown
-E: obrown@adventnetworks.com
-D: Port to the gw8260 board
-
-N: Jonathan De Bruyne
-E: jonathan.debruyne@siemens.atea.be
-D: Port to Siemens IAD210 board
-
-N: Ken Chou
-E: kchou@ieee.org
-D: Support for A3000 SBC board
-
-N: Conn Clark
-E: clark@esteem.com
-D: ESTEEM192E support
-
-N: Magnus Damm
-E: damm@opensource.se
-D: 8xxrom
-
-N: Richard Danter
-E: richard.danter@windriver.com
-D: Support for Wind River PPMC 7xx/74xx boards
-
-N: George G. Davis
-E: gdavis@mvista.com
-D: Board ports for ADS GraphicsClient+ and Intel Assabet
-
-N: Arun Dharankar
-E: ADharankar@ATTBI.Com
-D: threads / scheduler example code
-
-N: K?ri Dav??sson
-E: kd@flaga.is
-D: FLAGA DM Support
-
-N: Wolfgang Denk
-E: wd@denx.de
-D: U-Boot initial version, continuing maintenance, ARMBoot merge
-W: http://www.denx.de
-
-N: Dan A. Dickey
-E: ddickey@charter.net
-D: FADS Support
-
-N: Mike Dunn
-E: mikedunn@newsguy.com
-D: Palmtreo680 board, docg4 nand flash driver
-
-N: Dave Ellis
-E: DGE@sixnetio.com
-D: EEPROM Speedup
-
-N: Daniel Engstr?m
-E: daniel@omicron.se
-D: x86 port, Support for sc520_cdp board
-
-N: Hayden Fraser
-E: Hayden.Fraser@freescale.com
-D: Support for ColdFire MCF5253
-W: www.freescale.com
-
-N: Dr. Wolfgang Grandegger
-E: wg@denx.de
-D: Support for Interphase 4539 T1/E1/J1 PMC, CCM, SCM boards
-W: www.denx.de
-
-N: Peter Figuli
-E: peposh@etc.sk
-D: Support for WEP EP250 (PXA) board
-
-N: Thomas Frieden
-E: ThomasF@hyperion-entertainment.com
-D: Support for AmigaOne
-
-N: Paul Gortmaker
-E: paul.gortmaker@windriver.com
-D: Support for WRS SBC8347/8349 boards
-
-N: Frank Gottschling
-E: fgottschling@eltec.de
-D: Support for ELTEC MHPC/ELPPC boards, cfb-console, i8042, SMI LynxEM
-W: www.eltec.de
-
-N: Marius Groeger
-E: mgroeger@sysgo.de
-D: MBX Support, board specific function interface, EST SBC8260 support; initial support for StrongARM (LART), ARM720TDMI (implementa A7)
-W: www.elinos.com
-
-N: Kirk Haderlie
-E: khaderlie@vividimage.com
-D: Added TFTP to 8xxrom (-> 0.3.1)
-
-N: Chris Hallinan
-E: clh@net1plus.com
-D: DHCP Support
-
-N: Anne-Sophie Harnois
-E: Anne-Sophie.Harnois@nextream.fr
-D: Port to Walnut405 board
-
-N: Andreas Heppel
-E: aheppel@sysgo.de
-D: CPU Support for MPC 75x
-
-N: Josh Huber
-E: huber@alum.wpi.edu
-D: Port to the Galileo Evaluation Board, and the MPC74xx cpu series.
-W: http://www.mclx.com/
-
-H: Stuart Hughes
-E: stuarth@lineo.com
-D: Port to MPC8260ADS board
-
-H: Rich Ireland
-E: r.ireland@computer.org
-D: FPGA device configuration driver
-
-H: Mark Jackson
-E: mpfj@mimc.co.uk
-D: Port to MIMC200 board
-
-N: Gary Jennejohn
-E: garyj@jennejohn.org
-D: Support for Samsung ARM920T S3C2400X, ARM920T "TRAB"
-W: www.denx.de
-
-N: Murray Jensen
-E: Murray.Jensen@csiro.au
-D: Initial 8260 support; GDB support
-D: Port to Cogent+Hymod boards; Hymod Board Database
-
-N: Yoo. Jonghoon
-E: yooth@ipone.co.kr
-D: Added port to the RPXlite board
-
-N: Mark Jonas
-E: mark.jonas@freescale.com
-D: Support for Freescale Total5200 platform
-W: http://www.mobilegt.com/
-
-N: Mark Jonas
-E: mark.jonas@de.bosch.com
-D: Support for MPR2 board
-
-N: Sam Song
-E: samsongshu@yahoo.com.cn
-D: Port to the RPXlite_DW board
-
-N: Brad Kemp
-E: Brad.Kemp@seranoa.com
-D: Port to Windriver ppmc8260 board
-
-N: Sangmoon Kim
-E: dogoil@etinsys.com
-D: Support for debris board
-D: Support for KVME080 board
-
-N: Frederick W. Klatt
-E: fred.klatt@windriver.com
-D: Support for Wind River SBC8540/SBC8560 boards
-
-N: Thomas Koeller
-E: tkoeller@gmx.net
-D: Port to Motorola Sandpoint 3 (MPC8240)
-
-N: Raghu Krishnaprasad
-E: Raghu.Krishnaprasad@fci.com
-D: Support for Adder-II MPC852T evaluation board
-W: http://www.forcecomputers.com
-
-N: Sergey Kubushyn
-E: ksi@koi8.net
-D: Support for various TI DaVinci based boards.
-
-N: Bernhard Kuhn
-E: bkuhn@metrowerks.com
-D Support for Coldfire CPU; Support for Motorola M5272C3 and M5282EVB boards
-
-N: Prakash Kumar
-E: prakash@embedx.com
-D  Support for Intrinsyc CERF PXA250 board.
-
-N: Thomas Lange
-E: thomas@corelatus.se
-D: Support for GTH, GTH2 and dbau1x00 boards; lots of PCMCIA fixes
-
-N: The LEOX team
-E: team@leox.org
-D: Support for LEOX boards, DS164x RTC
-W: http://www.leox.org
-
-N: TsiChung Liew
-E: Tsi-Chung.Liew@freescale.com
-D: Support for ColdFire MCF523x, MCF532x, MCF5445x, MCF547x_8x
-W: www.freescale.com
-
-N: Leif Lindholm
-E: leif.lindholm@i3micro.com
-D: Support for AMD dbau1550 board.
-
-N: Stephan Linz
-E: linz@li-pro.net
-D: Support for Nios Stratix Development Kit (DK-1S10)
-D: Support for SSV ADNP/ESC1 (Nios Cyclone)
-W: http://www.li-pro.net
-
-N: Dave Liu
-E: daveliu@freescale.com
-D: Support for MPC8315, MPC832x, MPC8360, MPC837x
-W: www.freescale.com
-
-N: Raymond Lo
-E: lo@routefree.com
-D: Support for DOS partitions
-
-N: James MacAulay
-E: james.macaulay@amirix.com
-D: Suppport for Amirix AP1000
-W: www.amirix.com
-
-N: Dan Malek
-E: dan@embeddedalley.com
-D: FADSROM, the grandfather of all of this
-D: Support for Silicon Turnkey eXpress XTc
-
-N: Andrea "llandre" Marson
-E: andrea.marson@dave-tech.it
-D: Port to PPChameleonEVB board
-W: www.dave-tech.it
-
-N: Reinhard Meyer
-E: r.meyer@emk-elektronik.de
-D: Port to EMK TOP860 Module
-
-N: Jay Monkman
-E: jtm@smoothsmoothie.com
-D: EST SBC8260 support
-
-N: Frank Morauf
-E: frank.morauf@salzbrenner.com
-D: Support for Embedded Planet RPX Super Board
-
-N: David M?ller
-E: d.mueller@elsoft.ch
-D: Support for Samsung ARM920T SMDK2410 eval board
-
-N: Scott McNutt
-E: smcnutt@psyent.com
-D: Support for Altera Nios-32 CPU
-D: Support for Altera Nios-II CPU
-D: Support for Nios Cyclone Development Kit (DK-1C20)
-W: http://www.psyent.com
-
-N: Rolf Offermanns
-E: rof@sysgo.de
-D: Initial support for SSV-DNP1110, SMC91111 driver
-W: www.elinos.com
-
-N: John Otken
-E: jotken@softadvances.com
-D: Support for AMCC Luan 440SP board
-
-N: Tolunay Orkun
-E: torkun@nextio.com
-D: Support for Cogent CSB272 & CSB472 boards
-
-N: Keith Outwater
-E: keith_outwater@mvis.com
-D: Support for generic/custom MPC860T boards (GEN860T, GEN860T_SC)
-
-N: Frank Panno
-E: fpanno@delphintech.com
-D: Support for Embedded Planet EP8260 Board
-
-N: Denis Peter
-E: d.peter@mpl.ch
-D: Support for 4xx SCSI, floppy, CDROM, CT69000 video, ...
-D: Support for PIP405 board
-D: Support for MIP405 board
-
-N: Dave Peverley
-E: dpeverley@mpc-data.co.uk
-W: http://www.mpc-data.co.uk
-D: OMAP730 P2 board support
-
-N: Bill Pitts
-E: wlp@mindspring.com
-D: BedBug embedded debugger code
-
-N: Daniel Poirot
-E: dan.poirot@windriver.com
-D: Support for the Wind River sbc405, sbc8240 board
-W: http://www.windriver.com
-
-N: Stelian Pop
-E: stelian@popies.net
-D: Atmel AT91CAP9ADK support
-
-N: Ricardo Ribalda Delgado
-E: ricardo.ribalda@uam.es
-D: PPC440x5 (Virtex5), ML507 Board, eeprom_simul, adt7460, v5fx30teval
-D: Virtex ppc440 generic architecture
-D: Virtex ppc405 generic architecture
-W: http://www.ii.uam.es/~rribalda
-
-N: Stefan Roese
-E: sr@denx.de
-D: AMCC PPC4xx Support
-W: http://www.denx.de
-
-N: Erwin Rol
-E: erwin@muffin.org
-D: boot support for RTEMS
-
-N: Paul Ruhland
-E: pruhland@rochester.rr.com
-D: Port to Logic Zoom LH7A40x SDK board(s)
-
-N: Neil Russell
-E: caret@c-side.com
-D: Author of LiMon-1.4.2, which contributed some ideas
-
-N: Travis B. Sawyer
-E: travis.sawyer@sandburst.com
-D: Support for AMCC PPC440GX, XES XPedite1000 440GX PrPMC board.  AMCC 440gx Ref Platform (Ocotea)
-
-N: Paolo Scaffardi
-E: arsenio@tin.it
-D: FADS823 configuration, MPC823 video support, I2C, wireless keyboard, lots more
-
-N: Andre Schwarz
-E: andre.schwarz@matrix-vision.de
-D: Support for Matrix Vision boards (MVBLM7/MVBC_P/MVSMR)
-
-N: Robert Schwebel
-E: r.schwebel@pengutronix.de
-D: Support for csb226 and innokom boards (PXA2xx)
-
-N: Aaron Sells
-E: sellsa@embeddedplanet.com
-D: Support for EP82xxM
-
-N: Art Shipkowski
-E: art@videon-central.com
-D: Support for NetSilicon NS7520
-D: Support for ColdFire MCF5275
-
-N: Jeremy C. Andrus
-E: jeremy@jeremya.com
-D: ColdFire MCF5249 initialization code
-W: jeremya.com
-
-N: Michal Simek
-E: monstr@monstr.eu
-D: Support for Microblaze, ML401, XUPV2P board
-W: www.monstr.eu
-
-N: Yasushi Shoji
-E: yashi@atmark-techno.com
-D: Support for Xilinx MicroBlaze, for Atmark Techno SUZAKU FPGA board
-
-N: Kurt Stremerch
-E: kurt@exys.be
-D: Support for Exys XSEngine board
-
-N: Andrea Scian
-E: andrea.scian@dave-tech.it
-D: Port to B2 board
-W: www.dave-tech.it
-
-N: Timur Tabi
-E: timur@freescale.com
-D: Support for MPC8349E-mITX
-W: www.freescale.com
-
-N: Rob Taylor
-E: robt@flyingpig.com
-D: Port to MBX860T and Sandpoint8240
-
-N: Erik Theisen
-E: etheisen@mindspring.com
-D: MBX8xx and many other patches
-
-N: Jim Thompson
-E: jim@musenki.com
-D: Support for MUSENKI board
-
-N: Rune Torgersen
-E: <runet@innovsys.com>
-D: Support for Motorola MPC8266ADS board
-
-N: Greg Ungerer
-E: greg.ungerer@opengear.com
-D: Support for ks8695 CPU, and OpenGear cmXXXX boards
-
-N: David Updegraff
-E: dave@cray.com
-D: Port to Cray L1 board; DHCP vendor extensions
-
-N: Christian Vejlbo
-E: christian.vejlbo@tellabs.com
-D: FADS860T ethernet support
-
-N: Robert Whaley
-E: rwhaley@applieddata.net
-D: Port to ARM PXA27x adsvix SBC
-
-N: Martin Winistoerfer
-E: martinwinistoerfer@gmx.ch
-D: Port to MPC555/556 microcontrollers and support for cmi board
-
-N: David Wu
-E: support@arcturusnetworks.com
-D: Mercury Security EP2500
-W: http://www.arcturusnetworks.com
-
-N: Ming-Len Wu
-E: minglen_wu@techware.com.tw
-D: Motorola MX1ADS board support
-W: http://www.techware.com.tw/
-
-N: Xianghua Xiao
-E: x.xiao@motorola.com
-D: Support for Motorola 85xx(PowerQUICC III) chip, MPC8540ADS and MPC8560ADS boards.
-
-N: John Zhan
-E: zhanz@sinovee.com
-D: Support for SinoVee Microsystems SC8xx SBC
-
-N: Alex Zuepke
-E: azu@sysgo.de
-D: Overall improvements on StrongARM, ARM720TDMI; Support for Tuxscreen; initial PCMCIA support for ARM
-W: www.elinos.com
-
-N: Nobuhiro Iwamatsu
-E: iwamatsu@nigauri.org
-D: Support for SuperH, MS7750SE01 and  MS7722SE01 boards.
-W: http://www.nigauri.org/~iwamatsu/
-
-N: Alan Lu
-E: alnalu001@gmail.com
-D: Support for Artila M-501 starter kit
-W: http://www.artila.com/
-
-N: Kimmo Leppala
-E: kimmo.leppala@sysart.fi
-D: Support for Artila M-501 starter kit
-W: http://www.sysart.fi/
-
-N: Timo Tuunainen
-E: timo.tuunainen@sysart.fi
-D: Support for Artila M-501 starter kit
-W: http://www.sysart.fi/
-
-N: Philip Balister
-E: philip@opensdr.com
-D: Port to Lyrtech SFFSDR development board.
-W: www.opensdr.com
diff --git a/Kconfig b/Kconfig
index e0c8992..f34f341 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -70,8 +70,15 @@ config TPL_BUILD
        depends on $KCONFIG_OBJDIR="tpl"
        default y
 
+config SUPPORT_SPL
+       bool
+
+config SUPPORT_TPL
+       bool
+
 config SPL
        bool
+       depends on SUPPORT_SPL
        prompt "Enable SPL" if !SPL_BUILD
        default y if SPL_BUILD
        help
@@ -79,7 +86,7 @@ config SPL
 
 config TPL
        bool
-       depends on SPL
+       depends on SPL && SUPPORT_TPL
        prompt "Enable TPL" if !SPL_BUILD
        default y if TPL_BUILD
        default n
@@ -100,6 +107,12 @@ config SYS_EXTRA_OPTIONS
          configuration to Kconfig. Since this option will be removed sometime,
          new boards should not use this option.
 
+config SYS_TEXT_BASE
+       depends on SPARC
+       hex "Text Base"
+       help
+         TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
+
 endmenu                # Boot images
 
 source "arch/Kconfig"
index fd346c9..c8386ab 100644 (file)
@@ -192,7 +192,8 @@ CFI FLASH
 M:     Stefan Roese <sr@denx.de>
 S:     Maintained
 T:     git git://git.denx.de/u-boot-cfi-flash.git
-F:     drivers/mtd/*
+F:     drivers/mtd/cfi_flash.c
+F:     drivers/mtd/jedec_flash.c
 
 COLDFIRE
 M:     Jason Jin <jason.jin@freescale.com>
@@ -253,7 +254,7 @@ T:  git git://git.denx.de/u-boot-mips.git
 F:     arch/mips/
 
 MMC
-M:     Pantelis Antoniou <panto.antoniou-consulting.com>
+M:     Pantelis Antoniou <panto@antoniou-consulting.com>
 S:     Maintained
 T:     git git://git.denx.de/u-boot-mmc.git
 F:     drivers/mmc/
index 26dacee..49fcdbb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,3 @@
-#
-# (C) Copyright 2000-2013
-# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-
 VERSION = 2014
 PATCHLEVEL = 10
 SUBLEVEL =
@@ -17,11 +10,9 @@ NAME =
 # Comments in this file are targeted only to the developer, do not
 # expect to learn how to build the kernel reading this file.
 
-# Do not:
-# o  use make's built-in rules and variables
-#    (this increases performance and avoids hard-to-debug behaviour);
-# o  print "Entering directory ...";
-MAKEFLAGS += -rR --no-print-directory
+# Do not use make's built-in rules and variables
+# (this increases performance and avoids hard-to-debug behaviour);
+MAKEFLAGS += -rR
 
 # Avoid funny character set dependencies
 unexport LC_ALL
@@ -29,6 +20,9 @@ LC_COLLATE=C
 LC_NUMERIC=C
 export LC_COLLATE LC_NUMERIC
 
+# Avoid interference with shell env settings
+unexport GREP_OPTIONS
+
 # We are using a recursive build, so we need to do a little thinking
 # to get the ordering right.
 #
@@ -45,6 +39,29 @@ export LC_COLLATE LC_NUMERIC
 # descending is started. They are now explicitly listed as the
 # prepare rule.
 
+# Beautify output
+# ---------------------------------------------------------------------------
+#
+# Normally, we echo the whole command before executing it. By making
+# that echo $($(quiet)$(cmd)), we now have the possibility to set
+# $(quiet) to choose other forms of output instead, e.g.
+#
+#         quiet_cmd_cc_o_c = Compiling $(RELDIR)/$@
+#         cmd_cc_o_c       = $(CC) $(c_flags) -c -o $@ $<
+#
+# If $(quiet) is empty, the whole command will be printed.
+# If it is set to "quiet_", only the short version will be printed.
+# If it is set to "silent_", nothing will be printed at all, since
+# the variable $(silent_cmd_cc_o_c) doesn't exist.
+#
+# A simple variant is to prefix commands with $(Q) - that's useful
+# for commands that shall be hidden in non-verbose mode.
+#
+#      $(Q)ln $@ :<
+#
+# If KBUILD_VERBOSE equals 0 then the above command will be hidden.
+# If KBUILD_VERBOSE equals 1 then the above command is displayed.
+#
 # To put more focus on warnings, be less verbose as default
 # Use 'make V=1' to see the full commands
 
@@ -55,33 +72,28 @@ ifndef KBUILD_VERBOSE
   KBUILD_VERBOSE = 0
 endif
 
-# Call a source code checker (by default, "sparse") as part of the
-# C compilation.
-#
-# Use 'make C=1' to enable checking of only re-compiled files.
-# Use 'make C=2' to enable checking of *all* source files, regardless
-# of whether they are re-compiled or not.
-#
-# See the file "Documentation/sparse.txt" for more details, including
-# where to get the "sparse" utility.
+ifeq ($(KBUILD_VERBOSE),1)
+  quiet =
+  Q =
+else
+  quiet=quiet_
+  Q = @
+endif
 
-ifeq ("$(origin C)", "command line")
-  KBUILD_CHECKSRC = $(C)
+# If the user is running make -s (silent mode), suppress echoing of
+# commands
+
+ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
+ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
+  quiet=silent_
 endif
-ifndef KBUILD_CHECKSRC
-  KBUILD_CHECKSRC = 0
+else                                   # make-3.8x
+ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
+  quiet=silent_
 endif
-
-# Use make M=dir to specify directory of external module to build
-# Old syntax make ... SUBDIRS=$PWD is still supported
-# Setting the environment variable KBUILD_EXTMOD take precedence
-ifdef SUBDIRS
-  KBUILD_EXTMOD ?= $(SUBDIRS)
 endif
 
-ifeq ("$(origin M)", "command line")
-  KBUILD_EXTMOD := $(M)
-endif
+export quiet Q KBUILD_VERBOSE
 
 # kbuild supports saving output files in a separate directory.
 # To locate output files in a separate directory two syntaxes are supported.
@@ -98,7 +110,6 @@ endif
 # The O= assignment takes precedence over the KBUILD_OUTPUT environment
 # variable.
 
-
 # KBUILD_SRC is set on invocation of make in OBJ directory
 # KBUILD_SRC is not intended to be used by the regular user (for now)
 ifeq ($(KBUILD_SRC),)
@@ -131,10 +142,8 @@ $(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
        @:
 
 sub-make: FORCE
-       $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \
-       KBUILD_SRC=$(CURDIR) \
-       KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \
-       $(filter-out _all sub-make,$(MAKECMDGOALS))
+       $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \
+       -f $(CURDIR)/Makefile $(filter-out _all sub-make,$(MAKECMDGOALS))
 
 # Leave processing to above invocation of make
 skip-makefile := 1
@@ -144,6 +153,39 @@ endif # ifeq ($(KBUILD_SRC),)
 # We process the rest of the Makefile if this is the final invocation of make
 ifeq ($(skip-makefile),)
 
+# Do not print "Entering directory ...",
+# but we want to display it when entering to the output directory
+# so that IDEs/editors are able to understand relative filenames.
+MAKEFLAGS += --no-print-directory
+
+# Call a source code checker (by default, "sparse") as part of the
+# C compilation.
+#
+# Use 'make C=1' to enable checking of only re-compiled files.
+# Use 'make C=2' to enable checking of *all* source files, regardless
+# of whether they are re-compiled or not.
+#
+# See the file "Documentation/sparse.txt" for more details, including
+# where to get the "sparse" utility.
+
+ifeq ("$(origin C)", "command line")
+  KBUILD_CHECKSRC = $(C)
+endif
+ifndef KBUILD_CHECKSRC
+  KBUILD_CHECKSRC = 0
+endif
+
+# Use make M=dir to specify directory of external module to build
+# Old syntax make ... SUBDIRS=$PWD is still supported
+# Setting the environment variable KBUILD_EXTMOD take precedence
+ifdef SUBDIRS
+  KBUILD_EXTMOD ?= $(SUBDIRS)
+endif
+
+ifeq ("$(origin M)", "command line")
+  KBUILD_EXTMOD := $(M)
+endif
+
 # If building an external module we do not care about the all: rule
 # but instead _all depend on modules
 PHONY += all
@@ -153,8 +195,18 @@ else
 _all: modules
 endif
 
-srctree                := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
-objtree                := $(CURDIR)
+ifeq ($(KBUILD_SRC),)
+        # building in the source tree
+        srctree := .
+else
+        ifeq ($(KBUILD_SRC)/,$(dir $(CURDIR)))
+                # building in a subdirectory of the source tree
+                srctree := ..
+        else
+                srctree := $(KBUILD_SRC)
+        endif
+endif
+objtree                := .
 src            := $(srctree)
 obj            := $(objtree)
 
@@ -262,52 +314,6 @@ endif
 export KBUILD_MODULES KBUILD_BUILTIN
 export KBUILD_CHECKSRC KBUILD_SRC KBUILD_EXTMOD
 
-# Beautify output
-# ---------------------------------------------------------------------------
-#
-# Normally, we echo the whole command before executing it. By making
-# that echo $($(quiet)$(cmd)), we now have the possibility to set
-# $(quiet) to choose other forms of output instead, e.g.
-#
-#         quiet_cmd_cc_o_c = Compiling $(RELDIR)/$@
-#         cmd_cc_o_c       = $(CC) $(c_flags) -c -o $@ $<
-#
-# If $(quiet) is empty, the whole command will be printed.
-# If it is set to "quiet_", only the short version will be printed.
-# If it is set to "silent_", nothing will be printed at all, since
-# the variable $(silent_cmd_cc_o_c) doesn't exist.
-#
-# A simple variant is to prefix commands with $(Q) - that's useful
-# for commands that shall be hidden in non-verbose mode.
-#
-#      $(Q)ln $@ :<
-#
-# If KBUILD_VERBOSE equals 0 then the above command will be hidden.
-# If KBUILD_VERBOSE equals 1 then the above command is displayed.
-
-ifeq ($(KBUILD_VERBOSE),1)
-  quiet =
-  Q =
-else
-  quiet=quiet_
-  Q = @
-endif
-
-# If the user is running make -s (silent mode), suppress echoing of
-# commands
-
-ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
-ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
-  quiet=silent_
-endif
-else                                   # make-3.8x
-ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
-  quiet=silent_
-endif
-endif
-
-export quiet Q KBUILD_VERBOSE
-
 # Look for make include files relative to root of kernel src
 MAKEFLAGS += --include-dir=$(srctree)
 
@@ -780,6 +786,13 @@ quiet_cmd_pad_cat = CAT     $@
 cmd_pad_cat = $(cmd_objcopy) && $(append) || rm -f $@
 
 all:           $(ALL-y)
+ifneq ($(CONFIG_SYS_GENERIC_BOARD),y)
+       @echo "===================== WARNING ======================"
+       @echo "Please convert this board to generic board."
+       @echo "Otherwise it will be removed by the end of 2014."
+       @echo "See doc/README.generic-board for further information"
+       @echo "===================================================="
+endif
 
 PHONY += dtbs
 dtbs dts/dt.dtb: checkdtc u-boot
@@ -946,7 +959,8 @@ u-boot-nand.gph: u-boot.bin FORCE
 ifneq ($(CONFIG_SUNXI),)
 OBJCOPYFLAGS_u-boot-sunxi-with-spl.bin = -I binary -O binary \
                                   --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0xff
-u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin u-boot.img FORCE
+u-boot-sunxi-with-spl.bin: spl/sunxi-spl.bin \
+                       u-boot$(if $(CONFIG_OF_CONTROL),-dtb,).img FORCE
        $(call if_changed,pad_cat)
 endif
 
@@ -1219,13 +1233,12 @@ include/license.h: tools/bin2header COPYING
 # make distclean Remove editor backup files, patch leftover files and the like
 
 # Directories & files removed with 'make clean'
-CLEAN_DIRS  += $(MODVERDIR)
-CLEAN_FILES += u-boot.lds include/bmp_logo.h include/bmp_logo_data.h
-
-# Directories & files removed with 'make clobber'
-CLOBBER_DIRS  += $(foreach d, spl tpl, $(patsubst %,$d/%, \
+CLEAN_DIRS  += $(MODVERDIR) \
+              $(foreach d, spl tpl, $(patsubst %,$d/%, \
                        $(filter-out include, $(shell ls -1 $d 2>/dev/null))))
-CLOBBER_FILES += u-boot* MLO* SPL System.map
+
+CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h \
+              u-boot* MLO* SPL System.map
 
 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config include/generated spl tpl \
@@ -1258,17 +1271,6 @@ clean: $(clean-dirs)
                -o -name modules.builtin -o -name '.tmp_*.o.*' \
                -o -name '*.gcno' \) -type f -print | xargs rm -f
 
-# clobber
-#
-clobber: rm-dirs  := $(CLOBBER_DIRS)
-clobber: rm-files := $(CLOBBER_FILES)
-
-PHONY += clobber
-
-clobber: clean
-       $(call cmd,rmdirs)
-       $(call cmd,rmfiles)
-
 # mrproper - Delete all generated files, including .config
 #
 mrproper: rm-dirs  := $(wildcard $(MRPROPER_DIRS))
@@ -1279,7 +1281,7 @@ PHONY += $(mrproper-dirs) mrproper archmrproper
 $(mrproper-dirs):
        $(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@)
 
-mrproper: clobber $(mrproper-dirs)
+mrproper: clean $(mrproper-dirs)
        $(call cmd,rmdirs)
        $(call cmd,rmfiles)
        @rm -f arch/*/include/asm/arch
@@ -1303,9 +1305,7 @@ backup:
 
 help:
        @echo  'Cleaning targets:'
-       @echo  '  clean           - Remove most generated files but keep the config and'
-       @echo  '                    necessities for testing u-boot'
-       @echo  '  clobber         - Remove most generated files but keep the config'
+       @echo  '  clean           - Remove most generated files but keep the config'
        @echo  '  mrproper        - Remove all generated files + config + various backup files'
        @echo  '  distclean       - mrproper + remove editor backup and patch files'
        @echo  ''
@@ -1314,7 +1314,7 @@ help:
        @echo  ''
        @echo  'Other generic targets:'
        @echo  '  all             - Build all necessary images depending on configuration'
-       @echo  '  u-boot          - Build the bare u-boot'
+       @echo  '* u-boot          - Build the bare u-boot'
        @echo  '  dir/            - Build all files in dir and below'
        @echo  '  dir/file.[oisS] - Build specified target only'
        @echo  '  dir/file.lst    - Build specified mixed source/assembly target only'
@@ -1322,8 +1322,8 @@ help:
        @echo  '  tags/ctags      - Generate ctags file for editors'
        @echo  '  etags           - Generate etags file for editors'
        @echo  '  cscope          - Generate cscope index'
-       @echo  '  ubootrelease    - Output the release version string'
-       @echo  '  ubootversion    - Output the version stored in Makefile'
+       @echo  '  ubootrelease    - Output the release version string (use with make -s)'
+       @echo  '  ubootversion    - Output the version stored in Makefile (use with make -s)'
        @echo  ''
        @echo  'Static analysers'
        @echo  '  checkstack      - Generate a list of stack hogs'
@@ -1444,7 +1444,7 @@ endif
 # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=dir
 # Usage:
 # $(Q)$(MAKE) $(clean)=dir
-clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj
+clean := -f $(srctree)/scripts/Makefile.clean obj
 
 endif  # skip-makefile
 
diff --git a/README b/README
index 3ff7932..c3a9dfc 100644 (file)
--- a/README
+++ b/README
@@ -1458,6 +1458,9 @@ The following options need to be configured:
                CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the
                txfilltuning field in the EHCI controller on reset.
 
+               CONFIG_USB_DWC2_REG_ADDR the physical CPU address of the DWC2
+               HW module registers.
+
 - USB Device:
                Define the below if you wish to use the USB console.
                Once firmware is rebuilt from a serial console issue the
@@ -3544,7 +3547,7 @@ FIT uImage format:
 
                CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR,
                CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS,
-               CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION
+               CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION
                Address, size and partition on the MMC to load U-Boot from
                when the MMC is being used in raw mode.
 
@@ -3561,16 +3564,19 @@ FIT uImage format:
                CONFIG_SPL_FAT_SUPPORT
                Support for fs/fat/libfat.o in SPL binary
 
-               CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME
-               Filename to read to load U-Boot when reading from FAT
+               CONFIG_SPL_EXT_SUPPORT
+               Support for EXT filesystem in SPL binary
+
+               CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
+               Filename to read to load U-Boot when reading from filesystem
 
-               CONFIG_SPL_FAT_LOAD_KERNEL_NAME
+               CONFIG_SPL_FS_LOAD_KERNEL_NAME
                Filename to read to load kernel uImage when reading
-               from FAT (for Falcon mode)
+               from filesystem (for Falcon mode)
 
-               CONFIG_SPL_FAT_LOAD_ARGS_NAME
+               CONFIG_SPL_FS_LOAD_ARGS_NAME
                Filename to read to load kernel argument parameters
-               when reading from FAT (for Falcon mode)
+               when reading from filesystem (for Falcon mode)
 
                CONFIG_SPL_MPC83XX_WAIT_FOR_NAND
                Set this for NAND SPL on PPC mpc83xx targets, so that
@@ -4051,6 +4057,11 @@ Configuration Settings:
        be asserted. See doc/README.omap-reset-time for details on how
        the value can be calulated on a given board.
 
+- CONFIG_USE_STDINT
+       If stdint.h is available with your toolchain you can define this
+       option to enable it. You can provide option 'USE_STDINT=1' when
+       building U-Boot to enable this.
+
 The following definitions that deal with the placement and management
 of environment data (variable area); in general, we support the
 following configurations:
@@ -5001,14 +5012,14 @@ this behavior and build U-Boot to some external directory:
        make O=/tmp/build NAME_defconfig
        make O=/tmp/build all
 
-2. Set environment variable BUILD_DIR to point to the desired location:
+2. Set environment variable KBUILD_OUTPUT to point to the desired location:
 
-       export BUILD_DIR=/tmp/build
+       export KBUILD_OUTPUT=/tmp/build
        make distclean
        make NAME_defconfig
        make all
 
-Note that the command line "O=" setting overrides the BUILD_DIR environment
+Note that the command line "O=" setting overrides the KBUILD_OUTPUT environment
 variable.
 
 
index 8d05bb9..79ccc06 100644 (file)
@@ -7,139 +7,221 @@ config SYS_ARCH
 config ARM64
        bool
 
+config HAS_VBAR
+        bool
+
+config CPU_ARM720T
+        bool
+
+config CPU_ARM920T
+        bool
+
+config CPU_ARM926EJS
+        bool
+
+config CPU_ARM946ES
+        bool
+
+config CPU_ARM1136
+        bool
+
+config CPU_ARM1176
+        bool
+        select HAS_VBAR
+
+config CPU_V7
+        bool
+        select HAS_VBAR
+
+config CPU_PXA
+        bool
+
+config CPU_SA1100
+        bool
+
+config SYS_CPU
+        default "arm720t" if CPU_ARM720T
+        default "arm920t" if CPU_ARM920T
+        default "arm926ejs" if CPU_ARM926EJS
+        default "arm946es" if CPU_ARM946ES
+        default "arm1136" if CPU_ARM1136
+        default "arm1176" if CPU_ARM1176
+        default "armv7" if CPU_V7
+        default "pxa" if CPU_PXA
+        default "sa1100" if CPU_SA1100
+
 choice
        prompt "Target select"
 
 config TARGET_INTEGRATORAP_CM720T
        bool "Support integratorap_cm720t"
+       select CPU_ARM720T
 
 config TARGET_INTEGRATORAP_CM920T
        bool "Support integratorap_cm920t"
+       select CPU_ARM920T
 
 config TARGET_INTEGRATORCP_CM920T
        bool "Support integratorcp_cm920t"
+       select CPU_ARM920T
 
 config TARGET_A320EVB
        bool "Support a320evb"
+       select CPU_ARM920T
 
 config TARGET_AT91RM9200EK
        bool "Support at91rm9200ek"
+       select CPU_ARM920T
 
 config TARGET_EB_CPUX9K2
        bool "Support eb_cpux9k2"
+       select CPU_ARM920T
 
 config TARGET_CPUAT91
        bool "Support cpuat91"
+       select CPU_ARM920T
 
 config TARGET_EDB93XX
        bool "Support edb93xx"
+       select CPU_ARM920T
 
 config TARGET_SCB9328
        bool "Support scb9328"
+       select CPU_ARM920T
 
 config TARGET_CM4008
        bool "Support cm4008"
+       select CPU_ARM920T
 
 config TARGET_CM41XX
        bool "Support cm41xx"
+       select CPU_ARM920T
 
 config TARGET_VCMA9
        bool "Support VCMA9"
+       select CPU_ARM920T
 
 config TARGET_SMDK2410
        bool "Support smdk2410"
+       select CPU_ARM920T
 
 config TARGET_INTEGRATORAP_CM926EJS
        bool "Support integratorap_cm926ejs"
+       select CPU_ARM926EJS
 
 config TARGET_INTEGRATORCP_CM926EJS
        bool "Support integratorcp_cm926ejs"
+       select CPU_ARM926EJS
 
 config TARGET_ASPENITE
        bool "Support aspenite"
+       select CPU_ARM926EJS
 
 config TARGET_GPLUGD
        bool "Support gplugd"
+       select CPU_ARM926EJS
 
 config TARGET_AFEB9260
        bool "Support afeb9260"
+       select CPU_ARM926EJS
 
 config TARGET_AT91SAM9260EK
        bool "Support at91sam9260ek"
+       select CPU_ARM926EJS
 
 config TARGET_AT91SAM9261EK
        bool "Support at91sam9261ek"
+       select CPU_ARM926EJS
 
 config TARGET_AT91SAM9263EK
        bool "Support at91sam9263ek"
+       select CPU_ARM926EJS
 
 config TARGET_AT91SAM9M10G45EK
        bool "Support at91sam9m10g45ek"
+       select CPU_ARM926EJS
 
 config TARGET_AT91SAM9N12EK
        bool "Support at91sam9n12ek"
+       select CPU_ARM926EJS
 
 config TARGET_AT91SAM9RLEK
        bool "Support at91sam9rlek"
+       select CPU_ARM926EJS
 
 config TARGET_AT91SAM9X5EK
        bool "Support at91sam9x5ek"
+       select CPU_ARM926EJS
 
 config TARGET_SNAPPER9260
        bool "Support snapper9260"
+       select CPU_ARM926EJS
 
 config TARGET_VL_MA2SC
        bool "Support vl_ma2sc"
+       select CPU_ARM926EJS
 
 config TARGET_SBC35_A9G20
        bool "Support sbc35_a9g20"
+       select CPU_ARM926EJS
 
 config TARGET_TNY_A9260
        bool "Support tny_a9260"
+       select CPU_ARM926EJS
 
 config TARGET_USB_A9263
        bool "Support usb_a9263"
+       select CPU_ARM926EJS
 
 config TARGET_ETHERNUT5
        bool "Support ethernut5"
-
-config TARGET_TOP9000
-       bool "Support top9000"
+       select CPU_ARM926EJS
 
 config TARGET_MEESC
        bool "Support meesc"
+       select CPU_ARM926EJS
 
 config TARGET_OTC570
        bool "Support otc570"
+       select CPU_ARM926EJS
 
 config TARGET_CPU9260
        bool "Support cpu9260"
+       select CPU_ARM926EJS
 
 config TARGET_PM9261
        bool "Support pm9261"
+       select CPU_ARM926EJS
 
 config TARGET_PM9263
        bool "Support pm9263"
+       select CPU_ARM926EJS
 
 config TARGET_PM9G45
        bool "Support pm9g45"
+       select CPU_ARM926EJS
 
 config TARGET_CORVUS
        bool "Support corvus"
+       select CPU_ARM926EJS
 
 config TARGET_TAURUS
        bool "Support taurus"
+       select CPU_ARM926EJS
 
 config TARGET_STAMP9G20
        bool "Support stamp9g20"
+       select CPU_ARM926EJS
 
 config ARCH_DAVINCI
        bool "TI DaVinci"
+       select CPU_ARM926EJS
        help
          Support for TI's DaVinci platform.
 
 config KIRKWOOD
        bool "Marvell Kirkwood"
+       select CPU_ARM926EJS
 
 config TARGET_DB_MV784MP_GP
        bool "Support db-mv784mp-gp"
@@ -149,326 +231,468 @@ config TARGET_MAXBCM
 
 config TARGET_DEVKIT3250
        bool "Support devkit3250"
+       select CPU_ARM926EJS
 
 config TARGET_JADECPU
        bool "Support jadecpu"
+       select CPU_ARM926EJS
 
 config TARGET_MX25PDK
        bool "Support mx25pdk"
+       select CPU_ARM926EJS
 
 config TARGET_TX25
        bool "Support tx25"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_ZMX25
        bool "Support zmx25"
+       select CPU_ARM926EJS
 
 config TARGET_APF27
        bool "Support apf27"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_IMX27LITE
        bool "Support imx27lite"
+       select CPU_ARM926EJS
 
 config TARGET_MAGNESIUM
        bool "Support magnesium"
+       select CPU_ARM926EJS
 
 config TARGET_APX4DEVKIT
        bool "Support apx4devkit"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_XFI3
        bool "Support xfi3"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_M28EVK
        bool "Support m28evk"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_MX23EVK
        bool "Support mx23evk"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_MX28EVK
        bool "Support mx28evk"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_MX23_OLINUXINO
        bool "Support mx23_olinuxino"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_BG0900
        bool "Support bg0900"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_SANSA_FUZE_PLUS
        bool "Support sansa_fuze_plus"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config TARGET_SC_SPS_1
        bool "Support sc_sps_1"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config ARCH_NOMADIK
        bool "ST-Ericsson Nomadik"
+       select CPU_ARM926EJS
 
 config ORION5X
        bool "Marvell Orion"
+       select CPU_ARM926EJS
 
 config TARGET_DKB
        bool "Support dkb"
+       select CPU_ARM926EJS
 
 config TARGET_SPEAR300
        bool "Support spear300"
+       select CPU_ARM926EJS
 
 config TARGET_SPEAR310
        bool "Support spear310"
+       select CPU_ARM926EJS
 
 config TARGET_SPEAR320
        bool "Support spear320"
+       select CPU_ARM926EJS
 
 config TARGET_SPEAR600
        bool "Support spear600"
+       select CPU_ARM926EJS
 
 config TARGET_X600
        bool "Support x600"
+       select CPU_ARM926EJS
+       select SUPPORT_SPL
 
 config ARCH_VERSATILE
        bool "ARM Ltd. Versatile family"
+       select CPU_ARM926EJS
 
 config TARGET_INTEGRATORCP_CM1136
        bool "Support integratorcp_cm1136"
+       select CPU_ARM1136
 
 config TARGET_IMX31_PHYCORE
        bool "Support imx31_phycore"
+       select CPU_ARM1136
 
 config TARGET_QONG
        bool "Support qong"
+       select CPU_ARM1136
 
 config TARGET_MX31ADS
        bool "Support mx31ads"
+       select CPU_ARM1136
 
 config TARGET_MX31PDK
        bool "Support mx31pdk"
+       select CPU_ARM1136
+       select SUPPORT_SPL
 
 config TARGET_TT01
        bool "Support tt01"
+       select CPU_ARM1136
 
 config TARGET_IMX31_LITEKIT
        bool "Support imx31_litekit"
+       select CPU_ARM1136
 
 config TARGET_WOODBURN
        bool "Support woodburn"
+       select CPU_ARM1136
 
 config TARGET_WOODBURN_SD
        bool "Support woodburn_sd"
+       select CPU_ARM1136
+       select SUPPORT_SPL
 
 config TARGET_FLEA3
        bool "Support flea3"
+       select CPU_ARM1136
 
 config TARGET_MX35PDK
        bool "Support mx35pdk"
+       select CPU_ARM1136
 
 config TARGET_RPI_B
        bool "Support rpi_b"
+       select CPU_ARM1176
 
 config TARGET_TNETV107X_EVM
        bool "Support tnetv107x_evm"
+       select CPU_ARM1176
 
 config TARGET_INTEGRATORAP_CM946ES
        bool "Support integratorap_cm946es"
+       select CPU_ARM946ES
 
 config TARGET_INTEGRATORCP_CM946ES
        bool "Support integratorcp_cm946es"
+       select CPU_ARM946ES
 
 config TARGET_VEXPRESS_CA15_TC2
        bool "Support vexpress_ca15_tc2"
+       select CPU_V7
 
 config TARGET_VEXPRESS_CA5X2
        bool "Support vexpress_ca5x2"
+       select CPU_V7
 
 config TARGET_VEXPRESS_CA9X4
        bool "Support vexpress_ca9x4"
+       select CPU_V7
 
 config TARGET_KWB
        bool "Support kwb"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_TSERIES
        bool "Support tseries"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_CM_T335
        bool "Support cm_t335"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_PEPPER
        bool "Support pepper"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_AM335X_IGEP0033
        bool "Support am335x_igep0033"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_PCM051
        bool "Support pcm051"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_DRACO
        bool "Support draco"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_DXR2
        bool "Support dxr2"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_PXM2
        bool "Support pxm2"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_RUT
        bool "Support rut"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_PENGWYN
        bool "Support pengwyn"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_AM335X_EVM
        bool "Support am335x_evm"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_AM43XX_EVM
        bool "Support am43xx_evm"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_TI814X_EVM
        bool "Support ti814x_evm"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_TI816X_EVM
        bool "Support ti816x_evm"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_SAMA5D3_XPLAINED
        bool "Support sama5d3_xplained"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_SAMA5D3XEK
        bool "Support sama5d3xek"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_BCM28155_AP
        bool "Support bcm28155_ap"
+       select CPU_V7
 
 config TARGET_BCM958300K
        bool "Support bcm958300k"
+       select CPU_V7
 
 config TARGET_BCM958622HR
        bool "Support bcm958622hr"
+       select CPU_V7
 
 config ARCH_EXYNOS
        bool "Samsung EXYNOS"
+       select CPU_V7
 
 config ARCH_S5PC1XX
        bool "Samsung S5PC1XX"
+       select CPU_V7
 
 config ARCH_HIGHBANK
        bool "Calxeda Highbank"
+       select CPU_V7
 
 config ARCH_KEYSTONE
        bool "TI Keystone"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_M53EVK
        bool "Support m53evk"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_IMA3_MX53
        bool "Support ima3-mx53"
+       select CPU_V7
 
 config TARGET_MX51EVK
        bool "Support mx51evk"
+       select CPU_V7
 
 config TARGET_MX53ARD
        bool "Support mx53ard"
+       select CPU_V7
 
 config TARGET_MX53EVK
        bool "Support mx53evk"
+       select CPU_V7
 
 config TARGET_MX53LOCO
        bool "Support mx53loco"
+       select CPU_V7
 
 config TARGET_MX53SMD
        bool "Support mx53smd"
+       select CPU_V7
 
 config TARGET_MX51_EFIKAMX
        bool "Support mx51_efikamx"
+       select CPU_V7
 
 config TARGET_VISION2
        bool "Support vision2"
+       select CPU_V7
 
 config TARGET_UDOO
        bool "Support udoo"
+       select CPU_V7
 
 config TARGET_WANDBOARD
        bool "Support wandboard"
+       select CPU_V7
 
 config TARGET_TITANIUM
        bool "Support titanium"
+       select CPU_V7
 
 config TARGET_NITROGEN6X
        bool "Support nitrogen6x"
+       select CPU_V7
 
 config TARGET_CGTQMX6EVAL
        bool "Support cgtqmx6eval"
+       select CPU_V7
 
 config TARGET_EMBESTMX6BOARDS
        bool "Support embestmx6boards"
+       select CPU_V7
 
 config TARGET_ARISTAINETOS
        bool "Support aristainetos"
+       select CPU_V7
 
 config TARGET_MX6QARM2
        bool "Support mx6qarm2"
+       select CPU_V7
 
 config TARGET_MX6QSABREAUTO
        bool "Support mx6qsabreauto"
+       select CPU_V7
 
 config TARGET_MX6SABRESD
        bool "Support mx6sabresd"
+       select CPU_V7
 
 config TARGET_MX6SLEVK
        bool "Support mx6slevk"
+       select CPU_V7
 
 config TARGET_MX6SXSABRESD
        bool "Support mx6sxsabresd"
+       select CPU_V7
 
 config TARGET_GW_VENTANA
        bool "Support gw_ventana"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_HUMMINGBOARD
        bool "Support hummingboard"
+       select CPU_V7
+
+config TARGET_KOSAGI_NOVENA
+       bool "Support Kosagi Novena"
 
 config TARGET_TQMA6
        bool "TQ Systems TQMa6 board"
+       select CPU_V7
 
 config TARGET_OT1200
        bool "Bachmann OT1200"
+       select CPU_V7
 
 config OMAP34XX
        bool "OMAP34XX SoC"
+       select CPU_V7
 
 config OMAP44XX
        bool "OMAP44XX SoC"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config OMAP54XX
        bool "OMAP54XX SoC"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config RMOBILE
        bool "Renesas ARM SoCs"
+       select CPU_V7
 
 config TARGET_CM_FX6
        bool "Support cm_fx6"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TARGET_SOCFPGA_CYCLONE5
        bool "Support socfpga_cyclone5"
+       select CPU_V7
+       select SUPPORT_SPL
 
-config TARGET_SUN4I
-       bool "Support sun4i"
-
-config TARGET_SUN5I
-       bool "Support sun5i"
-
-config TARGET_SUN7I
-       bool "Support sun7i"
+config ARCH_SUNXI
+       bool "Support sunxi (Allwinner) SoCs"
 
 config TARGET_SNOWBALL
        bool "Support snowball"
+       select CPU_V7
 
 config TARGET_U8500_HREF
        bool "Support u8500_href"
+       select CPU_V7
 
 config TARGET_VF610TWR
        bool "Support vf610twr"
+       select CPU_V7
 
 config ZYNQ
        bool "Xilinx Zynq Platform"
+       select CPU_V7
+       select SUPPORT_SPL
 
 config TEGRA
        bool "NVIDIA Tegra"
+       select SUPPORT_SPL
        select SPL
        select OF_CONTROL if !SPL_BUILD
+       select CPU_ARM720T if SPL_BUILD
+       select CPU_V7 if !SPL_BUILD
 
 config TARGET_VEXPRESS_AEMV8A
        bool "Support vexpress_aemv8a"
@@ -484,51 +708,70 @@ config TARGET_LS2085A_SIMU
 
 config TARGET_LS1021AQDS
        bool "Support ls1021aqds_nor"
+       select CPU_V7
 
 config TARGET_LS1021ATWR
        bool "Support ls1021atwr_nor"
+       select CPU_V7
 
 config TARGET_BALLOON3
        bool "Support balloon3"
+       select CPU_PXA
 
 config TARGET_H2200
        bool "Support h2200"
+       select CPU_PXA
 
 config TARGET_PALMLD
        bool "Support palmld"
+       select CPU_PXA
 
 config TARGET_PALMTC
        bool "Support palmtc"
+       select CPU_PXA
 
 config TARGET_PALMTREO680
        bool "Support palmtreo680"
+       select CPU_PXA
+       select SUPPORT_SPL
 
 config TARGET_PXA255_IDP
        bool "Support pxa255_idp"
+       select CPU_PXA
 
 config TARGET_TRIZEPSIV
        bool "Support trizepsiv"
+       select CPU_PXA
 
 config TARGET_VPAC270
        bool "Support vpac270"
+       select CPU_PXA
+       select SUPPORT_SPL
 
 config TARGET_XAENIAX
        bool "Support xaeniax"
+       select CPU_PXA
 
 config TARGET_ZIPITZ2
        bool "Support zipitz2"
+       select CPU_PXA
 
 config TARGET_LP8X4X
        bool "Support lp8x4x"
+       select CPU_PXA
 
 config TARGET_COLIBRI_PXA270
        bool "Support colibri_pxa270"
+       select CPU_PXA
 
 config TARGET_JORNADA
        bool "Support jornada"
+       select CPU_SA1100
 
 config ARCH_UNIPHIER
        bool "Panasonic UniPhier platform"
+       select CPU_V7
+       select SUPPORT_SPL
 
 endchoice
 
@@ -616,7 +859,6 @@ source "board/denx/m28evk/Kconfig"
 source "board/denx/m53evk/Kconfig"
 source "board/egnite/ethernut5/Kconfig"
 source "board/embest/mx6boards/Kconfig"
-source "board/emk/top9000/Kconfig"
 source "board/esd/meesc/Kconfig"
 source "board/esd/otc570/Kconfig"
 source "board/esg/ima3-mx53/Kconfig"
@@ -653,6 +895,7 @@ source "board/imx31_phycore/Kconfig"
 source "board/isee/igep0033/Kconfig"
 source "board/jornada/Kconfig"
 source "board/karo/tx25/Kconfig"
+source "board/kosagi/novena/Kconfig"
 source "board/logicpd/imx27lite/Kconfig"
 source "board/logicpd/imx31_litekit/Kconfig"
 source "board/maxbcm/Kconfig"
index 8d3f92c..bc98edd 100644 (file)
@@ -531,7 +531,7 @@ u32 spl_boot_mode(void)
        switch (spl_boot_device()) {
        case BOOT_DEVICE_MMC1:
 #ifdef CONFIG_SPL_FAT_SUPPORT
-               return MMCSD_MODE_FAT;
+               return MMCSD_MODE_FS;
 #else
                return MMCSD_MODE_RAW;
 #endif
index 46ed055..b8d5c78 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <asm/gpio.h>
 #include <asm/arch/gpio.h>
+#include <status_led.h>
 
 #ifdef CONFIG_RED_LED
 void red_led_on(void)
index e86c2ed..8d7873c 100644 (file)
@@ -99,7 +99,4 @@ void flush_cache(unsigned long start, unsigned long size)
 /*
  * Stub implementations for l2 cache operations
  */
-void __l2_cache_disable(void) {}
-
-void l2_cache_disable(void)
-       __attribute__((weak, alias("__l2_cache_disable")));
+__weak void l2_cache_disable(void) {}
index 4c18ab6..613f04d 100644 (file)
@@ -8,18 +8,22 @@ config TARGET_ENBW_CMC
 
 config TARGET_IPAM390
        bool "IPAM390 board"
+       select SUPPORT_SPL
 
 config TARGET_DA830EVM
        bool "DA830 EVM board"
 
 config TARGET_DA850EVM
        bool "DA850 EVM board"
+       select SUPPORT_SPL
 
 config TARGET_CAM_ENC_4XX
        bool "CAM ENC 4xx board"
+       select SUPPORT_SPL
 
 config TARGET_HAWKBOARD
        bool "Hawkboard"
+       select SUPPORT_SPL
 
 config TARGET_DAVINCI_DM355EVM
        bool "DM355 EVM board"
@@ -53,9 +57,6 @@ config TARGET_CALIMAIN
 
 endchoice
 
-config SYS_CPU
-       default "arm926ejs"
-
 config SYS_SOC
        default "davinci"
 
index 91ffedf..6c037a1 100644 (file)
@@ -59,9 +59,6 @@ config TARGET_GOFLEXHOME
 
 endchoice
 
-config SYS_CPU
-       default "arm926ejs"
-
 config SYS_SOC
        default "kirkwood"
 
index 365542f..ef130ae 100644 (file)
@@ -83,7 +83,9 @@ void mx28_fixup_vt(uint32_t start_addr)
        int i;
 
        for (i = 0; i < 8; i++) {
+               /* cppcheck-suppress nullPointer */
                vt[i] = ldr_pc;
+               /* cppcheck-suppress nullPointer */
                vt[i + 8] = start_addr + (4 * i);
        }
 }
index d3e1369..d29b9aa 100644 (file)
@@ -118,6 +118,8 @@ static void mxs_spl_fixup_vectors(void)
         * fine.
         */
        extern uint32_t _start;
+
+       /* cppcheck-suppress nullPointer */
        memcpy(0x0, &_start, 0x60);
 }
 
index 99d3fb8..f2e7225 100644 (file)
@@ -91,6 +91,8 @@ unsigned long long get_ticks(void)
                TIMROT_RUNNING_COUNTn_RUNNING_COUNT_OFFSET;
 #elif defined(CONFIG_MX28)
        now = readl(&timrot_regs->hw_timrot_running_count0);
+#else
+#error "Don't know how to read timrot_regs"
 #endif
 
        if (lastdec >= now) {
index eda51fd..265f336 100644 (file)
@@ -8,9 +8,6 @@ config NOMADIK_NHK8815
 
 endchoice
 
-config SYS_CPU
-       default "arm926ejs"
-
 config SYS_SOC
        default "nomadik"
 
index 2d0ab2b..5a54262 100644 (file)
@@ -8,9 +8,6 @@ config TARGET_EDMINIV2
 
 endchoice
 
-config SYS_CPU
-       default "arm926ejs"
-
 config SYS_SOC
        default "orion5x"
 
index 3757ffb..697e094 100644 (file)
@@ -38,7 +38,7 @@ int arch_cpu_init(void)
 #if defined(CONFIG_DW_UDC)
        periph1_clken |= MISC_USBDENB;
 #endif
-#if defined(CONFIG_DW_I2C)
+#if defined(CONFIG_SYS_I2C_DW)
        periph1_clken |= MISC_I2CENB;
 #endif
 #if defined(CONFIG_ST_SMI)
index 35c16d8..d2e76f4 100644 (file)
@@ -1,8 +1,5 @@
 if ARCH_VERSATILE
 
-config SYS_CPU
-       default "arm926ejs"
-
 config SYS_BOARD
        default "versatile"
 
index 828d10b..29b1d73 100644 (file)
@@ -9,7 +9,9 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <errno.h>
+#include <ns16550.h>
 #include <spl.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/hardware.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
+#ifdef CONFIG_DM_GPIO
+static const struct omap_gpio_platdata am33xx_gpio[] = {
+       { 0, AM33XX_GPIO0_BASE, METHOD_GPIO_24XX },
+       { 1, AM33XX_GPIO1_BASE, METHOD_GPIO_24XX },
+       { 2, AM33XX_GPIO2_BASE, METHOD_GPIO_24XX },
+       { 3, AM33XX_GPIO3_BASE, METHOD_GPIO_24XX },
+#ifdef CONFIG_AM43XX
+       { 4, AM33XX_GPIO4_BASE, METHOD_GPIO_24XX },
+       { 5, AM33XX_GPIO5_BASE, METHOD_GPIO_24XX },
+#endif
+};
+
+U_BOOT_DEVICES(am33xx_gpios) = {
+       { "gpio_omap", &am33xx_gpio[0] },
+       { "gpio_omap", &am33xx_gpio[1] },
+       { "gpio_omap", &am33xx_gpio[2] },
+       { "gpio_omap", &am33xx_gpio[3] },
+#ifdef CONFIG_AM43XX
+       { "gpio_omap", &am33xx_gpio[4] },
+       { "gpio_omap", &am33xx_gpio[5] },
+#endif
+};
+
+# ifndef CONFIG_OF_CONTROL
+/*
+ * TODO(sjg@chromium.org): When we can move SPL serial to DM, we can remove
+ * the CONFIGs. At the same time, we should move this to the board files.
+ */
+static const struct ns16550_platdata am33xx_serial[] = {
+       { CONFIG_SYS_NS16550_COM1, 2, CONFIG_SYS_NS16550_CLK },
+#  ifdef CONFIG_SYS_NS16550_COM2
+       { CONFIG_SYS_NS16550_COM2, 2, CONFIG_SYS_NS16550_CLK },
+#   ifdef CONFIG_SYS_NS16550_COM3
+       { CONFIG_SYS_NS16550_COM3, 2, CONFIG_SYS_NS16550_CLK },
+       { CONFIG_SYS_NS16550_COM4, 2, CONFIG_SYS_NS16550_CLK },
+       { CONFIG_SYS_NS16550_COM5, 2, CONFIG_SYS_NS16550_CLK },
+       { CONFIG_SYS_NS16550_COM6, 2, CONFIG_SYS_NS16550_CLK },
+#   endif
+#  endif
+};
+
+U_BOOT_DEVICES(am33xx_uarts) = {
+       { "serial_omap", &am33xx_serial[0] },
+#  ifdef CONFIG_SYS_NS16550_COM2
+       { "serial_omap", &am33xx_serial[1] },
+#   ifdef CONFIG_SYS_NS16550_COM3
+       { "serial_omap", &am33xx_serial[2] },
+       { "serial_omap", &am33xx_serial[3] },
+       { "serial_omap", &am33xx_serial[4] },
+       { "serial_omap", &am33xx_serial[5] },
+#   endif
+#  endif
+};
+# endif
+
+#else
+
 static const struct gpio_bank gpio_bank_am33xx[] = {
        { (void *)AM33XX_GPIO0_BASE, METHOD_GPIO_24XX },
        { (void *)AM33XX_GPIO1_BASE, METHOD_GPIO_24XX },
@@ -49,6 +108,8 @@ static const struct gpio_bank gpio_bank_am33xx[] = {
 
 const struct gpio_bank *const omap_gpio_bank = gpio_bank_am33xx;
 
+#endif
+
 #if defined(CONFIG_OMAP_HSMMC) && !defined(CONFIG_SPL_BUILD)
 int cpu_mmc_init(bd_t *bis)
 {
index 2ce682f..781d83f 100644 (file)
@@ -18,6 +18,7 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/clock.h>
 #include <power/tps65910.h>
+#include <linux/compiler.h>
 
 struct ctrl_stat *cstat = (struct ctrl_stat *)CTRL_BASE;
 
@@ -51,11 +52,11 @@ u32 get_cpu_type(void)
 
 /**
  * get_board_rev() - setup to pass kernel board revision information
- * returns:(bit[0-3] sub version, higher bit[7-4] is higher version)
+ * returns: 0 for the ATAG REVISION tag value.
  */
-u32 get_board_rev(void)
+u32 __weak get_board_rev(void)
 {
-       return BOARD_REV_ID;
+       return 0;
 }
 
 /**
index 7a0d182..090be93 100644 (file)
@@ -4,6 +4,7 @@ choice
        prompt "EXYNOS board select"
 
 config TARGET_SMDKV310
+       select SUPPORT_SPL
        bool "Exynos4210 SMDKV310 board"
        select OF_CONTROL if !SPL_BUILD
 
@@ -15,6 +16,7 @@ config TARGET_S5PC210_UNIVERSAL
 
 config TARGET_ORIGEN
        bool "Exynos4412 Origen board"
+       select SUPPORT_SPL
 
 config TARGET_TRATS2
        bool "Exynos4412 Trat2 board"
@@ -24,29 +26,31 @@ config TARGET_ODROID
 
 config TARGET_ARNDALE
        bool "Exynos5250 Arndale board"
+       select SUPPORT_SPL
        select OF_CONTROL if !SPL_BUILD
 
 config TARGET_SMDK5250
        bool "SMDK5250 board"
+       select SUPPORT_SPL
        select OF_CONTROL if !SPL_BUILD
 
 config TARGET_SNOW
        bool "Snow board"
+       select SUPPORT_SPL
        select OF_CONTROL if !SPL_BUILD
 
 config TARGET_SMDK5420
        bool "SMDK5420 board"
+       select SUPPORT_SPL
        select OF_CONTROL if !SPL_BUILD
 
 config TARGET_PEACH_PIT
        bool "Peach Pi board"
+       select SUPPORT_SPL
        select OF_CONTROL if !SPL_BUILD
 
 endchoice
 
-config SYS_CPU
-       default "armv7"
-
 config SYS_SOC
        default "exynos"
 
index 29ff995..0e73c04 100644 (file)
@@ -1,8 +1,5 @@
 if ARCH_HIGHBANK
 
-config SYS_CPU
-       default "armv7"
-
 config SYS_BOARD
        default "highbank"
 
index 8249b5e..134ae87 100644 (file)
@@ -9,10 +9,10 @@ config TARGET_K2HK_EVM
 config TARGET_K2E_EVM
        bool "TI Keystone 2 Edison EVM"
 
-endchoice
+config TARGET_K2L_EVM
+       bool "TI Keystone 2 Lamar EVM"
 
-config SYS_CPU
-       default "armv7"
+endchoice
 
 config SYS_SOC
        default "keystone"
index f8519c0..ed030db 100644 (file)
@@ -10,10 +10,9 @@ obj-y        += psc.o
 obj-y  += clock.o
 obj-$(CONFIG_SOC_K2HK) += clock-k2hk.o
 obj-$(CONFIG_SOC_K2E) += clock-k2e.o
+obj-$(CONFIG_SOC_K2L) += clock-k2l.o
 obj-y  += cmd_clock.o
 obj-y  += cmd_mon.o
-obj-$(CONFIG_DRIVER_TI_KEYSTONE_NET) += keystone_nav.o
 obj-y  += msmc.o
-obj-$(CONFIG_SPL_BUILD)        += spl.o
-obj-y  += ddr3.o
+obj-y  += ddr3.o cmd_ddr3.o
 obj-y  += keystone.o
diff --git a/arch/arm/cpu/armv7/keystone/clock-k2l.c b/arch/arm/cpu/armv7/keystone/clock-k2l.c
new file mode 100644 (file)
index 0000000..1c5e4d5
--- /dev/null
@@ -0,0 +1,138 @@
+/*
+ * Keystone2: get clk rate for K2L
+ *
+ * (C) Copyright 2012-2014
+ *     Texas Instruments Incorporated, <www.ti.com>
+ *
+ * SPDX-License-Identifier:     GPL-2.0+
+ */
+
+#include <common.h>
+#include <asm/arch/clock.h>
+#include <asm/arch/clock_defs.h>
+
+const struct keystone_pll_regs keystone_pll_regs[] = {
+       [CORE_PLL] = {KS2_MAINPLLCTL0, KS2_MAINPLLCTL1},
+       [PASS_PLL] = {KS2_PASSPLLCTL0, KS2_PASSPLLCTL1},
+       [TETRIS_PLL] = {KS2_ARMPLLCTL0,  KS2_ARMPLLCTL1},
+       [DDR3_PLL] = {KS2_DDR3APLLCTL0, KS2_DDR3APLLCTL1},
+};
+
+int dev_speeds[] = {
+       SPD800,
+       SPD1000,
+       SPD1200,
+       SPD800,
+       SPD800,
+       SPD800,
+       SPD800,
+       SPD800,
+       SPD1200,
+       SPD1000,
+       SPD800,
+       SPD800,
+       SPD800,
+};
+
+int arm_speeds[] = {
+       SPD800,
+       SPD1000,
+       SPD1200,
+       SPD1350,
+       SPD1400,
+       SPD800,
+       SPD1400,
+       SPD1350,
+       SPD1200,
+       SPD1000,
+       SPD800,
+       SPD800,
+       SPD800,
+};
+
+/**
+ * pll_freq_get - get pll frequency
+ * Fout = Fref * NF(mult) / NR(prediv) / OD
+ * @pll:       pll identifier
+ */
+static unsigned long pll_freq_get(int pll)
+{
+       unsigned long mult = 1, prediv = 1, output_div = 2;
+       unsigned long ret;
+       u32 tmp, reg;
+
+       if (pll == CORE_PLL) {
+               ret = external_clk[sys_clk];
+               if (pllctl_reg_read(pll, ctl) & PLLCTL_PLLEN) {
+                       /* PLL mode */
+                       tmp = __raw_readl(KS2_MAINPLLCTL0);
+                       prediv = (tmp & PLL_DIV_MASK) + 1;
+                       mult = (((tmp & PLLM_MULT_HI_SMASK) >> 6) |
+                               (pllctl_reg_read(pll, mult) &
+                               PLLM_MULT_LO_MASK)) + 1;
+                       output_div = ((pllctl_reg_read(pll, secctl) >>
+                                       PLL_CLKOD_SHIFT) & PLL_CLKOD_MASK) + 1;
+
+                       ret = ret / prediv / output_div * mult;
+               }
+       } else {
+               switch (pll) {
+               case PASS_PLL:
+                       ret = external_clk[pa_clk];
+                       reg = KS2_PASSPLLCTL0;
+                       break;
+               case TETRIS_PLL:
+                       ret = external_clk[tetris_clk];
+                       reg = KS2_ARMPLLCTL0;
+                       break;
+               case DDR3_PLL:
+                       ret = external_clk[ddr3_clk];
+                       reg = KS2_DDR3APLLCTL0;
+                       break;
+               default:
+                       return 0;
+               }
+
+               tmp = __raw_readl(reg);
+               if (!(tmp & PLLCTL_BYPASS)) {
+                       /* Bypass disabled */
+                       prediv = (tmp & PLL_DIV_MASK) + 1;
+                       mult = ((tmp >> PLL_MULT_SHIFT) & PLL_MULT_MASK) + 1;
+                       output_div = ((tmp >> PLL_CLKOD_SHIFT) &
+                                     PLL_CLKOD_MASK) + 1;
+                       ret = ((ret / prediv) * mult) / output_div;
+               }
+       }
+
+       return ret;
+}
+
+unsigned long clk_get_rate(unsigned int clk)
+{
+       switch (clk) {
+       case core_pll_clk:      return pll_freq_get(CORE_PLL);
+       case pass_pll_clk:      return pll_freq_get(PASS_PLL);
+       case tetris_pll_clk:    return pll_freq_get(TETRIS_PLL);
+       case ddr3_pll_clk:      return pll_freq_get(DDR3_PLL);
+       case sys_clk0_1_clk:
+       case sys_clk0_clk:      return pll_freq_get(CORE_PLL) / pll0div_read(1);
+       case sys_clk1_clk:      return pll_freq_get(CORE_PLL) / pll0div_read(2);
+       case sys_clk2_clk:      return pll_freq_get(CORE_PLL) / pll0div_read(3);
+       case sys_clk3_clk:      return pll_freq_get(CORE_PLL) / pll0div_read(4);
+       case sys_clk0_2_clk:    return clk_get_rate(sys_clk0_clk) / 2;
+       case sys_clk0_3_clk:    return clk_get_rate(sys_clk0_clk) / 3;
+       case sys_clk0_4_clk:    return clk_get_rate(sys_clk0_clk) / 4;
+       case sys_clk0_6_clk:    return clk_get_rate(sys_clk0_clk) / 6;
+       case sys_clk0_8_clk:    return clk_get_rate(sys_clk0_clk) / 8;
+       case sys_clk0_12_clk:   return clk_get_rate(sys_clk0_clk) / 12;
+       case sys_clk0_24_clk:   return clk_get_rate(sys_clk0_clk) / 24;
+       case sys_clk1_3_clk:    return clk_get_rate(sys_clk1_clk) / 3;
+       case sys_clk1_4_clk:    return clk_get_rate(sys_clk1_clk) / 4;
+       case sys_clk1_6_clk:    return clk_get_rate(sys_clk1_clk) / 6;
+       case sys_clk1_12_clk:   return clk_get_rate(sys_clk1_clk) / 12;
+       default:
+               break;
+       }
+
+       return 0;
+}
index 47fc893..d13fbc1 100644 (file)
@@ -185,10 +185,6 @@ void init_pll(const struct pll_init_data *data)
                tmp &= ~(PLL_BWADJ_HI_MASK);
                tmp |= ((bwadj >> 8) & PLL_BWADJ_HI_MASK);
 
-               /* set PLL Select (bit 13) for PASS PLL */
-               if (data->pll == PASS_PLL)
-                       tmp |= PLLCTL_PAPLL;
-
                __raw_writel(tmp, keystone_pll_regs[data->pll].reg1);
 
                /* Reset bit: bit 14 for both DDR3 & PASS PLL */
@@ -261,3 +257,16 @@ inline int get_max_arm_speed(void)
        return get_max_speed((read_efuse_bootrom() >> 16) & 0xffff, arm_speeds);
 }
 #endif
+
+void pass_pll_pa_clk_enable(void)
+{
+       u32 reg;
+
+       reg = readl(keystone_pll_regs[PASS_PLL].reg1);
+
+       reg |= PLLCTL_PAPLL;
+       writel(reg, keystone_pll_regs[PASS_PLL].reg1);
+
+       /* wait till clock is enabled */
+       sdelay(15000);
+}
index d97c95b..af1b701 100644 (file)
@@ -58,20 +58,11 @@ pll_cmd_usage:
        return cmd_usage(cmdtp);
 }
 
-#ifdef CONFIG_SOC_K2HK
-U_BOOT_CMD(
-       pllset, 5,      0,      do_pll_cmd,
-       "set pll multiplier and pre divider",
-       "<pa|arm|ddr3a|ddr3b> <mult> <div> <OD>\n"
-);
-#endif
-#ifdef CONFIG_SOC_K2E
 U_BOOT_CMD(
        pllset, 5,      0,      do_pll_cmd,
        "set pll multiplier and pre divider",
-       "<pa|ddr3> <mult> <div> <OD>\n"
+       PLLSET_CMD_LIST " <mult> <div> <OD>\n"
 );
-#endif
 
 int do_getclk_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
@@ -95,12 +86,8 @@ U_BOOT_CMD(
        getclk, 2,      0,      do_getclk_cmd,
        "get clock rate",
        "<clk index>\n"
-#ifdef CONFIG_SOC_K2HK
-       "See the 'enum clk_e' in the clock-k2hk.h for clk indexes\n"
-#endif
-#ifdef CONFIG_SOC_K2E
-       "See the 'enum clk_e' in the clock-k2e.h for clk indexes\n"
-#endif
+       "The indexes for clocks:\n"
+       CLOCK_INDEXES_LIST
 );
 
 int do_psc_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
@@ -141,5 +128,8 @@ U_BOOT_CMD(
        psc,    3,      0,      do_psc_cmd,
        "<enable/disable psc module os disable domain>",
        "<mod/domain index> <en|di|domain>\n"
-       "See the hardware.h for Power and Sleep Controller (PSC) Domains\n"
+       "Intended to control Power and Sleep Controller (PSC) domains and\n"
+       "modules. The module or domain index exectly corresponds to ones\n"
+       "listed in official TRM. For instance, to enable MSMC RAM clock\n"
+       "domain use command: psc 14 en.\n"
 );
diff --git a/arch/arm/cpu/armv7/keystone/cmd_ddr3.c b/arch/arm/cpu/armv7/keystone/cmd_ddr3.c
new file mode 100644 (file)
index 0000000..ea78ad8
--- /dev/null
@@ -0,0 +1,248 @@
+/*
+ * Keystone2: DDR3 test commands
+ *
+ * (C) Copyright 2012-2014
+ *     Texas Instruments Incorporated, <www.ti.com>
+ *
+ * SPDX-License-Identifier:     GPL-2.0+
+ */
+
+#include <asm/arch/hardware.h>
+#include <asm/arch/ddr3.h>
+#include <common.h>
+#include <command.h>
+
+DECLARE_GLOBAL_DATA_PTR;
+
+#define DDR_MIN_ADDR           CONFIG_SYS_SDRAM_BASE
+
+#define DDR_REMAP_ADDR         0x80000000
+#define ECC_START_ADDR1                ((DDR_MIN_ADDR - DDR_REMAP_ADDR) >> 17)
+
+#define ECC_END_ADDR1          (((gd->start_addr_sp - DDR_REMAP_ADDR - \
+                                CONFIG_STACKSIZE) >> 17) - 2)
+
+#define DDR_TEST_BURST_SIZE    1024
+
+static int ddr_memory_test(u32 start_address, u32 end_address, int quick)
+{
+       u32 index_start, value, index;
+
+       index_start = start_address;
+
+       while (1) {
+               /* Write a pattern */
+               for (index = index_start;
+                               index < index_start + DDR_TEST_BURST_SIZE;
+                               index += 4)
+                       __raw_writel(index, index);
+
+               /* Read and check the pattern */
+               for (index = index_start;
+                               index < index_start + DDR_TEST_BURST_SIZE;
+                               index += 4) {
+                       value = __raw_readl(index);
+                       if (value != index) {
+                               printf("ddr_memory_test: Failed at address index = 0x%x value = 0x%x *(index) = 0x%x\n",
+                                      index, value, __raw_readl(index));
+
+                               return -1;
+                       }
+               }
+
+               index_start += DDR_TEST_BURST_SIZE;
+               if (index_start >= end_address)
+                       break;
+
+               if (quick)
+                       continue;
+
+               /* Write a pattern for complementary values */
+               for (index = index_start;
+                    index < index_start + DDR_TEST_BURST_SIZE;
+                    index += 4)
+                       __raw_writel((u32)~index, index);
+
+               /* Read and check the pattern */
+               for (index = index_start;
+                    index < index_start + DDR_TEST_BURST_SIZE;
+                    index += 4) {
+                       value = __raw_readl(index);
+                       if (value != ~index) {
+                               printf("ddr_memory_test: Failed at address index = 0x%x value = 0x%x *(index) = 0x%x\n",
+                                      index, value, __raw_readl(index));
+
+                               return -1;
+                       }
+               }
+
+               index_start += DDR_TEST_BURST_SIZE;
+               if (index_start >= end_address)
+                       break;
+
+               /* Write a pattern */
+               for (index = index_start;
+                    index < index_start + DDR_TEST_BURST_SIZE;
+                    index += 2)
+                       __raw_writew((u16)index, index);
+
+               /* Read and check the pattern */
+               for (index = index_start;
+                    index < index_start + DDR_TEST_BURST_SIZE;
+                    index += 2) {
+                       value = __raw_readw(index);
+                       if (value != (u16)index) {
+                               printf("ddr_memory_test: Failed at address index = 0x%x value = 0x%x *(index) = 0x%x\n",
+                                      index, value, __raw_readw(index));
+
+                               return -1;
+                       }
+               }
+
+               index_start += DDR_TEST_BURST_SIZE;
+               if (index_start >= end_address)
+                       break;
+
+               /* Write a pattern */
+               for (index = index_start;
+                    index < index_start + DDR_TEST_BURST_SIZE;
+                    index += 1)
+                       __raw_writeb((u8)index, index);
+
+               /* Read and check the pattern */
+               for (index = index_start;
+                    index < index_start + DDR_TEST_BURST_SIZE;
+                    index += 1) {
+                       value = __raw_readb(index);
+                       if (value != (u8)index) {
+                               printf("ddr_memory_test: Failed at address index = 0x%x value = 0x%x *(index) = 0x%x\n",
+                                      index, value, __raw_readb(index));
+
+                               return -1;
+                       }
+               }
+
+               index_start += DDR_TEST_BURST_SIZE;
+               if (index_start >= end_address)
+                       break;
+       }
+
+       puts("ddr memory test PASSED!\n");
+       return 0;
+}
+
+static int ddr_memory_compare(u32 address1, u32 address2, u32 size)
+{
+       u32 index, value, index2, value2;
+
+       for (index = address1, index2 = address2;
+            index < address1 + size;
+            index += 4, index2 += 4) {
+               value = __raw_readl(index);
+               value2 = __raw_readl(index2);
+
+               if (value != value2) {
+                       printf("ddr_memory_test: Compare failed at address = 0x%x value = 0x%x, address2 = 0x%x value2 = 0x%x\n",
+                              index, value, index2, value2);
+
+                       return -1;
+               }
+       }
+
+       puts("ddr memory compare PASSED!\n");
+       return 0;
+}
+
+static int ddr_memory_ecc_err(u32 base, u32 address, u32 ecc_err)
+{
+       u32 value1, value2, value3;
+
+       puts("Disabling DDR ECC ...\n");
+       ddr3_disable_ecc(base);
+
+       value1 = __raw_readl(address);
+       value2 = value1 ^ ecc_err;
+       __raw_writel(value2, address);
+
+       value3 = __raw_readl(address);
+       printf("ECC err test, addr 0x%x, read data 0x%x, wrote data 0x%x, err pattern: 0x%x, read after write data 0x%x\n",
+              address, value1, value2, ecc_err, value3);
+
+       __raw_writel(ECC_START_ADDR1 | (ECC_END_ADDR1 << 16),
+                    base + KS2_DDR3_ECC_ADDR_RANGE1_OFFSET);
+
+       puts("Enabling DDR ECC ...\n");
+       ddr3_enable_ecc(base, 1);
+
+       value1 = __raw_readl(address);
+       printf("ECC err test, addr 0x%x, read data 0x%x\n", address, value1);
+
+       ddr3_check_ecc_int(base);
+       return 0;
+}
+
+static int do_ddr_test(cmd_tbl_t *cmdtp,
+                      int flag, int argc, char * const argv[])
+{
+       u32 start_addr, end_addr, size, ecc_err;
+
+       if ((argc == 4) && (strncmp(argv[1], "ecc_err", 8) == 0)) {
+               if (!ddr3_ecc_support_rmw(KS2_DDR3A_EMIF_CTRL_BASE)) {
+                       puts("ECC RMW isn't supported for this SOC\n");
+                       return 1;
+               }
+
+               start_addr = simple_strtoul(argv[2], NULL, 16);
+               ecc_err = simple_strtoul(argv[3], NULL, 16);
+
+               if ((start_addr < CONFIG_SYS_SDRAM_BASE) ||
+                   (start_addr > (CONFIG_SYS_SDRAM_BASE +
+                    CONFIG_MAX_RAM_BANK_SIZE - 1))) {
+                       puts("Invalid address!\n");
+                       return cmd_usage(cmdtp);
+               }
+
+               ddr_memory_ecc_err(KS2_DDR3A_EMIF_CTRL_BASE,
+                                  start_addr, ecc_err);
+               return 0;
+       }
+
+       if (!(((argc == 4) && (strncmp(argv[1], "test", 5) == 0)) ||
+             ((argc == 5) && (strncmp(argv[1], "compare", 8) == 0))))
+               return cmd_usage(cmdtp);
+
+       start_addr = simple_strtoul(argv[2], NULL, 16);
+       end_addr = simple_strtoul(argv[3], NULL, 16);
+
+       if ((start_addr < CONFIG_SYS_SDRAM_BASE) ||
+           (start_addr > (CONFIG_SYS_SDRAM_BASE +
+            CONFIG_MAX_RAM_BANK_SIZE - 1)) ||
+           (end_addr < CONFIG_SYS_SDRAM_BASE) ||
+           (end_addr > (CONFIG_SYS_SDRAM_BASE +
+            CONFIG_MAX_RAM_BANK_SIZE - 1)) || (start_addr >= end_addr)) {
+               puts("Invalid start or end address!\n");
+               return cmd_usage(cmdtp);
+       }
+
+       puts("Please wait ...\n");
+       if (argc == 5) {
+               size = simple_strtoul(argv[4], NULL, 16);
+               ddr_memory_compare(start_addr, end_addr, size);
+       } else {
+               ddr_memory_test(start_addr, end_addr, 0);
+       }
+
+       return 0;
+}
+
+U_BOOT_CMD(ddr,        5, 1, do_ddr_test,
+          "DDR3 test",
+          "test <start_addr in hex> <end_addr in hex> - test DDR from start\n"
+          "    address to end address\n"
+          "ddr compare <start_addr in hex> <end_addr in hex> <size in hex> -\n"
+          "    compare DDR data of (size) bytes from start address to end\n"
+          "    address\n"
+          "ddr ecc_err <addr in hex> <bit_err in hex> - generate bit errors\n"
+          "    in DDR data at <addr>, the command will read a 32-bit data\n"
+          "    from <addr>, and write (data ^ bit_err) back to <addr>\n"
+);
index 2eabec1..923906a 100644 (file)
@@ -9,9 +9,19 @@
 
 #include <asm/io.h>
 #include <common.h>
+#include <asm/arch/msmc.h>
 #include <asm/arch/ddr3.h>
 #include <asm/arch/psc_defs.h>
 
+#include <asm/ti-common/ti-edma3.h>
+
+#define DDR3_EDMA_BLK_SIZE_SHIFT       10
+#define DDR3_EDMA_BLK_SIZE             (1 << DDR3_EDMA_BLK_SIZE_SHIFT)
+#define DDR3_EDMA_BCNT                 0x8000
+#define DDR3_EDMA_CCNT                 1
+#define DDR3_EDMA_XF_SIZE              (DDR3_EDMA_BLK_SIZE * DDR3_EDMA_BCNT)
+#define DDR3_EDMA_SLOT_NUM             1
+
 void ddr3_init_ddrphy(u32 base, struct ddr3_phy_config *phy_cfg)
 {
        unsigned int tmp;
@@ -70,6 +80,240 @@ void ddr3_init_ddremif(u32 base, struct ddr3_emif_config *emif_cfg)
        __raw_writel(emif_cfg->sdrfc,  base + KS2_DDR3_SDRFC_OFFSET);
 }
 
+int ddr3_ecc_support_rmw(u32 base)
+{
+       u32 value = __raw_readl(base + KS2_DDR3_MIDR_OFFSET);
+
+       /* Check the DDR3 controller ID reg if the controllers
+          supports ECC RMW or not */
+       if (value == 0x40461C02)
+               return 1;
+
+       return 0;
+}
+
+static void ddr3_ecc_config(u32 base, u32 value)
+{
+       u32 data;
+
+       __raw_writel(value,  base + KS2_DDR3_ECC_CTRL_OFFSET);
+       udelay(100000); /* delay required to synchronize across clock domains */
+
+       if (value & KS2_DDR3_ECC_EN) {
+               /* Clear the 1-bit error count */
+               data = __raw_readl(base + KS2_DDR3_ONE_BIT_ECC_ERR_CNT_OFFSET);
+               __raw_writel(data, base + KS2_DDR3_ONE_BIT_ECC_ERR_CNT_OFFSET);
+
+               /* enable the ECC interrupt */
+               __raw_writel(KS2_DDR3_1B_ECC_ERR_SYS | KS2_DDR3_2B_ECC_ERR_SYS |
+                            KS2_DDR3_WR_ECC_ERR_SYS,
+                            base + KS2_DDR3_ECC_INT_ENABLE_SET_SYS_OFFSET);
+
+               /* Clear the ECC error interrupt status */
+               __raw_writel(KS2_DDR3_1B_ECC_ERR_SYS | KS2_DDR3_2B_ECC_ERR_SYS |
+                            KS2_DDR3_WR_ECC_ERR_SYS,
+                            base + KS2_DDR3_ECC_INT_STATUS_OFFSET);
+       }
+}
+
+static void ddr3_reset_data(u32 base, u32 ddr3_size)
+{
+       u32 mpax[2];
+       u32 seg_num;
+       u32 seg, blks, dst, edma_blks;
+       struct edma3_slot_config slot;
+       struct edma3_channel_config edma_channel;
+       u32 edma_src[DDR3_EDMA_BLK_SIZE/4] __aligned(16) = {0, };
+
+       /* Setup an edma to copy the 1k block to the entire DDR */
+       puts("\nClear entire DDR3 memory to enable ECC\n");
+
+       /* save the SES MPAX regs */
+       msmc_get_ses_mpax(8, 0, mpax);
+
+       /* setup edma slot 1 configuration */
+       slot.opt = EDMA3_SLOPT_TRANS_COMP_INT_ENB |
+                  EDMA3_SLOPT_COMP_CODE(0) |
+                  EDMA3_SLOPT_STATIC | EDMA3_SLOPT_AB_SYNC;
+       slot.bcnt = DDR3_EDMA_BCNT;
+       slot.acnt = DDR3_EDMA_BLK_SIZE;
+       slot.ccnt = DDR3_EDMA_CCNT;
+       slot.src_bidx = 0;
+       slot.dst_bidx = DDR3_EDMA_BLK_SIZE;
+       slot.src_cidx = 0;
+       slot.dst_cidx = 0;
+       slot.link = EDMA3_PARSET_NULL_LINK;
+       slot.bcntrld = 0;
+       edma3_slot_configure(KS2_EDMA0_BASE, DDR3_EDMA_SLOT_NUM, &slot);
+
+       /* configure quik edma channel */
+       edma_channel.slot = DDR3_EDMA_SLOT_NUM;
+       edma_channel.chnum = 0;
+       edma_channel.complete_code = 0;
+       /* event trigger after dst update */
+       edma_channel.trigger_slot_word = EDMA3_TWORD(dst);
+       qedma3_start(KS2_EDMA0_BASE, &edma_channel);
+
+       /* DDR3 size in segments (4KB seg size) */
+       seg_num = ddr3_size << (30 - KS2_MSMC_SEG_SIZE_SHIFT);
+
+       for (seg = 0; seg < seg_num; seg += KS2_MSMC_MAP_SEG_NUM) {
+               /* map 2GB 36-bit DDR address to 32-bit DDR address in EMIF
+                  access slave interface so that edma driver can access */
+               msmc_map_ses_segment(8, 0, base >> KS2_MSMC_SEG_SIZE_SHIFT,
+                                    KS2_MSMC_DST_SEG_BASE + seg, MPAX_SEG_2G);
+
+               if ((seg_num - seg) > KS2_MSMC_MAP_SEG_NUM)
+                       edma_blks = KS2_MSMC_MAP_SEG_NUM <<
+                                       (KS2_MSMC_SEG_SIZE_SHIFT
+                                       - DDR3_EDMA_BLK_SIZE_SHIFT);
+               else
+                       edma_blks = (seg_num - seg) << (KS2_MSMC_SEG_SIZE_SHIFT
+                                       - DDR3_EDMA_BLK_SIZE_SHIFT);
+
+    &nbs