]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
authorTom Rini <trini@ti.com>
Tue, 15 Oct 2013 00:19:56 +0000 (20:19 -0400)
committerTom Rini <trini@ti.com>
Tue, 15 Oct 2013 00:19:56 +0000 (20:19 -0400)
758 files changed:
.gitignore
Licenses/README
MAKEALL
Makefile
README
arch/arm/config.mk
arch/arm/cpu/arm1136/start.S
arch/arm/cpu/arm720t/interrupts.c
arch/arm/cpu/arm720t/start.S
arch/arm/cpu/arm926ejs/at91/lowlevel_init.S
arch/arm/cpu/arm926ejs/davinci/timer.c
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c
arch/arm/cpu/arm926ejs/mxs/timer.c
arch/arm/cpu/arm926ejs/omap/timer.c
arch/arm/cpu/arm926ejs/spear/spear600.c
arch/arm/cpu/arm926ejs/spear/spl_boot.c
arch/arm/cpu/arm926ejs/spear/spr600_mt47h128m8_3_266_cl5_async.c
arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_333_cl5_psync.c
arch/arm/cpu/arm926ejs/spear/spr600_mt47h32m16_37e_166_cl4_sync.c
arch/arm/cpu/arm926ejs/spear/spr600_mt47h64m16_3_333_cl5_psync.c
arch/arm/cpu/arm926ejs/versatile/timer.c
arch/arm/cpu/arm946es/cpu.c
arch/arm/cpu/armv7/mx5/lowlevel_init.S
arch/arm/cpu/armv7/omap3/am35x_musb.c
arch/arm/cpu/armv7/omap4/sdram_elpida.c
arch/arm/cpu/armv7/omap5/prcm-regs.c
arch/arm/cpu/armv7/rmobile/Makefile
arch/arm/cpu/armv7/rmobile/lowlevel_init.S
arch/arm/cpu/armv7/s5p-common/pwm.c
arch/arm/cpu/armv7/s5p-common/timer.c
arch/arm/cpu/armv7/start.S
arch/arm/cpu/armv7/zynq/cpu.c
arch/arm/cpu/armv7/zynq/timer.c
arch/arm/cpu/ixp/start.S
arch/arm/cpu/pxa/start.S
arch/arm/dts/exynos5250.dtsi
arch/arm/include/asm/arch-exynos/dp.h
arch/arm/include/asm/arch-exynos/dp_info.h
arch/arm/include/asm/arch-exynos/dsim.h
arch/arm/include/asm/arch-exynos/mipi_dsim.h
arch/arm/include/asm/arch-exynos/pwm_backlight.h
arch/arm/include/asm/arch-ixp/ixp425pci.h
arch/arm/include/asm/arch-omap4/omap.h
arch/arm/lib/interrupts.c
arch/arm/lib/relocate.S
arch/blackfin/cpu/traps.c
arch/blackfin/include/asm/mach-common/bits/lockbox.h
arch/m68k/cpu/mcf5227x/start.S
arch/m68k/cpu/mcf52x2/cpu_init.c
arch/m68k/cpu/mcf532x/start.S
arch/m68k/cpu/mcf5445x/pci.c
arch/m68k/cpu/mcf5445x/start.S
arch/m68k/cpu/mcf547x_8x/pci.c
arch/m68k/cpu/mcf547x_8x/slicetimer.c
arch/m68k/cpu/mcf547x_8x/start.S
arch/m68k/include/asm/immap_5282.h
arch/m68k/lib/time.c
arch/m68k/lib/traps.c
arch/microblaze/include/asm/asm.h
arch/microblaze/include/asm/gpio.h
arch/microblaze/include/asm/microblaze_intc.h
arch/microblaze/include/asm/microblaze_timer.h
arch/microblaze/lib/bootm.c
arch/mips/cpu/mips32/au1x00/au1x00_eth.c
arch/nios2/cpu/epcs.c
arch/nios2/cpu/exceptions.S
arch/nios2/cpu/u-boot.lds
arch/nios2/lib/libgcc.c
arch/openrisc/cpu/cpu.c
arch/openrisc/lib/bootm.c
arch/powerpc/cpu/74xx_7xx/speed.c
arch/powerpc/cpu/mpc824x/cpu_init.c
arch/powerpc/cpu/mpc8260/pci.c
arch/powerpc/cpu/mpc83xx/cpu_init.c
arch/powerpc/cpu/mpc83xx/pci.c
arch/powerpc/cpu/mpc83xx/spd_sdram.c
arch/powerpc/cpu/mpc85xx/start.S
arch/powerpc/cpu/mpc85xx/traps.c
arch/powerpc/cpu/mpc86xx/speed.c
arch/powerpc/cpu/mpc8xx/plprcr_write.S
arch/powerpc/cpu/ppc4xx/40x_spd_sdram.c
arch/powerpc/cpu/ppc4xx/44x_spd_ddr.c
arch/powerpc/cpu/ppc4xx/4xx_pci.c
arch/powerpc/cpu/ppc4xx/dcr.S
arch/powerpc/cpu/ppc4xx/sdram.c
arch/powerpc/cpu/ppc4xx/tlb.c
arch/powerpc/include/asm/apm821xx.h
arch/powerpc/include/asm/ppc405ep.h
arch/powerpc/include/asm/ppc405ex.h
arch/powerpc/include/asm/ppc405ez.h
arch/powerpc/include/asm/ppc405gp.h
arch/powerpc/include/asm/ppc440ep_gr.h
arch/powerpc/include/asm/ppc440epx_grx.h
arch/powerpc/include/asm/ppc440gp.h
arch/powerpc/include/asm/ppc440gx.h
arch/powerpc/include/asm/ppc440sp.h
arch/powerpc/include/asm/ppc440spe.h
arch/powerpc/include/asm/ppc460ex_gt.h
arch/powerpc/include/asm/ppc460sx.h
arch/powerpc/include/asm/ppc4xx-ebc.h
arch/powerpc/include/asm/ppc4xx-sdram.h
arch/powerpc/include/asm/ppc4xx-uic.h
arch/sandbox/cpu/u-boot.lds
arch/sandbox/include/asm/byteorder.h
arch/sandbox/include/asm/io.h
arch/sandbox/include/asm/ptrace.h
arch/sandbox/include/asm/string.h
arch/sandbox/include/asm/system.h
arch/sandbox/include/asm/types.h
arch/sandbox/include/asm/unaligned.h
arch/sandbox/lib/interrupts.c
arch/x86/cpu/coreboot/coreboot.c
arch/x86/cpu/coreboot/pci.c
board/Barix/ipam390/README.ipam390
board/LEOX/elpt860/README.LEOX
board/Marvell/db64360/mv_eth.h
board/Marvell/db64360/mv_regs.h
board/Marvell/db64360/sdram_init.c
board/Marvell/db64460/mv_eth.h
board/Marvell/db64460/mv_regs.h
board/RPXClassic/RPXClassic.c
board/adder/adder.c
board/altera/common/epled.c
board/altera/common/sevenseg.c
board/altera/nios2-generic/u-boot.lds
board/amcc/bamboo/bamboo.h
board/amcc/bamboo/init.S
board/amcc/bluestone/init.S
board/amcc/canyonlands/init.S
board/amcc/ebony/ebony.c
board/amcc/katmai/init.S
board/amcc/luan/init.S
board/amcc/luan/luan.c
board/amcc/makalu/init.S
board/amcc/ocotea/init.S
board/amcc/ocotea/ocotea.c
board/amcc/redwood/init.S
board/amcc/sequoia/init.S
board/amcc/taishan/init.S
board/amcc/taishan/lcd.c
board/amcc/taishan/showinfo.c
board/amcc/taishan/taishan.c
board/amcc/taishan/update.c
board/amcc/yosemite/yosemite.c
board/amcc/yucca/init.S
board/armltd/integrator/arm-ebi.h
board/armltd/integrator/integrator-sc.h
board/armltd/integrator/integrator.c
board/armltd/integrator/lowlevel_init.S
board/armltd/integrator/pci.c
board/armltd/integrator/timer.c
board/atmark-techno/armadillo-800eva/Makefile
board/bc3450/bc3450.c
board/boundary/nitrogen6x/6x_upgrade.txt
board/boundary/nitrogen6x/nitrogen6x.c
board/chromebook-x86/coreboot/coreboot_start.S
board/chromebook-x86/dts/alex.dts
board/chromebook-x86/dts/link.dts
board/cm5200/cm5200.c
board/cm5200/cm5200.h
board/cm5200/fwupdate.c
board/cm5200/fwupdate.h
board/cogent/flash.c
board/congatec/cgtqmx6eval/cgtqmx6eval.c
board/cpc45/ide.c
board/cpu86/flash.c
board/cpu87/flash.c
board/csb272/csb272.c
board/csb472/csb472.c
board/emk/top860/top860.c
board/ep88x/ep88x.c
board/esd/common/lcd.h
board/esd/cpci2dp/cpci2dp.c
board/esd/cpci5200/strataflash.c
board/esd/cpci750/ide.c
board/esd/cpci750/mv_eth.h
board/esd/cpci750/mv_regs.h
board/esd/cpci750/pci.c
board/esd/du440/init.S
board/etin/debris/flash.c
board/evb64260/flash.c
board/evb64260/mpsc.c
board/exmeritus/hww1u1a/gpios.h
board/exmeritus/hww1u1a/hww1u1a.c
board/fads/fads.c
board/freescale/b4860qds/tlb.c
board/freescale/bsc9132qds/README
board/freescale/common/cadmus.c
board/freescale/common/cadmus.h
board/freescale/common/cds_pci_ft.c
board/freescale/common/cds_via.c
board/freescale/common/eeprom.h
board/freescale/mpc8313erdb/mpc8313erdb.c
board/freescale/mpc8360emds/mpc8360emds.c
board/freescale/mpc8536ds/mpc8536ds.c
board/freescale/mpc8540ads/mpc8540ads.c
board/freescale/mpc8541cds/mpc8541cds.c
board/freescale/mpc8548cds/mpc8548cds.c
board/freescale/mpc8555cds/mpc8555cds.c
board/freescale/mpc8560ads/mpc8560ads.c
board/freescale/mpc8568mds/bcsr.c
board/freescale/mpc8568mds/bcsr.h
board/freescale/mpc8568mds/mpc8568mds.c
board/freescale/mpc8569mds/bcsr.c
board/freescale/mpc8569mds/bcsr.h
board/freescale/mpc8569mds/mpc8569mds.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/mpc8610hpcd/mpc8610hpcd.c
board/freescale/mx31ads/u-boot.lds
board/freescale/p1023rdb/ddr.c
board/freescale/p1_p2_rdb/pci.c
board/freescale/p2020ds/p2020ds.c
board/funkwerk/vovpn-gw/vovpn-gw.c
board/g2000/strataflash.c
board/gdsys/gdppc440etx/gdppc440etx.c
board/gdsys/intip/init.S
board/gen860t/flash.c
board/gw8260/gw8260.c
board/ids8247/ids8247.c
board/incaip/incaip.c
board/incaip/lowlevel_init.S
board/inka4x0/inka4x0.c
board/iomega/iconnect/iconnect.c
board/iphase4539/flash.c
board/isee/igep0033/board.c
board/isee/igep0033/mux.c
board/jornada/setup.S
board/keymile/km_arm/km_arm.c
board/korat/init.S
board/logicpd/am3517evm/am3517evm.c
board/lwmon5/init.S
board/manroland/hmi1001/hmi1001.c
board/manroland/mucmc52/mucmc52.c
board/manroland/uc101/uc101.c
board/matrix_vision/mvbc_p/Makefile
board/matrix_vision/mvsmr/Makefile
board/mbx8xx/mbx8xx.c
board/mosaixtech/icon/init.S
board/mousse/mousse.h
board/netphone/netphone.c
board/netphone/phone_console.c
board/netta/netta.c
board/netta2/netta2.c
board/netvia/netvia.c
board/openrisc/openrisc-generic/or1ksim.cfg
board/palmtreo680/README
board/pcs440ep/init.S
board/pcs440ep/pcs440ep.c
board/pm826/flash.c
board/pm828/flash.c
board/ppmc8260/strataflash.c
board/prodrive/alpr/alpr.c
board/prodrive/alpr/init.S
board/prodrive/p3mx/mv_eth.h
board/prodrive/p3mx/mv_regs.h
board/prodrive/p3mx/sdram_init.c
board/prodrive/p3p440/init.S
board/prodrive/p3p440/p3p440.c
board/prodrive/p3p440/p3p440.h
board/psyent/pk1c20/led.c
board/rbc823/rbc823.c
board/samsung/common/multi_i2c.c
board/samsung/dts/exynos5250-snow.dts
board/samsung/trats2/Makefile [new file with mode: 0644]
board/samsung/trats2/trats2.c [new file with mode: 0644]
board/sandbox/sandbox/README.sandbox
board/sandburst/common/flash.c
board/sandburst/common/sb_common.c
board/sandburst/common/sb_common.h
board/sandburst/karef/karef.c
board/sandburst/karef/karef_version.h
board/sandburst/metrobox/metrobox.c
board/sandpoint/README
board/sbc405/strataflash.c
board/sbc8548/sbc8548.c
board/sbc8641d/sbc8641d.c
board/siemens/rut/board.c
board/stx/stxgp3/stxgp3.c
board/stx/stxssa/stxssa.c
board/svm_sc8xx/svm_sc8xx.c
board/t3corp/init.S
board/ti/omap5912osk/omap5912osk.c
board/ti/omap730p2/omap730p2.c
board/ti/panda/panda.c
board/tqc/tqm5200/tqm5200.c
board/tqc/tqm8272/nand.c
board/tqc/tqm8272/tqm8272.c
board/tqc/tqm8272/tqm8272.h
board/trizepsiv/eeprom.c
board/w7o/cmd_vpd.c
board/w7o/errors.h
board/w7o/fpga.c
board/w7o/post1.S
board/w7o/post2.c
board/xes/common/fsl_8xxx_clk.c
board/xes/common/fsl_8xxx_misc.c
board/xes/common/fsl_8xxx_misc.h
board/xes/common/fsl_8xxx_pci.c
board/xes/xpedite517x/ddr.c
board/xes/xpedite537x/ddr.c
board/xes/xpedite537x/xpedite537x.c
board/xes/xpedite550x/ddr.c
board/xes/xpedite550x/xpedite550x.c
board/xilinx/microblaze-generic/microblaze-generic.c
board/xilinx/zynq/board.c
boards.cfg
common/cmd_bmp.c
common/cmd_dtt.c
common/cmd_irq.c
common/cmd_itest.c
common/cmd_led.c
common/cmd_mtdparts.c
common/cmd_nvedit.c
common/cmd_pxe.c
common/cmd_sandbox.c
common/cmd_setexpr.c
common/cmd_tsi148.c
common/cmd_ubi.c
common/cmd_universe.c
common/env_common.c
common/env_dataflash.c
common/env_eeprom.c
common/env_embedded.c
common/env_fat.c
common/env_flash.c
common/env_mmc.c
common/env_nand.c
common/env_nowhere.c
common/env_nvram.c
common/env_remote.c
common/env_ubi.c
common/iomux.c
common/lcd.c
common/main.c
config.mk
disk/part_amiga.h
disk/part_dos.h
disk/part_iso.c
disk/part_iso.h
doc/DocBook/Makefile
doc/README.atmel_pmecc
doc/README.autoboot
doc/README.b4860qds
doc/README.ext4
doc/README.gpt
doc/README.kwbimage
doc/README.mxc_hab
doc/README.mxsimage
doc/README.nokia_rx51
doc/README.p1010rdb
doc/README.qemu-mips
doc/README.ramboot-ppc85xx
doc/README.trace
doc/README.ubi
doc/README.zfs
doc/driver-model/UDM-block.txt
doc/driver-model/UDM-cores.txt
doc/driver-model/UDM-design.txt
doc/driver-model/UDM-gpio.txt
doc/driver-model/UDM-hwmon.txt
doc/driver-model/UDM-mmc.txt
doc/driver-model/UDM-power.txt
doc/driver-model/UDM-rtc.txt
doc/driver-model/UDM-spi.txt
doc/driver-model/UDM-stdio.txt
doc/driver-model/UDM-tpm.txt
doc/driver-model/UDM-watchdog.txt
drivers/block/ahci.c
drivers/fpga/zynqpl.c
drivers/input/i8042.c
drivers/misc/status_led.c
drivers/mtd/mtdcore.c
drivers/mtd/mtdpart.c
drivers/mtd/nand/fsl_elbc_spl.c
drivers/mtd/nand/fsl_upm.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_ids.c
drivers/mtd/nand/nand_util.c
drivers/mtd/onenand/onenand_base.c
drivers/mtd/ubi/crc32.c
drivers/net/dc2114x.c
drivers/net/dm9000x.c
drivers/net/plb2800_eth.c
drivers/net/xilinx_emaclite.c
drivers/net/zynq_gem.c
drivers/power/battery/Makefile
drivers/power/battery/bat_trats2.c [new file with mode: 0644]
drivers/power/mfd/Makefile [new file with mode: 0644]
drivers/power/mfd/fg_max77693.c [new file with mode: 0644]
drivers/power/mfd/muic_max77693.c [new file with mode: 0644]
drivers/power/mfd/pmic_max77693.c [new file with mode: 0644]
drivers/rtc/bfin_rtc.c
drivers/rtc/pl031.c
drivers/rtc/rs5c372.c
drivers/spi/mpc8xxx_spi.c
drivers/spi/omap3_spi.c
drivers/usb/gadget/f_mass_storage.c
drivers/usb/gadget/mv_udc.c
drivers/usb/host/sl811-hcd.c
drivers/usb/musb-new/Makefile
drivers/usb/phy/twl4030.c
drivers/video/ati_radeon_fb.h
drivers/video/atmel_hlcdfb.c
drivers/video/atmel_lcdfb.c
drivers/video/cfb_console.c
drivers/video/exynos_dp.c
drivers/video/exynos_dp_lowlevel.c
drivers/video/exynos_dp_lowlevel.h
drivers/video/exynos_fb.c
drivers/video/exynos_fb.h
drivers/video/exynos_fimd.c
drivers/video/exynos_mipi_dsi.c
drivers/video/exynos_mipi_dsi_common.c
drivers/video/exynos_mipi_dsi_common.h
drivers/video/exynos_mipi_dsi_lowlevel.c
drivers/video/exynos_mipi_dsi_lowlevel.h
drivers/video/mpc8xx_lcd.c
drivers/video/pxa_lcd.c
drivers/video/s6e8ax0.c
drivers/video/sed156x.c
drivers/video/videomodes.c
drivers/video/videomodes.h
drivers/watchdog/s5p_wdt.c
fs/ubifs/super.c
include/armcoremodule.h
include/common.h
include/configs/APC405.h
include/configs/AR405.h
include/configs/ASH405.h
include/configs/Adder.h
include/configs/AdderUSB.h
include/configs/BC3450.h
include/configs/CATcenter.h
include/configs/CMS700.h
include/configs/CPC45.h
include/configs/CPCI2DP.h
include/configs/CPCI405.h
include/configs/CPCI4052.h
include/configs/CPCI405AB.h
include/configs/CPCI405DT.h
include/configs/CPCI750.h
include/configs/CPU87.h
include/configs/CRAYL1.h
include/configs/DB64360.h
include/configs/DB64460.h
include/configs/DP405.h
include/configs/DU405.h
include/configs/DU440.h
include/configs/EP88x.h
include/configs/EXBITGEN.h
include/configs/FLAGADM.h
include/configs/G2000.h
include/configs/HH405.h
include/configs/HIDDEN_DRAGON.h
include/configs/HUB405.h
include/configs/IPHASE4539.h
include/configs/ISPAN.h
include/configs/IceCube.h
include/configs/JSE.h
include/configs/KAREF.h
include/configs/KUP4K.h
include/configs/KUP4X.h
include/configs/M5208EVBE.h
include/configs/M52277EVB.h
include/configs/M5235EVB.h
include/configs/M5249EVB.h
include/configs/M5253DEMO.h
include/configs/M5253EVBE.h
include/configs/M5271EVB.h
include/configs/M5272C3.h
include/configs/M5275EVB.h
include/configs/M53017EVB.h
include/configs/M5329EVB.h
include/configs/M5373EVB.h
include/configs/M54418TWR.h
include/configs/M54451EVB.h
include/configs/M54455EVB.h
include/configs/M5475EVB.h
include/configs/M5485EVB.h
include/configs/METROBOX.h
include/configs/MHPC.h
include/configs/MIP405.h
include/configs/MOUSSE.h
include/configs/MPC8260ADS.h
include/configs/MPC8266ADS.h
include/configs/MPC8313ERDB.h
include/configs/MPC8349EMDS.h
include/configs/MPC8349ITX.h
include/configs/MPC8540ADS.h
include/configs/MPC8541CDS.h
include/configs/MPC8555CDS.h
include/configs/MPC8560ADS.h
include/configs/MPC8568MDS.h
include/configs/MPC8569MDS.h
include/configs/MPC8641HPCN.h
include/configs/MUSENKI.h
include/configs/MVBC_P.h
include/configs/MVBLM7.h
include/configs/MVBLUE.h
include/configs/MVSMR.h
include/configs/NX823.h
include/configs/OCRTC.h
include/configs/ORSG.h
include/configs/P3G4.h
include/configs/PCI405.h
include/configs/PIP405.h
include/configs/PK1C20.h
include/configs/PLU405.h
include/configs/PM520.h
include/configs/PM828.h
include/configs/PMC405DE.h
include/configs/PPChameleonEVB.h
include/configs/RBC823.h
include/configs/Rattler.h
include/configs/SIMPC8313.h
include/configs/SPD823TS.h
include/configs/T4240EMU.h
include/configs/TASREG.h
include/configs/TB5200.h
include/configs/TK885D.h
include/configs/TOP5200.h
include/configs/TQM5200.h
include/configs/TQM834x.h
include/configs/TQM866M.h
include/configs/TQM885D.h
include/configs/Total5200.h
include/configs/VOH405.h
include/configs/VOM405.h
include/configs/W7OLMC.h
include/configs/W7OLMG.h
include/configs/WUH405.h
include/configs/ZPC1900.h
include/configs/ZUMA.h
include/configs/a4m072.h
include/configs/acadia.h
include/configs/aev.h
include/configs/alpr.h
include/configs/am335x_evm.h
include/configs/aria.h
include/configs/astro_mcf5373l.h
include/configs/bamboo.h
include/configs/bubinga.h
include/configs/cam_enc_4xx.h
include/configs/canmb.h
include/configs/charon.h
include/configs/cm4008.h
include/configs/cm41xx.h
include/configs/cm5200.h
include/configs/cobra5272.h
include/configs/colibri_pxa270.h
include/configs/coreboot.h
include/configs/cpci5200.h
include/configs/cpuat91.h
include/configs/csb272.h
include/configs/csb472.h
include/configs/davinci_dm355evm.h
include/configs/davinci_dm365evm.h
include/configs/davinci_dvevm.h
include/configs/davinci_schmoogie.h
include/configs/davinci_sonata.h
include/configs/devkit8000.h
include/configs/dig297.h
include/configs/dlvision-10g.h
include/configs/dlvision.h
include/configs/dra7xx_evm.h
include/configs/eXalion.h
include/configs/ebony.h
include/configs/ep8248.h
include/configs/ep82xxm.h
include/configs/flea3.h
include/configs/galaxy5200.h
include/configs/gdppc440etx.h
include/configs/gr_cpci_ax2000.h
include/configs/gr_ep2s60.h
include/configs/gr_xc3s_1500.h
include/configs/grsim.h
include/configs/grsim_leon2.h
include/configs/hmi1001.h
include/configs/idmr.h
include/configs/igep00x0.h
include/configs/imx27lite-common.h
include/configs/imx27lite.h
include/configs/imx31_litekit.h
include/configs/imx31_phycore.h
include/configs/inka4x0.h
include/configs/integrator-common.h
include/configs/integratorap.h
include/configs/integratorcp.h
include/configs/io.h
include/configs/io64.h
include/configs/iocon.h
include/configs/ipek01.h
include/configs/kilauea.h
include/configs/km/keymile-common.h
include/configs/km/km-powerpc.h
include/configs/km82xx.h
include/configs/kvme080.h
include/configs/linkstation.h
include/configs/luan.h
include/configs/lubbock.h
include/configs/lwmon.h
include/configs/m28evk.h
include/configs/m53evk.h
include/configs/magnesium.h
include/configs/makalu.h
include/configs/manroland/common.h
include/configs/manroland/mpc5200-common.h
include/configs/mcc200.h
include/configs/mecp5200.h
include/configs/motionpro.h
include/configs/mpc5121ads.h
include/configs/mpc7448hpc2.h
include/configs/muas3001.h
include/configs/mucmc52.h
include/configs/munices.h
include/configs/mx1ads.h
include/configs/mx23_olinuxino.h
include/configs/mx31ads.h
include/configs/mx31pdk.h
include/configs/mx35pdk.h
include/configs/mx51_efikamx.h
include/configs/mx53ard.h
include/configs/mx53evk.h
include/configs/mx53loco.h
include/configs/mx53smd.h
include/configs/mx6qarm2.h
include/configs/neo.h
include/configs/nhk8815.h
include/configs/nios2-generic.h
include/configs/nokia_rx51.h
include/configs/o2dnt-common.h
include/configs/ocotea.h
include/configs/omap3_beagle.h
include/configs/omap3_evm.h
include/configs/omap3_logic.h
include/configs/omap3_mvblx.h
include/configs/omap3_pandora.h
include/configs/omap3_sdp3430.h
include/configs/omap3_zoom1.h
include/configs/omap4_panda.h
include/configs/omap4_sdp4430.h
include/configs/omap5912osk.h
include/configs/omap5_common.h
include/configs/omap5_uevm.h
include/configs/openrisc-generic.h
include/configs/p3mx.h
include/configs/p3p440.h
include/configs/pcm030.h
include/configs/pcs440ep.h
include/configs/pdm360ng.h
include/configs/pdnb3.h
include/configs/pf5200.h
include/configs/ppmc8260.h
include/configs/pxa-common.h
include/configs/pxa255_idp.h
include/configs/qong.h
include/configs/quad100hd.h
include/configs/quantum.h
include/configs/sacsng.h
include/configs/sbc405.h
include/configs/sbc8349.h
include/configs/sbc8641d.h
include/configs/sc3.h
include/configs/sc_sps_1.h
include/configs/socrates.h
include/configs/spc1920.h
include/configs/spieval.h
include/configs/stxgp3.h
include/configs/stxssa.h
include/configs/taihu.h
include/configs/tb0229.h
include/configs/trats2.h [new file with mode: 0644]
include/configs/tricorder.h
include/configs/trizepsiv.h
include/configs/tt01.h
include/configs/tx25.h
include/configs/uc100.h
include/configs/uc101.h
include/configs/utx8245.h
include/configs/ve8313.h
include/configs/versatile.h
include/configs/vexpress_ca15_tc2.h
include/configs/vexpress_ca5x2.h
include/configs/vexpress_ca9x4.h
include/configs/vexpress_common.h
include/configs/vision2.h
include/configs/vme8349.h
include/configs/walnut.h
include/configs/woodburn.h
include/configs/woodburn_common.h
include/configs/woodburn_sd.h
include/configs/xaeniax.h
include/configs/xpedite1000.h
include/configs/yosemite.h
include/configs/zeus.h
include/configs/zipitz2.h
include/dataflash.h
include/ddr_spd.h
include/dtt.h
include/env_default.h
include/flash.h
include/gdsys_fpga.h
include/jffs2/load_kernel.h
include/lcd.h
include/linux/mtd/nand.h
include/lynxkdi.h
include/mpc824x.h
include/mpc8xx.h
include/nand.h
include/part.h
include/part_efi.h
include/power/max77686_pmic.h
include/power/max77693_fg.h [new file with mode: 0644]
include/power/max77693_muic.h [new file with mode: 0644]
include/power/max77693_pmic.h [new file with mode: 0644]
include/spi_flash.h
include/tsi148.h
include/universe.h
include/video_ad7176.h
include/video_ad7177.h
include/video_font_4x6.h
include/vsprintf.h
include/watchdog.h
lib/libfdt/fdt_empty_tree.c
lib/slre.c
lib/string.c
nand_spl/nand_boot_fsl_elbc.c
post/lib_powerpc/andi.c
post/lib_powerpc/cpu_asm.h
post/lib_powerpc/rlwimi.c
post/lib_powerpc/rlwinm.c
post/lib_powerpc/rlwnm.c
post/lib_powerpc/srawi.c
post/lib_powerpc/three.c
post/lib_powerpc/threei.c
post/lib_powerpc/threex.c
post/lib_powerpc/twox.c
test/compression.c
tools/Makefile
tools/aisimage.c
tools/aisimage.h
tools/bddb/defs.php
tools/buildman/README
tools/env/fw_env.h
tools/env/fw_env_main.c
tools/imls/Makefile
tools/imximage.c
tools/imximage.h
tools/kernel-doc/docproc.c
tools/kernel-doc/kernel-doc
tools/omapimage.c
tools/omapimage.h
tools/pblimage.h
tools/reformat.py
tools/ublimage.c
tools/ublimage.h
tools/ubsha1.c
tools/updater/flash_hw.c

index 255d89f8933c9a6fd9bf9456d110bb005bede67c..a39bd54d38db4f635c71813c9f1b4319898c5b3b 100644 (file)
@@ -60,6 +60,8 @@
 /reloc_off
 
 /include/generated/
+/include/spl-autoconf.mk
+/include/tpl-autoconf.mk
 asm-offsets.s
 
 # stgit generated dirs
index 9f6119255732e9122b3cb4b2d09fb1b2eb38c355..c6ff2774fc9458e5ae804204d14a193378438545 100644 (file)
@@ -37,6 +37,18 @@ replaced by a single line:
 
        SPDX-License-Identifier:        GPL-2.0+
 
+Ideally, the license terms of all files in the source tree should be
+defined by such License Identifiers; in no case a file can contain
+more than one such License Identifier list.
+
+If a "SPDX-License-Identifier:" line references more than one Unique
+License Identifier, then this means that the respective file can be
+used under the terms of either of these licenses, i. e. with
+
+       SPDX-License-Identifier:        GPL-2.0+        BSD-3-Clause
+
+you can chose between GPL-2.0+ and BSD-3-Clause licensing.
+
 We use the SPDX Unique License Identifiers here; these are available
 at [2].
 
diff --git a/MAKEALL b/MAKEALL
index 956f3da2880d371e49a9c1a4b7e21116408689ad..a9253d3490a3d5cf32526c91b20800b1fcc5b715 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -38,8 +38,8 @@ usage()
          BUILD_NCPUS      number of parallel make jobs (default: auto)
          CROSS_COMPILE    cross-compiler toolchain prefix (default: "")
          CROSS_COMPILE_<ARCH> cross-compiler toolchain prefix for
-                          architecture "ARCH".  Substitute "ARCH" for any
-                          supported architecture (default: "")
+                          architecture "ARCH".  Substitute "ARCH" for any
+                          supported architecture (default: "")
          MAKEALL_LOGDIR   output all logs to here (default: ./LOG/)
          BUILD_DIR        output build directory (default: ./)
          BUILD_NBUILDS    number of parallel targets (default: 1)
index b09bfcca8d89d91aedfd02ca17a19b30bc548e55..8a7ed69e658ebd59a47573496c9f2989662d1bb4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -284,6 +284,7 @@ LIBS-y += drivers/pci/libpci.o
 LIBS-y += drivers/pcmcia/libpcmcia.o
 LIBS-y += drivers/power/libpower.o \
        drivers/power/fuel_gauge/libfuel_gauge.o \
+       drivers/power/mfd/libmfd.o \
        drivers/power/pmic/libpmic.o \
        drivers/power/battery/libbattery.o
 LIBS-y += drivers/spi/libspi.o
diff --git a/README b/README
index cee8e2f1646d970bfe8ef8c3727978997e409ca6..09662a4a0369b2567f6b8274898b4e8b16af8595 100644 (file)
--- a/README
+++ b/README
@@ -944,10 +944,10 @@ The following options need to be configured:
 
 - Regular expression support:
                CONFIG_REGEX
-                If this variable is defined, U-Boot is linked against
-                the SLRE (Super Light Regular Expression) library,
-                which adds regex support to some commands, as for
-                example "env grep" and "setexpr".
+               If this variable is defined, U-Boot is linked against
+               the SLRE (Super Light Regular Expression) library,
+               which adds regex support to some commands, as for
+               example "env grep" and "setexpr".
 
 - Device tree:
                CONFIG_OF_CONTROL
@@ -1096,8 +1096,8 @@ The following options need to be configured:
                devices.
                CONFIG_SYS_SCSI_SYM53C8XX_CCF to fix clock timing (80Mhz)
 
-                The environment variable 'scsidevs' is set to the number of
-                SCSI devices found during the last scan.
+               The environment variable 'scsidevs' is set to the number of
+               SCSI devices found during the last scan.
 
 - NETWORK Support (PCI):
                CONFIG_E1000
@@ -1987,7 +1987,7 @@ CBFS (Coreboot Filesystem) support
                    offset CONFIG_SYS_FSL_I2C_SPEED for the i2c speed and
                    CONFIG_SYS_FSL_I2C_SLAVE for the slave addr of the first
                    bus.
-                  - If your board supports a second fsl i2c bus, define
+                 - If your board supports a second fsl i2c bus, define
                    CONFIG_SYS_FSL_I2C2_OFFSET for the register offset
                    CONFIG_SYS_FSL_I2C2_SPEED for the speed and
                    CONFIG_SYS_FSL_I2C2_SLAVE for the slave address of the
@@ -3191,9 +3191,9 @@ FIT uImage format:
                CONFIG_TPL_PAD_TO
                Image offset to which the TPL should be padded before appending
                the TPL payload. By default, this is defined as
-                CONFIG_SPL_MAX_SIZE, or 0 if CONFIG_SPL_MAX_SIZE is undefined.
-                CONFIG_SPL_PAD_TO must be either 0, meaning to append the SPL
-                payload without any padding, or >= CONFIG_SPL_MAX_SIZE.
+               CONFIG_SPL_MAX_SIZE, or 0 if CONFIG_SPL_MAX_SIZE is undefined.
+               CONFIG_SPL_PAD_TO must be either 0, meaning to append the SPL
+               payload without any padding, or >= CONFIG_SPL_MAX_SIZE.
 
 Modem Support:
 --------------
index d0cf43ff417c996cb9f24313b8620f726fc3f184..bdabcf407e2c7cf783e4e73b05acec2031d2189c 100644 (file)
@@ -17,7 +17,7 @@ endif
 
 LDFLAGS_FINAL += --gc-sections
 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections \
-                     -fno-common -ffixed-r9 -msoft-float
+                    -fno-common -ffixed-r9 -msoft-float
 
 # Support generic board on ARM
 __HAVE_ARCH_GENERIC_BOARD := y
index bd1e0675997874db777e36a149c4189283a75b02..00d1b30ba63bc3285b4c21a04e2bbb585c40416b 100644 (file)
@@ -9,7 +9,7 @@
  *  Copyright (c) 2003 Richard Woodruff <r-woodruff2@ti.com>
  *  Copyright (c) 2003 Kshitij <kshitij@ti.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 90170d71eaf58795b235b8025b56cb41fc56f56c..e8ba1ae09ef600360164f728e1cdaab1bc17f940 100644 (file)
@@ -7,7 +7,7 @@
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Alex Zuepke <azu@sysgo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index b6bfacfcfc409d27bcd2f899834bdf92fa67b76f..f180eb8aa69d612f4a1b9e9ce3a3a3e3c0fd4c09 100644 (file)
@@ -4,7 +4,7 @@
  *  Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
  *  Copyright (c) 2002 Alex Züpke <azu@sysgo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 39de2f4904381c65baaa948ac31f9f81562e5985..e83968fb7a66b96aefac46b56389b3b8f3c1c82c 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (C) 2008 Ronetix Ilko Iliev (www.ronetix.at)
  * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index 8928bbc62457c47c2bf12d6accd3a1db4ab35636..c7d0652e8301e87243bb10800719db663842bd19 100644 (file)
@@ -18,7 +18,7 @@
  *
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 4275c5d0a69a588a41c52fb669f8e1746de72007..8ea45be1d255aa40801da0936bfe055e385923b5 100644 (file)
@@ -56,7 +56,7 @@ static void mxs_power_clock2pll(void)
  * This function ungates the RTC block and sets the AUTO_RESTART
  * bit to work around a design bug on MX28EVK Rev. A .
  */
+
 static void mxs_power_set_auto_restart(void)
 {
        struct mxs_rtc_regs *rtc_regs =
index 9b49ef4a9174415e1519b18a66a840814d1ab239..99d3fb8731f3e0b9d2ac6589ae60b3a3086115b0 100644 (file)
@@ -7,7 +7,7 @@
  * Based on code from LTIB:
  * (C) Copyright 2009-2010 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 3e660347ee4aa026c737cd3b2e1da2e759cc8340..b9715656c8f3743b880169a0cedbc1e93515df71 100644 (file)
@@ -16,7 +16,7 @@
  * (C) Copyright 2004
  * Philippe Robin, ARM Ltd. <philippe.robin@arm.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index fe52d8904a3b5d98f3051259bc35ec7e7500d030..6474e9d55444c8c8a25d1888c334ec379e330d80 100644 (file)
@@ -3,7 +3,7 @@
  * Viresh Kumar, ST Microelectronics, viresh.kumar@st.com
  * Vipin Kumar, ST Microelectronics, vipin.kumar@st.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 3e7766f655fe7a1f2eae17649be3b6b8004760ad..c846d758c9d3fd5376b1b419c5a139d494d9694a 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 2012 Stefan Roese <sr@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index cc45ab7016b1658eceb545c959bb1b59f33c06c7..3d6ad04abfb8b7b66d5b09d6b852331dd5acd184 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2009
  * Vipin Kumar, ST Microelectronics, vipin.kumar@st.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 4097f03c2d0d0d21f698940dc05ae1dfea3d91b1..105b3058fba491167004e082a5cfec7fdad4baf2 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2009
  * Vipin Kumar, ST Microelectronics, vipin.kumar@st.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index c17442ed67c0e29486acb4721c1dd3bbc2314832..00b6b292765fba40ea8080a0830374b82916e743 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2009
  * Vipin Kumar, ST Microelectronics, vipin.kumar@st.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 935ac941a2472d02e6aefbbee0bf9ffb310bd46b..a406c3e8c6287742a65e05004c3208743fef0a0a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2009
  * Vipin Kumar, ST Microelectronics, vipin.kumar@st.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 54361622b47e0fbd3bdac722aa663a736e552c9b..870f927e5d4ff9d6ad0a04d2778120f4c45368ee 100644 (file)
@@ -16,7 +16,7 @@
  * (C) Copyright 2004
  * Philippe Robin, ARM Ltd. <philippe.robin@arm.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index aa499cc677f737c57c068ad0bf660b9000a7d59b..0c8d92d737a28f59a597ebf82310d7b5ea9e2f4f 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2002
  * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index fc7c76759a77907d234216c62ac5d12d013c9ca8..25fadf64875e3aadcb20cedc41ea379e2b0b1244 100644 (file)
 
        /* reconfigure L2 cache aux control reg */
        ldr r0, =0xC0 |                 /* tag RAM */ \
-                0x4 |                  /* data RAM */ \
-                1 << 24 |              /* disable write allocate delay */ \
-                1 << 23 |              /* disable write allocate combine */ \
-                1 << 22                /* disable write allocate */
+                0x4 |                  /* data RAM */ \
+                1 << 24 |              /* disable write allocate delay */ \
+                1 << 23 |              /* disable write allocate combine */ \
+                1 << 22                /* disable write allocate */
 
 #if defined(CONFIG_MX51)
        ldr r3, [r4, #ROM_SI_REV]
@@ -290,20 +290,20 @@ setup_pll_func:
 
        setup_pll PLL1_BASE_ADDR, 800
 
-        setup_pll PLL3_BASE_ADDR, 400
+       setup_pll PLL3_BASE_ADDR, 400
 
-        /* Switch peripheral to PLL3 */
-        ldr r0, =CCM_BASE_ADDR
-        ldr r1, =0x00015154
-        str r1, [r0, #CLKCTL_CBCMR]
-        ldr r1, =0x02898945
-        str r1, [r0, #CLKCTL_CBCDR]
-        /* make sure change is effective */
+       /* Switch peripheral to PLL3 */
+       ldr r0, =CCM_BASE_ADDR
+       ldr r1, =0x00015154
+       str r1, [r0, #CLKCTL_CBCMR]
+       ldr r1, =0x02898945
+       str r1, [r0, #CLKCTL_CBCDR]
+       /* make sure change is effective */
 1:      ldr r1, [r0, #CLKCTL_CDHIPR]
-        cmp r1, #0x0
-        bne 1b
+       cmp r1, #0x0
+       bne 1b
 
-        setup_pll PLL2_BASE_ADDR, 400
+       setup_pll PLL2_BASE_ADDR, 400
 
        /* Switch peripheral to PLL2 */
        ldr r0, =CCM_BASE_ADDR
@@ -324,7 +324,7 @@ setup_pll_func:
        cmp r1, #0x0
        bne 1b
 
-        setup_pll PLL3_BASE_ADDR, 216
+       setup_pll PLL3_BASE_ADDR, 216
 
        setup_pll PLL4_BASE_ADDR, 455
 
@@ -358,13 +358,13 @@ setup_pll_func:
        str r1, [r0, #CLKCTL_CCGR6]
        str r1, [r0, #CLKCTL_CCGR7]
 
-        mov r1, #0x00000
-        str r1, [r0, #CLKCTL_CCDR]
+       mov r1, #0x00000
+       str r1, [r0, #CLKCTL_CCDR]
 
-        /* for cko - for ARM div by 8 */
-        mov r1, #0x000A0000
-        add r1, r1, #0x00000F0
-        str r1, [r0, #CLKCTL_CCOSR]
+       /* for cko - for ARM div by 8 */
+       mov r1, #0x000A0000
+       add r1, r1, #0x00000F0
+       str r1, [r0, #CLKCTL_CCOSR]
 
 #endif /* CONFIG_MX53 */
 .endm
index 9a31f8a1d16170397cb78667677ae7df2fd45acc..74dd105eb6f59cc320cb010b231ec832e4de938e 100644 (file)
@@ -59,4 +59,3 @@ void am35x_musb_clear_irq(void)
                        0, USBOTGSS_INT_CLR);
        readl(&am35x_scm_general_regs->lvl_intr_clr);
 }
-
index 67a79261f778c6afab3d0e3870eac1e18cff8411..e4c8316370955355f0506af6b46d1ee158e17ab3 100644 (file)
@@ -121,6 +121,8 @@ static void emif_get_reg_dump_sdp(u32 emif_nr, const struct emif_regs **regs)
                *regs = &emif_regs_elpida_380_mhz_1cs;
        else if (omap4_rev == OMAP4430_ES2_0)
                *regs = &emif_regs_elpida_200_mhz_2cs;
+       else if (omap4_rev == OMAP4430_ES2_3)
+               *regs = &emif_regs_elpida_400_mhz_1cs;
        else if (omap4_rev < OMAP4470_ES1_0)
                *regs = &emif_regs_elpida_400_mhz_2cs;
        else
@@ -136,6 +138,8 @@ static void emif_get_dmm_regs_sdp(const struct dmm_lisa_map_regs
 
        if (omap_rev == OMAP4430_ES1_0)
                *dmm_lisa_regs = &lisa_map_2G_x_1_x_2;
+       else if (omap_rev == OMAP4430_ES2_3)
+               *dmm_lisa_regs = &lisa_map_2G_x_2_x_2;
        else if (omap_rev < OMAP4460_ES1_0)
                *dmm_lisa_regs = &lisa_map_2G_x_2_x_2;
        else
index 7a7caded030511d1025c3e480efe08f36c841c7b..764620d62a978cf9e1a2e449b539dd01ce8facc3 100644 (file)
@@ -526,8 +526,6 @@ struct prcm_regs const omap5_es2_prcm = {
        .cm1_abe_timer8_clkctrl = 0x4a004580,
        .cm1_abe_wdt3_clkctrl = 0x4a004588,
 
-
-
        /* cm2.ckgen */
        .cm_clksel_mpu_m3_iss_root = 0x4a008100,
        .cm_clksel_usb_60mhz = 0x4a008104,
index 3168e979f22202f2e7b393fb9014a226a3c10589..41bceb1cf579e38b2f6bc3a9e77872725cdd9c69 100644 (file)
@@ -46,4 +46,3 @@ include $(SRCTREE)/rules.mk
 sinclude $(obj).depend
 
 #########################################################################
-
index ff18d9694c4e730a7ba2f9553fb5316f1ce36b0e..0d654403eef53ea36821c10a97fe7f4e042bfb54 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.Iwamatsu.yj@renesas.com>
  * Copyright (C) 2012 Renesas Solutions Corp.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index 47aa9cccbfb7452368fededb4fb0b87223741a08..b8805c8d4303afaa28c30f62ec606c1ea4f0a12d 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 5b87a081c8c61c1697af4a3be57da5b7b6bb3ce3..949abb1c8fe58fa980e1f3830dca615419003b6c 100644 (file)
@@ -4,7 +4,7 @@
  * Inki Dae <inki.dae@samsung.com>
  * Minkyu Kang <mk7.kang@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index ef62fc83270a327bc7df970f598540f1d7ce0fe2..6c9b11a452df97dd445ea665594470995b49fb9a 100644 (file)
@@ -10,7 +10,7 @@
  * Copyright (c) 2003  Kshitij <kshitij@ti.com>
  * Copyright (c) 2006-2008 Syed Mohammed Khasim <x0khasim@ti.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 4367d1afacf3044d81608adc6652aaa118eb7544..49149861f87e6155a231a543af1c044e6f510670 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2012 Michal Simek <monstr@monstr.eu>
  * Copyright (C) 2012 Xilinx, Inc. All rights reserved.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <asm/io.h>
index 3b8d9497a0d2bab665c37b000625d778a0c749e9..636322a8e5728de647c8a333b0a2feb9b1b730ed 100644 (file)
@@ -22,7 +22,7 @@
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Alex Zuepke <azu@sysgo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 1362234b2ad079df59c5c2a60a4c5fb11cab2a02..82c868a1749da67dff69167cf004ee981385c562 100644 (file)
@@ -8,7 +8,7 @@
  * Intel IXP4xx Programmer's Guide and past u-boot Start.S
  * samples.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 303ca84d468742ed7e6d24f90dbeeffd588e2abb..d8fb812dbf0f1c55a171ae2b11232949db3fd70f 100644 (file)
@@ -16,7 +16,7 @@
  *  Copyright (C) 2004 Texas Instruments <r-woodruff2@ti.com>
  *  Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 1c5474f40b03af1d2b58f01460acb0cd4cdc9b46..44cbb5a2e5fe1f79ea0d0f32050d0c5838341785 100644 (file)
                reg = <0x12d40000 0x30>;
                clock-frequency = <50000000>;
                interrupts = <0 70 0>;
-        };
+       };
 
        spi@131a0000 {
                #address-cells = <1>;
index 19f313c8c93a7b82630d4fcd38e483d6392a6957..0ec58e94ceaaaf0d3d4a09d9fd8effe5df066b9d 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASM_ARM_ARCH_DP_H_
index 8c523099c9302a5cd378a2f4347b5d538379acc6..3f6750a6b2bf820cbfd072c05d1d8b687661c8e2 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _DP_INFO_H
index 889e7d009af372e530b3e8ce9bad01eeeef215b5..86ff4da4d8e06cb728a3b3b4f29bb51d8ea76d92 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASM_ARM_ARCH_DSIM_H_
index 498a9ffc049aaa2b04c71c5243bff82e21b32664..40aca716789ca1f97a0730027878e83e9f10c5c1 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _DSIM_H
index 2dd7be8d3b0b3759083ce6bfb5f75c3e20ba8190..4f54fa737d0ae1b4e09524c8bc05a0d032a0439c 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PWM_BACKLIGHT_H_
index 8e16a1129324af809d22d24d29738e92d838d71f..f4998839363609b428dedac8dbf6feaf07996cc6 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2004 eslab.whut.edu.cn
  * Yue Hu(huyue_whut@yahoo.com.cn), Ligong Xue(lgxue@hotmail.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _IXP425PCI_H
index 9129c0dd7cb005c4ed0494b367c3956c0503266a..e35f51c7bf6946b52a66a992554033e0b4d514df 100644 (file)
 
 /* CONTROL_ID_CODE */
 #define CONTROL_ID_CODE                0x4A002204
+#define STD_FUSE_DIE_ID_0      0x4A002200
+#define STD_FUSE_DIE_ID_1      0x4A002208
+#define STD_FUSE_DIE_ID_2      0x4A00220c
+#define STD_FUSE_DIE_ID_3      0x4A002210
 
 #define OMAP4_CONTROL_ID_CODE_ES1_0    0x0B85202F
 #define OMAP4_CONTROL_ID_CODE_ES2_0    0x1B85202F
index 04b70f6cc86d83c99e3d3f52fcc66faffb68f706..603bf146275966e9584196967cb11974bd1c4e91 100644 (file)
@@ -16,7 +16,7 @@
  * (C) Copyright 2004
  * Philippe Robin, ARM Ltd. <philippe.robin@arm.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index a62a55656128077890e23bb3ac170be0f464e6bf..803525156314e2b4b59a73d296965f773095041a 100644 (file)
@@ -66,9 +66,9 @@ relocate_done:
        /* ARMv4- don't know bx lr but the assembler fails to see that */
 
 #ifdef __ARM_ARCH_4__
-        mov        pc, lr
+       mov        pc, lr
 #else
-        bx        lr
+       bx        lr
 #endif
 
 ENDPROC(relocate_code)
index 20aeab81a20418cce2c00de9fdfb202b43e516b4..10f72f8246cea564ad269d305032f8299705f9ca 100644 (file)
@@ -261,7 +261,7 @@ static void decode_address(char *buf, unsigned long address)
        if (!address)
                sprintf(buf, "<0x%p> /* Maybe null pointer? */", paddr);
        else if (address >= CONFIG_SYS_MONITOR_BASE &&
-                address < CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
+                address < CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
                sprintf(buf, "<0x%p> /* somewhere in u-boot */", paddr);
        else
                sprintf(buf, "<0x%p> /* unknown address */", paddr);
index 77f849e8f23f239191242d7f68c7bec809737077..17d22ab57fc6519a913d3f7f002e294a01a3f7bc 100644 (file)
@@ -16,7 +16,7 @@ typedef struct SESR_args {
        unsigned long   ulMessageSize;      /* message length in bytes            */
        unsigned long   ulSFEntryPoint;     /* entry point of secure function     */
        unsigned long   ulMessagePtr;       /* pointer to the buffer containing
-                                              the digital signature and message  */
+                                              the digital signature and message  */
        unsigned long   ulReserved1;        /* reserved                           */
        unsigned long   ulReserved2;        /* reserved                           */
 } tSESR_args;
index c84edd3632fae4888179e794117d8b29de23b536..23024f94c8586a6d4cff8f754f9b84e57fb57a56 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2003  Josef Baumgartner <josef.baumgartner@telex.de>
  * Based on code from Bernhard Kuhn <bkuhn@metrowerks.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 0882c3b8e5b2e0f21fa4f79fde65022beb3ee40c..edcb092fecd7f7986a9fa4e92794a5f1774367e1 100644 (file)
@@ -15,7 +15,7 @@
  * MCF5275 additions
  * Copyright (C) 2008 Arthur Shipkowski (art@videon-central.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 322b699465019156727d2c4abb6fa16d86e18bf6..3b9ede0d3d49a1df9408e5ae6fa9b4530691d2d0 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2004-2008 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 235e2cc8f41ce0499458f8807330cf43b00a695c..e41f36cdd2f79b5d150d7ded3d09b74538136378 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2004-2007, 2012 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 18f8da550c9a85561f458a0b0a19626a6e85b37f..979eb5a765a8a9ce9860ca0ad1d0d75e5e2b864c 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2010-2012 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 1a40108377513e04d521f6a53562c91719d16913..cde7e5aa6947e47c2776fe1c6ab21986e1fbc520 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2004-2007, 2012 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 7be713e62b5ec6d2ee3ea89550574c66dcf48a6f..2e7ed36e11839998c1baec6efdfd49c01d3b9848 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007, 2012 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index c41c79a95874ba30c28ff9fdc37e1f6e8d20a94b..75de22d37c8a71dbbf10ac19797a5a1d94bf6997 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2003  Josef Baumgartner <josef.baumgartner@telex.de>
  * Based on code from Bernhard Kuhn <bkuhn@metrowerks.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 5f3ef5287a3f8d32ddd058cd0223144e94f9ebe4..a36e065c7595783d791e33f237ff95f9e4db894f 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 2003 Josef Baumgartner <josef.baumgartner@telex.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __IMMAP_5282__
index a85c22bcb3afabb128be0069d583e6ebbc5ff11c..31633543e093143bb1dd2ee95d3f96bb2d35b0ae 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 55bf0c290f4e66a275342aaecfa4d82cd79cde0e..cbd410ceb7648e5df3149a313a4aa4c610014bd1 100644 (file)
@@ -20,7 +20,7 @@ extern void _int_handler(void);
 static void show_frame(struct pt_regs *fp)
 {
        printf ("Vector Number: %d  Format: %02x  Fault Status: %01x\n\n", (fp->vector & 0x3fc) >> 2,
-               fp->format, (fp->vector & 0x3) | ((fp->vector & 0xc00) >> 8));
+               fp->format, (fp->vector & 0x3) | ((fp->vector & 0xc00) >> 8));
        printf ("PC: %08lx    SR: %08lx    SP: %08lx\n", fp->pc, (long) fp->sr, (long) fp);
        printf ("D0: %08lx    D1: %08lx    D2: %08lx    D3: %08lx\n",
                fp->d0, fp->d1, fp->d2, fp->d3);
index ce9bb8a8d66683aa1475454c9c78438451a12a8e..c1c3b03985795a966dff2d821b79bb19ead98d39 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Michal  SIMEK <monstr@monstr.eu>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* FSL macros */
index f5cad566861798b495704bcad14e6cc87af57664..4762de0243862c836034677a05b93c69ab08a33b 100644 (file)
@@ -12,4 +12,3 @@ extern int gpio_alloc(u32 baseaddr, const char *name, u32 gpio_no);
 extern void gpio_info(void);
 
 #endif
-
index bfbd724004dee998f6defb01f158871b9b011cdd..0fb9207882fe23064cdbab55fceb2669bc6f38ac 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Michal  SIMEK <monstr@monstr.cz>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 typedef volatile struct microblaze_intc_t {
@@ -36,4 +36,3 @@ int install_interrupt_handler(int irq, interrupt_handler_t *hdlr,
                                       void *arg);
 
 int interrupts_init(void);
-
index cfd3792ae9a8f975db4128bb28d9fb439d706acf..0d8140201d28f890e31688eb9fc63aeafa7928c3 100644 (file)
@@ -25,4 +25,3 @@ typedef volatile struct microblaze_timer_t {
 } microblaze_timer_t;
 
 int timer_init(void);
-
index f5a7f1d48a316237a0cdf9dc73c870ad8a551a63..d60b307f6fd5c0f04f9f56dd3f43e1a6350c5eba 100644 (file)
@@ -5,7 +5,7 @@
  * Michal  SIMEK <monstr@monstr.eu>
  * Yasushi SHOJI <yashi@atmark-techno.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 65671cd18840f9428d68ccbfc91f9bc925cc1ae3..4770f563aa92e8954a3953a76372249694ea2ca6 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2003
  * Thomas.Lange@corelatus.se
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <config.h>
 
index c83f5eec4ee039b1b9ba6238546554d262631bab..9758552447babf08023e5f584033271b17031a4f 100644 (file)
@@ -475,7 +475,7 @@ void do_epcs_info (struct epcs_devinfo_t *dev, int argc, char * const argv[])
        printf ("status: 0x%02x (WIP:%d, WEL:%d, PROT:%s)\n",
                stat,
                (stat & EPCS_STATUS_WIP) ? 1 : 0,
-               (stat & EPCS_STATUS_WEL) ? 1 : 0,
+               (stat & EPCS_STATUS_WEL) ? 1 : 0,
                (stat & dev->prot_mask) ? "on" : "off" );
 
        /* Configuration  */
index 50200d283c4673809191326cc2b454d5fd828a16..f5fa8d7453b3be9e0ae41ddcadbccacbe5d52720 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  * Scott McNutt <smcnutt@psyent.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index d7d5c6085ddce9c1c64fbffbd0829aec72e73131..be92e8edfc370a7d98a1b81ae2a2798b35b751c4 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  * Scott McNutt <smcnutt@psyent.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 3caee193405946c0145f8adf3b469544fbb16128..cf1b8369259a5bc9ab43cd224792c59f91dea812 100644 (file)
@@ -548,7 +548,7 @@ __mulsi3 (SItype a, SItype b)
   while (cnt)
     {
       if (cnt & 1)
-        {
+       {
          res += b;
        }
       b <<= 1;
index f238fe4c60dd42eb898d71756bf4d23546d9afe9..272656a361d7b154643f93c28a599d7c95b3480a 100644 (file)
@@ -138,8 +138,8 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        /* Code the jump to __reset here as the compiler is prone to
           emitting a bad jump instruction if the function is in flash */
        __asm__("l.movhi r1,hi(__reset);  \
-                 l.ori r1,r1,lo(__reset); \
-                 l.jr r1");
+                l.ori r1,r1,lo(__reset); \
+                l.jr r1");
        /* not reached, __reset does not return */
        return 0;
 }
index 3df4d9ec1de5868337bd8597c662d66446fdeb10..a18748f61f9174306231459699f971adecb9dbc6 100644 (file)
@@ -8,7 +8,7 @@
  * Michal  SIMEK <monstr@monstr.eu>
  * Yasushi SHOJI <yashi@atmark-techno.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index eec9ed56b43f63eb80d3dcba91a70286d55364f6..5ffa41cfc1b4f49059971410ce3a562474a01481 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index b6ac69321e8aa3f13361ae87f454a2e0f2baf7c5..37d796e635eb3731530fc335534b0e29540577d4 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000
  * Rob Taylor. Flying Pig Systems. robt@flyingpig.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 49985c4f86a3043d19e2a151eba78c573366671e..2c013bbe5d122a6388bbda297357e3d3db00ef7e 100644 (file)
@@ -6,7 +6,7 @@
  * Vitaly Bordug <vbordug@ru.mvista.com>
  * Added support for PCI bridge on MPC8272ADS
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index d568f889d2fc29e69c9f5587c70911d46d0c32bf..0e9ddb8e26074bfa8cb4379d9940b98e2c78e645 100644 (file)
@@ -425,15 +425,15 @@ static int print_83xx_arb_event(int force)
        };
 
        int etype = (gd->arch.arbiter_event_attributes & AEATR_EVENT)
-                   >> AEATR_EVENT_SHIFT;
+                   >> AEATR_EVENT_SHIFT;
        int mstr_id = (gd->arch.arbiter_event_attributes & AEATR_MSTR_ID)
-                     >> AEATR_MSTR_ID_SHIFT;
+                     >> AEATR_MSTR_ID_SHIFT;
        int tbst = (gd->arch.arbiter_event_attributes & AEATR_TBST)
-                  >> AEATR_TBST_SHIFT;
+                  >> AEATR_TBST_SHIFT;
        int tsize = (gd->arch.arbiter_event_attributes & AEATR_TSIZE)
-                   >> AEATR_TSIZE_SHIFT;
+                   >> AEATR_TSIZE_SHIFT;
        int ttype = (gd->arch.arbiter_event_attributes & AEATR_TTYPE)
-                   >> AEATR_TTYPE_SHIFT;
+                   >> AEATR_TTYPE_SHIFT;
 
        if (!force && !gd->arch.arbiter_event_address)
                return 0;
index e073c904efc95537466e9985747216f18f333321..30606fbe5827b66859259c53037d2cfe13e73607 100644 (file)
@@ -67,7 +67,7 @@ static void pci_init_bus(int bus, struct pci_region *reg)
        pci_ctrl->pibar1 = 0;
        pci_ctrl->piebar1 = 0;
        pci_ctrl->piwar1 = PIWAR_EN | PIWAR_PF | PIWAR_RTT_SNOOP |
-                          PIWAR_WTT_SNOOP | (__ilog2(gd->ram_size - 1));
+                          PIWAR_WTT_SNOOP | (__ilog2(gd->ram_size - 1));
 
        i = hose->region_count++;
        hose->regions[i].bus_start = 0;
@@ -79,7 +79,7 @@ static void pci_init_bus(int bus, struct pci_region *reg)
        hose->last_busno = 0xff;
 
        pci_setup_indirect(hose, CONFIG_SYS_IMMR + 0x8300 + bus * 0x80,
-                                CONFIG_SYS_IMMR + 0x8304 + bus * 0x80);
+                                CONFIG_SYS_IMMR + 0x8304 + bus * 0x80);
 
        pci_register_hose(hose);
 
index 3580706105f5f0c99d8c3efb26b21c94a9863cef..f62e1b79d36a25957c8298b85baaa098b14212ed 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2003 Motorola Inc.
  * Xianghua Xiao (X.Xiao@motorola.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index be4f4ae87013547905f9afb9deb93848cfb09106..d329aa84abe5310125b01b820d07943392faefa3 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2004, 2007-2012 Freescale Semiconductor, Inc.
  * Copyright (C) 2003  Motorola,Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* U-Boot Startup Code for Motorola 85xx PowerPC based Embedded Boards
index c9adc71af85524943a9664b1715826dede8c5174..3ef6e4ae160ffc2bd8739bb6c229ec13f1d09557 100644 (file)
@@ -13,7 +13,7 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 854d02b5c49211ea526329202efd124978bb9bff..5abe6f0bf2cf102a0ce8a4e75ba593e373687089 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2000-2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 923b8dc916b706c4e62ca8f3cf781c5ccde16ddf..e28292f5e2fb683fc14b0dbbdafae7d50bed66ad 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <mpc8xx.h>
index 4417646f83789bbf391eebdfe65f365dc6f8c992..717e7badbedc9db5d401a1360f7d1a5df3917bec 100644 (file)
@@ -23,7 +23,7 @@
  * (C) Copyright 2005
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 52340f209d397a8b6c7ba6b3d16ea0942d9a2473..36e7b01e8c5e98364f8ed4156975becf02ee8f8d 100644 (file)
@@ -23,7 +23,7 @@
  * (C) Copyright 2005-2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* define DEBUG for debugging output (obviously ;-)) */
index 08781a1fb96d6859426d43d849eeec7b87ec8856..33dc72585cb22b5737051d9b1d5d590ca500352f 100644 (file)
@@ -143,14 +143,14 @@ void pci_405gp_init(struct pci_controller *hose)
        ptmla_str = getenv("ptm1la");
        ptmms_str = getenv("ptm1ms");
        if(NULL != ptmla_str && NULL != ptmms_str ) {
-               ptmla[0] = simple_strtoul (ptmla_str, NULL, 16);
+               ptmla[0] = simple_strtoul (ptmla_str, NULL, 16);
                ptmms[0] = simple_strtoul (ptmms_str, NULL, 16);
        }
 
        ptmla_str = getenv("ptm2la");
        ptmms_str = getenv("ptm2ms");
        if(NULL != ptmla_str && NULL != ptmms_str ) {
-               ptmla[1] = simple_strtoul (ptmla_str, NULL, 16);
+               ptmla[1] = simple_strtoul (ptmla_str, NULL, 16);
                ptmms[1] = simple_strtoul (ptmms_str, NULL, 16);
        }
 #endif
index c80bc45b144a915d5c443aea47254b157a8ec9c8..0d99391dfb9cad3b5c78e936a0510ec66d2a5f3b 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <config.h>
 
index 2d95bc53c2599aaf2d1268e220e21b162bb58dfc..d4ef36d39ffc6f335e34ff7a2ec5c9089326579d 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2002-2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 86521676f14499ba760ac36fbb1a835f6db0d209..3cb09bda4308213342d99ef7d0106426a014d86a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 11c06a223958cb7a8f122141a6f715a882453f3d..d027866d3d940c43575e3f84ea8414151151170e 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 2010, Applied Micro Circuits Corporation
  * Author: Tirumala R Marri <tmarri@apm.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _APM821XX_H_
index ae3c99c5bebf0d7047efc2e14cfd344520a48bba..9f04215661b78cd68593d352a4725b0fcdab5aac 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC405EP_H_
index 179ef149d7d5bf5279c07290b3deb7ff76184d59..083405ccb6b2caab9e7ff2dfc36256487af8bb33 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC405EX_H_
index 0a53458af1145353214795c85152fe5a1674a346..40cf8ed51b615b637b18402284d7a4988e576917 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC405EZ_H_
index 60d2d3d6af1200fd43d0f7d77c42c671323c3fa3..0044a3a42ca19cb729acced0220510da4b0534ae 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC405GP_H_
index 9ebbfcc2b232401db02b0845072dac3fa260f9d1..c2c3abb0b08711853bc171e08083ce57efcaf7d8 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC440EP_GR_H_
index 25200507735d5b0aac50e6dec3a9fa308997dff7..93c3e2ef1a07190f384fd36cdeeded9fa6d7fa79 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC440EPX_GRX_H_
index 7eb16216c7e0393595a1d6fccad57e44547eca3c..01b66c05085168f277209d6be1e904a44b55aec0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC440GP_H_
index 4e3cbfb896fa6744cd8325922b4df9bba45eca7d..7bd36e860b742ad9b0bb733b409d0f2a5dc51228 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC440GX_H_
index ca69179a9bf0b7e6220cca907fb24e4c5fbeb7df..5c2192ee43f1b098084e96629a80d8a85946ac40 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC440SP_H_
index 2ae2193de87e00f0b3bd46fd4204089e41637135..105dc0119619e18239d8b1aaa4919c3521cef9d2 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC440SPE_H_
index 31750a4555edf11fa9d8f4e9c321fe41b46e8325..f41df0da6a20a9af4f112df2b3ff1a02ed457198 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC460EX_GT_H_
index d6dcda52e2a27b50cf7d6723ffb8a162a8f118a7..b692d07f3303ad630f9630493369a7efabae6ef6 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC460SX_H_
index 32062fd419fe06c251e73a231f67c6ba96ba73dc..07a3fe033fc8bcf0f5acb93e222fc5601fcbb68f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC4xx_EBC_H_
index 84968f81f66de691fcade623690a5b76ba01c5a4..12d6d038c7b10cd047dad728389b0bf6008f2c6d 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC4xx_SDRAM_H_
index 13211e3a9ccefd667007a1abb7d0f7c687ee6aee..05b4690a5c10b63e8c93216e318a93d4c06e405a 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2008-2009
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PPC4xx_UIC_H_
index 615c5567c34309262b58fd1704655cfb6ffe5052..7e92b4ac66c811866148540b6c424026ef7abbbc 100644 (file)
@@ -3,7 +3,7 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 SECTIONS
index ca1cb816caa7bd6720b392a0bc69f0e2feeed908..ba3c1643d9d02fdab809c01a3f6d2b4ea983a5f4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASM_SANDBOX_BYTEORDER_H
index 0f41864682dd2638df8961d078cce9d45d630db2..9ac6a5f00dd7927f68df88601b205c0557b7e073 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __SANDBOX_ASM_IO_H
index 4d651cfb65610a951733c10a12818905cb506a3c..e9f552f4ae18127edf17a5397cc269c7205b24a5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASM_SANDBOX_PTRACE_H
index ef820fa7364ca879cbd9368238fa7915bfb1cc12..f247ff3ba786ee06baef5f7b689efaed66b44c15 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <linux/string.h>
index 95ec7d1068f7c049a7adabe3d9d7dadac2279f63..066acc53fdb9e1685cdbb61cc1dab384aaf7f348 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASM_SANDBOX_SYSTEM_H
index 4f1ab13d10e0bcfb1da9fe48564240003c957185..88c84bae7c8e7a9b27efcc8050add476a46f73c6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASM_SANDBOX_TYPES_H
index 2df1cd044997aef071d2a0778a1fef08dee313d6..e52980499fb9a4ca779733c890c9245cde2471cc 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-generic/unaligned.h>
index 52ba7c2104da9a34c17b23b9ba8a6d94713c994e..c6d8ae913a5740a2a0b307152c7aedb49b9d939b 100644 (file)
@@ -3,7 +3,7 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 1ce3b5ef6cb48c0add09c12cdd6a08e658255084..e24f13afaf1efcb8f7579c3763fce4145958583e 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2008
  * Graeme Russ, graeme.russ@gmail.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 7484c5c02a6770eb0bbe851149cc8a14c8f30d35..33f16a3079381e15f694b94418791e5aa96d255a 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2002
  * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 2d155a33fe5e9b27fc0bf46c9ed9e634e002e53c..5c45fca59f9ef336776d379c486b48c3f5b4f48c 100644 (file)
@@ -50,7 +50,7 @@ TFTP from server 192.168.1.1; our IP address is 192.168.20.71
 Filename '/tftpboot/ipam390/u-boot.ais'.
 Load address: 0xc0000000
 Loading: ##################################
-         1.5 MiB/s
+        1.5 MiB/s
 done
 Bytes transferred = 493716 (78894 hex)
 
index fe3c0f1528b31dd0971744b42c7b1af31e4e6163..aa41ff8fd2c0dfe030e592219af52268f306af16 100644 (file)
@@ -46,7 +46,6 @@ U-Boot, at the address of 0x03000000.
 
 =============================================================================
 
-
 ##################################################
 # Operation on the serial console (SMC1)
 ##############################
index 790b0df4da16a378ea4084d911f41a286cdc032b..d960eb4c5dc6cbc0cce2ecce4c1daa75f233fbd4 100644 (file)
@@ -5,7 +5,7 @@
  * based on - Driver for MV64360X ethernet ports
  * Copyright (C) 2002 rabeeh@galileo.co.il
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 45274f08d9ee8bae5f328779dcf1f0938f3f82df..9a54a976d9323998320e63f919c3384306b0ecb2 100644 (file)
@@ -5,7 +5,7 @@
  * based on - Driver for MV64360X ethernet ports
  * Copyright (C) 2002 rabeeh@galileo.co.il
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /********************************************************************************
index dafbe59f52ba8143fb8c43d7575be6f8f7b4bec5..5954b4cea2448e573d98e957581aa88afa309bd7 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*************************************************************************
index 97a3a6661f63e413e009b7daee225fe368950335..4c95e3ec4c2f52fd8e9619a2bb1fff2d9622b233 100644 (file)
@@ -5,7 +5,7 @@
  * based on - Driver for MV64460X ethernet ports
  * Copyright (C) 2002 rabeeh@galileo.co.il
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 4aefb3f683c795dff9b1121a68ddc2b66f63443d..70b6d2eeacce98ad9fc22193655fcb58939d0b75 100644 (file)
@@ -5,7 +5,7 @@
  * based on - Driver for MV64460X ethernet ports
  * Copyright (C) 2002 rabeeh@galileo.co.il
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /********************************************************************************
index f47e8fa44da1711a5ee7aef5b4d6dd7048fb82a2..15b7232fd7bc54a5cc0318197f4e99feda152b10 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index fa1a54b1a7bf289bbfc8b8b8041bf16c8d2fb0b2..2ee7096b83677a3337c6f8e52fecc9791ef20fb2 100644 (file)
@@ -5,7 +5,7 @@
  * Support for Analogue&Micro Adder boards family.
  * Tested on AdderII and Adder87x.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 639170f7fd0c7a91622d16ab8225030ef57233ab..580d590f2a7068dbc0848772156beb92cd4ac4d4 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  * Scott McNutt <smcnutt@psyent.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 7ae7ca21165808c66f5143fabf9afb82dfea6585..1f22c8524a500cdf66ce08f5bf7978e3b6eae521 100644 (file)
@@ -87,10 +87,10 @@ static inline void __sevenseg_set (unsigned int value)
 
 #if (SEVENSEG_ACTIVE == 0)
        sevenseg_portval = (sevenseg_portval &   SEVENDEG_MASK_DP)
-                        | ((~value)         & (~SEVENDEG_MASK_DP));
+                        | ((~value)         & (~SEVENDEG_MASK_DP));
 #else
        sevenseg_portval = (sevenseg_portval & SEVENDEG_MASK_DP)
-                        | (value);
+                        | (value);
 #endif
 
        piop->data = sevenseg_portval;
index 9720d585846186297ab3a4c88a48599ea39abf2d..e35fae54d28a04d4496362f4cbc8aa59a94ce4f1 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  * Scott McNutt <smcnutt@psyent.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index e85841a014bbfb00a00217525fdac887aed1a847..49f200aa0b3df7c016ba1d7932632b1f76e695b4 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*----------------------------------------------------------------------------+
index 408450c080466458cd26608782ee8fc35bb998fe..48dbcbe2a1b6ae1963669ee29a464c0c9e444d72 100644 (file)
@@ -4,7 +4,7 @@
  *
  *  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index a1bf16804c8d1acdb7de1382484e0190c82a59cb..cf22ca6340221732ca5c521efcf211d93c8e12e9 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 2010, Applied Micro Circuits Corporation
  * Author: Tirumala R Marri <tmarri@apm.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index e3134ddd6a6523080d506fd42a695fb72b20b62c..d83cd6e754281fba116bd5819a77595771d9168e 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index df35589aa6242fac7b92699e72370264034e9758..eb424489ef750fc84124c4047afbfe51602bd548 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 83ccd53020c7021e7feb7e2c8285b7ce716f9874..32f26672e2ff1ac3213c4bd3faf7165c0662bd7f 100644 (file)
@@ -4,7 +4,7 @@
  *
  *  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <ppc_asm.tmpl>
index 9514fb8b8a6ea3036e743ebc9ec7752317c40121..0f4a78e1e79ed909e94b2ec4f31961a332ac7ffd 100644 (file)
@@ -4,7 +4,7 @@
  *
  *  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <ppc_asm.tmpl>
index 509595b5adbe4cc310ddeec87ccc0578bf448cd9..774671db4321b3bb34ea8b0aca61be44665476e6 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * John Otken, jotken@softadvances.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 032640f67fe85e8f09179f7e41bbda6cecd6a922..e15c62249ece5d43b339fd871384a021778e41a3 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Originally based on code provided from Senao and AMCC
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
        .globl  ext_bus_cntlr_init
index e23cc7e134c069b8f21f6f3171256d36493a2556..35085f0a06a5594e90332349142f7b9c56b1921d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <ppc_asm.tmpl>
index e0039485e65a22f627972649e0d25876989e8f77..5f11f195e87cc71e9c3b3a0e13719ab6d91a80e0 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2005
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 748422dedd1729d1abb50d5dd04d5a86bd6989d5..fd05130870298283e0691f6824144281a67cf9c3 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Feng Kan, Applied Micro Circuits Corp., fkan@amcc.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <ppc_asm.tmpl>
index 9497865575f4a8c304ac3e1bbb5907839589d48e..b31e9db3f9102b34906d2d3c4b408128871b82b8 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 0ff4a9134a214b412f7867d159350f5971086031..ab1bb34fb87ced95dbbe60fe8cb1101c49c68ed0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <ppc_asm.tmpl>
index c0a668a95e498466d04e22edfa6e6f1ff2041438..124b81ee0bca73e9ca72e6a65a9b6502eea22eef 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index bc74e8a9af82ced10dd969ebd82d706290b5872c..53bfdf790b4565d3f93cb319abf1c5c677820dcc 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index 52af23c6e9c2b3852484da29e88ac25cd6becae3..5c8d9ec8f193fa6f2f398b97ee115c5b6e3a9902 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 3440d50a2d963a25c61aa2cf68d28a6860e61dea..273898929a5cc63f220cab540840c84c174dab2c 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index 8523ac33eee587277d71a8c06b4b4626017ce332..56b5191d6667187467e6b6ba789577b63891b6f3 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006-2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index b2fc43e52fe3ad57f46f010604926c16f0bfbe7b..7da5c0d44fb4467419c7de92dd90dec782a2706f 100644 (file)
@@ -4,7 +4,7 @@
  *
  *  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <ppc_asm.tmpl>
index fb6ed568519d9b1600d9719fd0a3769a422576ad..6381fcc464c7409d382f22c7dd955da5be1e7a21 100644 (file)
@@ -5,7 +5,7 @@
  * Register definitions for the External Bus Interface (EBI)
  * found in the ARM Integrator AP and CP reference designs
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ARM_EBI_H
index e9897c823b55deab294c25d6bb8551a455ba0b2e..7a94d673043f4b35811fda7d0dffbf84e8c536e3 100644 (file)
@@ -6,7 +6,7 @@
  * the similar "CP Controller" found in the ARM Integrator/AP and
  * Integrator/CP reference designs
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ARM_SC_H
index 62870c6f43d5cb3b249bbd13663c1f5b7bebffc0..f0fe0fd3aabe66ba0f096221eb8de985211e61ba 100644 (file)
@@ -14,7 +14,7 @@
  * ARM Ltd.
  * Philippe Robin, <philippe.robin@arm.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 4e2da4006fe4a8616c3f09f6cbc287acd9889cb3..389d5e90836ea76edfbee1bc375df51091fb0a83 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2004, ARM Ltd.
  * Philippe Robin, <philippe.robin@arm.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index c3f84236e542d57da45f1e1b6a1e38cbf44172a4..157138b03ab7e84b8437f700c19fb90c29f28885 100644 (file)
@@ -18,7 +18,7 @@
  * Linaro
  * Linus Walleij <linus.walleij@linaro.org>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <pci.h>
index f77edad4ffa73db2c70aa3165c32bda2047df29e..14a52c460815685fd738c5fea80a641303caad9a 100644 (file)
@@ -14,7 +14,7 @@
  * ARM Ltd.
  * Philippe Robin, <philippe.robin@arm.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 9f9618b518b27a51b1cf2721053e12b693210317..a81e40b58b7df36c2ca81298dab3c5a5b9503b82 100644 (file)
@@ -43,4 +43,3 @@ include $(SRCTREE)/rules.mk
 sinclude $(obj).depend
 
 #########################################################################
-
index bfb11bf78e96d76cc55b07e7366e84011de8988e..a5c6d750cb2450c00fd5e5f6264f13ced22655d3 100644 (file)
@@ -11,7 +11,7 @@
  * (C) Copyright 2006
  * Stefan Strobl, GERSYS GmbH, stefan.strobl@gersys.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 0d8e8e542bd9dd9e71de3c180de6c12ee271a37f..1f9a8895549e4ecfb142aa2fab97470c45ea5848 100644 (file)
@@ -6,39 +6,39 @@ if ${fs}load ${dtype} ${disk}:1 12000000 u-boot.imx || ${fs}load ${dtype} ${disk
       if sf probe || sf probe || \
         sf probe 1 27000000 || sf probe 1 27000000 ; then
           echo "probed SPI ROM" ;
-           if sf read 0x12400000 $offset $filesize ; then
-               if cmp.b 0x12000000 0x12400000 $filesize ; then
-                   echo "------- U-Boot versions match" ;
-               else
-                   echo "Need U-Boot upgrade" ;
-                   echo "Program in 5 seconds" ;
-                   for n in 5 4 3 2 1 ; do
-                        echo $n ;
-                        sleep 1 ;
-                   done
+          if sf read 0x12400000 $offset $filesize ; then
+              if cmp.b 0x12000000 0x12400000 $filesize ; then
+                  echo "------- U-Boot versions match" ;
+              else
+                  echo "Need U-Boot upgrade" ;
+                  echo "Program in 5 seconds" ;
+                  for n in 5 4 3 2 1 ; do
+                       echo $n ;
+                       sleep 1 ;
+                  done
                   echo "erasing" ;
-                   sf erase 0 0x50000 ;
+                  sf erase 0 0x50000 ;
                   # two steps to prevent bricking
                   echo "programming" ;
-                   sf write 0x12000000 $offset $filesize ;
+                  sf write 0x12000000 $offset $filesize ;
                   echo "verifying" ;
-                   if sf read 0x12400000 $offset $filesize ; then
-                       if cmp.b 0x12000000 0x12400000 $filesize ; then
-                           while echo "---- U-Boot upgraded. reset" ; do
+                  if sf read 0x12400000 $offset $filesize ; then
+                      if cmp.b 0x12000000 0x12400000 $filesize ; then
+                          while echo "---- U-Boot upgraded. reset" ; do
                                sleep 120
                           done
-                       else
-                           echo "Read verification error" ;
-                       fi
-                   else
-                        echo "Error re-reading EEPROM" ;
-                   fi
-               fi
-           else
-               echo "Error reading boot loader from EEPROM" ;
-           fi
+                      else
+                          echo "Read verification error" ;
+                      fi
+                  else
+                       echo "Error re-reading EEPROM" ;
+                  fi
+              fi
+          else
+              echo "Error reading boot loader from EEPROM" ;
+          fi
       else
-           echo "Error initializing EEPROM" ;
+          echo "Error initializing EEPROM" ;
       fi ;
 else
      echo "No U-Boot image found on SD card" ;
index 2b61e5d2a9bbfe806184ee5080837da42ee52b4d..17129081b726cd891767b34c4627f99f1076756f 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2010-2013 Freescale Semiconductor, Inc.
  * Copyright (C) 2013, Boundary Devices <info@boundarydevices.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index c6279bb30ba7ebb6ac1873a1f876c21f8a9dfcdd..932fe6c24bf33d12aa62bc6fa671bcd77129becc 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2008
  * Graeme Russ, graeme.russ@gmail.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* board early intialization */
index cb6a9e41eeda98746ac27905ee314155b6af862e..2f13544612f2beae63592273942b7b63417aca1b 100644 (file)
@@ -3,8 +3,8 @@
 /include/ "coreboot.dtsi"
 
 / {
-        #address-cells = <1>;
-        #size-cells = <1>;
+       #address-cells = <1>;
+       #size-cells = <1>;
        model = "Google Alex";
        compatible = "google,alex", "intel,atom-pineview";
 
               silent_console = <0>;
        };
 
-        gpio: gpio {};
+       gpio: gpio {};
 
        serial {
                reg = <0x3f8 8>;
                clock-frequency = <115200>;
        };
 
-        chosen { };
-        memory { device_type = "memory"; reg = <0 0>; };
+       chosen { };
+       memory { device_type = "memory"; reg = <0 0>; };
 };
index c95ee8a108937cf2d3eb2d4e294cff1586817421..4a37dac4ea9adc470005da949b281f0e18923ef6 100644 (file)
@@ -3,8 +3,8 @@
 /include/ "coreboot.dtsi"
 
 / {
-        #address-cells = <1>;
-        #size-cells = <1>;
+       #address-cells = <1>;
+       #size-cells = <1>;
        model = "Google Link";
        compatible = "google,link", "intel,celeron-ivybridge";
 
               silent_console = <0>;
        };
 
-        gpio: gpio {};
+       gpio: gpio {};
 
        serial {
                reg = <0x3f8 8>;
                clock-frequency = <115200>;
        };
 
-        chosen { };
-        memory { device_type = "memory"; reg = <0 0>; };
+       chosen { };
+       memory { device_type = "memory"; reg = <0 0>; };
 
        spi {
                #address-cells = <1>;
index e391dfc9e1bd1ee6fe215d2738e3546aec0bad41..048aa6c2e914aa806d52d03e7c8b53d0922ab54b 100644 (file)
@@ -16,7 +16,7 @@
  *      - run-time SDRAM controller configuration
  *      - LIBFDT support
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 9abc3568b69af1224878ae1a663d7e23089ff472..c2573f3bf667791ac410e8fd6be92e152070ccde 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Bartlomiej Sieka <tur@semihalf.com>
  * Author: Grzegorz Bernacki <gjb@semihalf.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _CM5200_H
index e963eb553f0f4b092b8c9f0c9211c29fe8ba48e9..06d50234e9ab046b544d95f03852f704480a8aba 100644 (file)
@@ -7,7 +7,7 @@
  *   - code clean-up
  *   - bugfix for overwriting bootargs by user
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index ca77f89ab05a2637d00fef494189b4160811df34..6ddf0bac35446ab73a26d3465e8fff6f176fc6b6 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Michel Marti <mma@objectxp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __FW_UPDATE_H
index 207380f09939db895d086679e00d4be060f44409..d4ae4d0a3ccfdbe023f922f9abfd426e090cd116 100644 (file)
@@ -487,7 +487,7 @@ flash_erase(flash_info_t *info, int s_first, int s_last)
 
        if (haderr > 0) {
                printf (" failed\n");
-               rcode = 1;
+               rcode = 1;
        }
        else
                printf (" done\n");
index d42152734d137c0fb8ebb771ab12fca243557096..1ea68f46688a97db91c874a313403d8321fb3938 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2013, Adeneo Embedded <www.adeneo-embedded.com>
  * Leo Sartre, <lsartre@adeneo-embedded.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 448d887b3a32a4d28f3f09ccf628e9becbd8b5b2..1944e36005dee4f8eec827a4987060620e87016c 100644 (file)
@@ -126,4 +126,3 @@ void ide_led(uchar led, uchar status)
 
        writeb(val, BCSR_BASE + 0x04);
 }
-
index fd97c36d21a09d5969543feb56cf7c951b1bc212..b99a9a089b957a49c69a12ec0975f1e2f4b41fb2 100644 (file)
@@ -5,7 +5,7 @@
  * Flash Routines for Intel devices
  *
  *--------------------------------------------------------------------
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 79ec7e8ee561f1d16ac830b1b3f4dd9f7cdf6d91..96ba7d9b330c3d3934827f332049797b4f0588cb 100644 (file)
@@ -5,7 +5,7 @@
  * Flash Routines for Intel devices
  *
  *--------------------------------------------------------------------
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 43a1aa0521188627ba052b1525e5a5d8de39c980..dc2c9503e6a5efb01865a541f10962c5917324a3 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004
  * Tolunay Orkun, Nextio Inc., torkun@nextio.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 2fd32444ea4a68d4c8ea2becf9e463604d767a59..b1de18ce51ed193dd7d51f8dce9e787d440dd4ec 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004
  * Tolunay Orkun, Nextio Inc., torkun@nextio.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index c88ae75e9b941b6fa21da58ec445be55baf8c0a0..32c77f84e74305d33634a1469c9a1b2f51d397fd 100644 (file)
@@ -12,7 +12,7 @@
  * - ethernet io initialisation
  *
  * -----------------------------------------------------------------
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 8a60b5850f202768afb0e25832ea3e251c63a5dd..cad0bfc6ca0c4402a6567b1be7d82d395633f26d 100644 (file)
@@ -5,7 +5,7 @@
  * Support for Embedded Planet EP88x boards.
  * Tested on EP88xC with MPC885 CPU, 64MB SDRAM and 16MB flash.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 96e4b9972d50861abae1bdbf27aa9191c08acb73..5b14bf926014bff8458e13644a3aba5a4b3790d1 100644 (file)
@@ -9,7 +9,7 @@
  * Neutralize little endians.
  */
 #define SWAP_LONG(data) ((unsigned long)                                  \
-                        (((unsigned long)(data) >> 24)                 | \
+                        (((unsigned long)(data) >> 24)                 | \
                          ((unsigned long)(data)  << 24)                | \
                          (((unsigned long)(data) >> 8) & 0x0000ff00 )  | \
                           (((unsigned long)(data) << 8) & 0x00ff0000 )))
index aade55ac67c53fe7f3d07331ce7cfc78bbe7fee2..336c55126324e303445b19c3527f875df17472a2 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Matthias Fuchs, esd gmbh germany, matthias.fuchs@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 4983112a8797edfb594c517c5357a257fa7e2a4e..7dc2e58c12d897a94e7f3b6e42573b22e35d3b2f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2002
  * Brad Kemp, Seranoa Networks, Brad.Kemp@seranoa.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 5f306855acbb1e4e7fbd2f340b3748a9b7dd48e5..f555c08427a66eac0ce27f55014056445e3b2100 100644 (file)
@@ -43,7 +43,7 @@ int ide_preinit (void)
        if (devbusfn != -1) {
                cpci_hd_type = 1;
        } else {
-               devbusfn = pci_find_device (0x1095, 0x3114, 0);
+               devbusfn = pci_find_device (0x1095, 0x3114, 0);
                if (devbusfn != -1) {
                        cpci_hd_type = 2;
                }
index b93cb278258d7945971e487ead0fceac09200675..c04fb58afd8e39dbeaa519891dd1c9af5bc4d918 100644 (file)
@@ -5,7 +5,7 @@
  * based on - Driver for MV64360X ethernet ports
  * Copyright (C) 2002 rabeeh@galileo.co.il
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 45274f08d9ee8bae5f328779dcf1f0938f3f82df..9a54a976d9323998320e63f919c3384306b0ecb2 100644 (file)
@@ -5,7 +5,7 @@
  * based on - Driver for MV64360X ethernet ports
  * Copyright (C) 2002 rabeeh@galileo.co.il
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /********************************************************************************
index c9b3ac2a4f36ea03061891e051b09364fbe0da94..59f170a0df7108e79945bec78db2cf0072c5a8d7 100644 (file)
@@ -746,7 +746,7 @@ static int gt_read_config_dword (struct pci_controller *hose,
        int bus = PCI_BUS (dev);
 
        if ((bus == local_buses[0]) || (bus == local_buses[1])) {
-               *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr,
+               *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr,
                                           offset | (PCI_FUNC(dev) << 8),
                                           PCI_DEV (dev));
        } else {
index f3d76b853864d428aeae1fd82cd8f015f68dcfb6..ab4b6ceda7f975f71112b131aca57cd07162e289 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Matthias Fuchs, esd gmbh, matthias.fuchs@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 9d22aa2bd7f05496b94bdcfebe473d6af5df12ca..26579588dd951bc4fec46e39f7f3d1c8a569a910 100644 (file)
@@ -323,7 +323,7 @@ int flash_erase (flash_info_t *flash, int s_first, int s_last)
 
        if (prot)
                printf ("- Warning: %d protected sectors will not be erased!\n",
-                                                               prot);
+                                                               prot);
        else
                printf ("\n");
 
@@ -365,7 +365,7 @@ static const struct jedec_flash_info jedec_table[] = {
                DevSize: SIZE_1MiB,
                NumEraseRegions: 4,
                regions: {ERASEINFO(0x10000,15),
-                         ERASEINFO(0x08000,1),
+                         ERASEINFO(0x08000,1),
                          ERASEINFO(0x02000,2),
                          ERASEINFO(0x04000,1)
                }
@@ -376,7 +376,7 @@ static const struct jedec_flash_info jedec_table[] = {
                DevSize: SIZE_2MiB,
                NumEraseRegions: 4,
                regions: {ERASEINFO(0x10000,31),
-                         ERASEINFO(0x08000,1),
+                         ERASEINFO(0x08000,1),
                          ERASEINFO(0x02000,2),
                          ERASEINFO(0x04000,1)
                }
@@ -387,7 +387,7 @@ static const struct jedec_flash_info jedec_table[] = {
                DevSize: SIZE_2MiB,
                NumEraseRegions: 4,
                regions: {ERASEINFO(0x04000,1),
-                         ERASEINFO(0x02000,2),
+                         ERASEINFO(0x02000,2),
                          ERASEINFO(0x08000,1),
                          ERASEINFO(0x10000,31)
                }
@@ -398,7 +398,7 @@ static const struct jedec_flash_info jedec_table[] = {
                DevSize: SIZE_4MiB,
                NumEraseRegions: 2,
                regions: {ERASEINFO(0x10000,63),
-                         ERASEINFO(0x02000,8)
+                         ERASEINFO(0x02000,8)
                }
 
        }, {
@@ -408,7 +408,7 @@ static const struct jedec_flash_info jedec_table[] = {
                DevSize: SIZE_4MiB,
                NumEraseRegions: 2,
                regions: {ERASEINFO(0x02000,8),
-                         ERASEINFO(0x10000,63)
+                         ERASEINFO(0x10000,63)
                }
        }
 };
index 88c43ff688cfb84c207995dfa1ebc3dafb1fb23a..f3b0074c5df0a948f0603d1b3b701f5a6dd81668 100644 (file)
@@ -60,7 +60,7 @@ flash_init (void)
 #define CONFIG_SYS_BOOT_FLASH_WIDTH    1
 #endif
        size_b0 = flash_get_size(CONFIG_SYS_BOOT_FLASH_WIDTH, (vu_long *)base,
-                                &flash_info[0]);
+                                &flash_info[0]);
 
 #ifndef CONFIG_P3G4
        printf("[");
@@ -97,17 +97,17 @@ flash_init (void)
 #if CONFIG_SYS_MONITOR_BASE >= CONFIG_SYS_FLASH_BASE
        /* monitor protection ON by default */
        flash_protect(FLAG_PROTECT_SET,
-                     CONFIG_SYS_MONITOR_BASE,
-                     CONFIG_SYS_MONITOR_BASE + monitor_flash_len - 1,
-                     flash_get_info(CONFIG_SYS_MONITOR_BASE));
+                     CONFIG_SYS_MONITOR_BASE,
+                     CONFIG_SYS_MONITOR_BASE + monitor_flash_len - 1,
+                     flash_get_info(CONFIG_SYS_MONITOR_BASE));
 #endif
 
 #ifdef  CONFIG_ENV_IS_IN_FLASH
        /* ENV protection ON by default */
        flash_protect(FLAG_PROTECT_SET,
-                     CONFIG_ENV_ADDR,
-                     CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1,
-                     flash_get_info(CONFIG_ENV_ADDR));
+                     CONFIG_ENV_ADDR,
+                     CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1,
+                     flash_get_info(CONFIG_ENV_ADDR));
 #endif
 
        flash_size = size_b0 + size_b1;
index 1a2ad20598dd8a23b5afad3a8e1de33a4a4d248a..c9da57c20d017bd50f1e362fc84064edae372f12 100644 (file)
@@ -785,7 +785,7 @@ galmpsc_shutdown(int mpsc)
 
        GT_REG_WRITE(GALSDMA_0_COM_REG + CHANNEL * GALSDMA_REG_DIFF, 0);
        GT_REG_WRITE(GALSDMA_0_COM_REG + CHANNEL * GALSDMA_REG_DIFF,
-                    SDMA_TX_ABORT | SDMA_RX_ABORT);
+                    SDMA_TX_ABORT | SDMA_RX_ABORT);
 
        /* shut down the MPSC */
        GT_REG_WRITE(GALMPSC_MCONF_LOW, 0);
@@ -797,7 +797,7 @@ galmpsc_shutdown(int mpsc)
        /* shut down the sdma engines. */
        /* reset config to default */
        GT_REG_WRITE(GALSDMA_0_CONF_REG + CHANNEL * GALSDMA_REG_DIFF,
-                    0x000000fc);
+                    0x000000fc);
 
        udelay(100);
 
index 704dc630d3ac1f962fde32edd95efc63fd01d9d1..499880f1a020bed9ea6b25bd5451b997a5c0392e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2010 eXMeritus, A Boeing Company
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm/mpc85xx_gpio.h>
index 9611f6d64e06ea0f855511b9d8717a38f0cdf815..7c11e38d1c184ae62085c990a0541027b7843647 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2009-2011 eXMeritus, A Boeing Company
  * Copyright 2007-2009 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 3fe318f765fea10f17db8aa20ae453d91634d58d..89dd9efe7849c9f52d9e2d22f02d7954a73764b5 100644 (file)
@@ -434,7 +434,7 @@ static int _initsdram(uint base, uint noMbytes)
        */
 
        memctl->memc_mcr = 0x80808111;   /* run umpb cs4 1 count 1, addr 0x11 ??? (50MHz) */
-                                        /* run umpb cs4 1 count 1, addr 0x11 precharge+MRS (100MHz) */
+                                        /* run umpb cs4 1 count 1, addr 0x11 precharge+MRS (100MHz) */
        udelay(200);
 
        /* Run 8 refresh cycles */
@@ -567,7 +567,7 @@ static int initsdram(uint base, uint *noMbytes)
 
        if(!_initsdram(base, m))
        {
-               *noMbytes += m;
+               *noMbytes += m;
                return 0;
        }
        else
index f71aca4092000d2d6dc2463f6ab5961bfef9e7fe..00798a1c190da6ac3350b436e44df26f1468f3fb 100644 (file)
@@ -68,7 +68,7 @@ struct fsl_e_tlb_entry tlb_table[] = {
                      0, 3, BOOKE_PAGESZ_256M, 1),
 
        SET_TLB_ENTRY(1, CONFIG_SYS_PCIE1_MEM_VIRT + 0x10000000,
-                      CONFIG_SYS_PCIE1_MEM_PHYS + 0x10000000,
+                     CONFIG_SYS_PCIE1_MEM_PHYS + 0x10000000,
                      MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
                      0, 4, BOOKE_PAGESZ_256M, 1),
 
index 4a3dbfe5d4e15300824fa479cfc5184b4f9e5e61..f8377c9aa41edf7be1fdfdbf905dd8ada24d2c28 100644 (file)
@@ -23,14 +23,14 @@ Overview
       ECC), up to 1333 MHz data rate
     - Dedicated security engine featuring trusted boot
     - Two DMA controllers
-         - OCNDMA with four bidirectional channels
-         - SysDMA with sixteen bidirectional channels
+        - OCNDMA with four bidirectional channels
+        - SysDMA with sixteen bidirectional channels
     - Interfaces
-        - Four-lane SerDes PHY
+       - Four-lane SerDes PHY
            - PCI Express controller complies with the PEX Specification-Rev 2.0
-        - Two Common Public Radio Interface (CPRI) controller lanes
+       - Two Common Public Radio Interface (CPRI) controller lanes
            - High-speed USB 2.0 host and device controller with ULPI interface
-        - Enhanced secure digital (SD/MMC) host controller (eSDHC)
+       - Enhanced secure digital (SD/MMC) host controller (eSDHC)
            - Antenna interface controller (AIC), supporting four industry
                standard JESD207/four custom ADI RF interfaces
        - ADI lanes support both full duplex FDD support & half duplex TDD
index 7772f9f99cbcd42f101bb0e68143dd3a2c506b6b..dad684773bb18ecdd604038bb99ff1c95b363186 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2004, 2011 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 959ea21714cdc8e953ee118dba5d870ffbdf099b..78671928256ed4a7127c97f9b7ed761eac0173b4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2004 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CADMUS_H_
index 4cd804577b9ed22722f39d0a48f5aaa879bb9fa7..2e5dcdf0e285a00f771e1e8fdec6146a18540915 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2004 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 76631fa452fb6090dcf942b939bcf7ddbce749d3..028b093ec4ee63e05458d3c7b197152e362cc2b7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2006 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 222405bb3bba7512cd948f446a45bca9684ca2b1..efdba4e5030c0f2825961dd05ab6ed0d55d5f7b8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2004 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __EEPROM_H_
index 591a4c61d06902ef28285d03b7f5a5636934b812..69e98a50074b581761893eae0c1a0ffcb5de77ba 100644 (file)
@@ -129,12 +129,12 @@ void board_init_f(ulong bootflag)
 {
        board_early_init_f();
        NS16550_init((NS16550_t)(CONFIG_SYS_IMMR + 0x4500),
-                    CONFIG_SYS_NS16550_CLK / 16 / CONFIG_BAUDRATE);
+                    CONFIG_SYS_NS16550_CLK / 16 / CONFIG_BAUDRATE);
        puts("NAND boot... ");
        init_timebase();
        initdram(0);
        relocate_code(CONFIG_SYS_NAND_U_BOOT_RELOC_SP, (gd_t *)gd,
-                     CONFIG_SYS_NAND_U_BOOT_RELOC);
+                     CONFIG_SYS_NAND_U_BOOT_RELOC);
 }
 
 void board_init_r(gd_t *gd, ulong dest_addr)
index 39a86dffe1cde09c2d76906eecffc230d4ee8ce7..ac96163aa47e2577be512f4a18361044684bcd4f 100644 (file)
@@ -427,7 +427,7 @@ void ft_board_setup(void *blob, bd_t *bd)
                        if (prop) {
                                path = fdt_path_offset(blob, prop);
                                prop = fdt_getprop(blob, path,
-                                                  "phy-connection-type", 0);
+                                                  "phy-connection-type", 0);
                                if (prop && (strcmp(prop, "rgmii-id") == 0))
                                        fdt_fixup_phy_connection(blob, path,
                                                PHY_INTERFACE_MODE_RGMII_RXID);
@@ -439,7 +439,7 @@ void ft_board_setup(void *blob, bd_t *bd)
                        if (prop) {
                                path = fdt_path_offset(blob, prop);
                                prop = fdt_getprop(blob, path,
-                                                  "phy-connection-type", 0);
+                                                  "phy-connection-type", 0);
                                if (prop && (strcmp(prop, "rgmii-id") == 0))
                                        fdt_fixup_phy_connection(blob, path,
                                                PHY_INTERFACE_MODE_RGMII_RXID);
index a8bb2b29ace31dd68052e8d6df63fc9c65d0484f..5daab692c6c4251d9eb14607ca4e7f4d9f107dd3 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2008-2012 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 2fb40374283cdb07bc132cadc78a45bd49e865bb..175eefcc6b1cac3d44db68b5c2291d19ce61e132 100644 (file)
@@ -5,7 +5,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 1e21a664c1f424af2e15a7c788a3063271ed53f8..8115e5c69b5e4ff0c27700e9b1a6f2057d6d7170 100644 (file)
@@ -3,7 +3,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 2f0b71bea15dcde955f50d2b95361d4708205281..51e4bb5dcb4dd072bf6a89451c88b0d2e1844ec6 100644 (file)
@@ -3,7 +3,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index ee9269504cb3c558a63479e0b671138865e61385..e2093d1bbc526af5a776af25966bb9eb5b87f314 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2004, 2011 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 162636ef8c0bbdeb98b6183c6b62e6f9cd00727b..90a2522cb91c3731aba376f6895b61ed864c5e7d 100644 (file)
@@ -5,7 +5,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 509bfc6894be726ad7f07fbb4b79d268f46fa8e4..4a6105cb1f1a7a6962c500412550b32dc2e3514a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2007 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 3bfca479cb204ed4cc9f360677d087ad238c8d2d..215534e6c945171e6d7ddeb09da1ac26d0e9158e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2007 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __BCSR_H_
index 2f9417fc77a1cae2869a6cf7026bb2a03c56d365..ae80697b3851bbdaf5e4c428a1c874d5eb5342ec 100644 (file)
@@ -3,7 +3,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index b9c32eca9450c682a314c99d1bf17ccfb20508e9..178d9f873d6ba0de2d54d36e34f0bc3cf6d7bda4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2009 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index a32bc3bea7c6fad9bcfcea26819d3cd2b2cfdf3f..6f4d13961ba8b7eeb7d44236df9bec2838dbd14f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2009 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __BCSR_H_
index 99b89d3a1f7787373a5367ba334d045fc7dd80eb..c928a964f9fd754c27924dcb9d422d1b6ed7197a 100644 (file)
@@ -3,7 +3,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 1201d6bc3d5e3bf9ba82dc302f3e5f73151d0352..657df6a71819d19a73b7040ead079f1c137d44d8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2007-2011 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 1f09429a04340936e3559f092f680dd2bef55ad8..ffdcf2444cb0c092e57cb04fbf5cae34ec138684 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2007,2009-2011 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index a6ef66eeabf6687b2ad3e3e9f49c1b84683007e0..3acc4ca548321ed85f8b24c53130238f9edb5c6c 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2002
  * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
index ce406b2b82147bf92f5a0fdbb03bafb09e4255cc..f027885100f8cc022cfd0156b814de354f4ed6a7 100644 (file)
@@ -86,4 +86,3 @@ void fsl_ddr_board_options(memctl_options_t *popts,
                popts->cs_local_opts[i].odt_wr_cfg = FSL_DDR_ODT_CS;
        }
 }
-
index 76ef28b8c81a6483a2ca49284461a7544dd11641..745ebb15e0336f284d986ab22cc1343f49f92d2a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2009-2010 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 1334f250eb0b5b157b1a08134390a90ff14111de..58a42231a9387548595a05921d713bc8fa3464ef 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2007-2012 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index d33563b8d849fcdfd835155bfd388224b42b7850..c2aad6eb05f6860d81887cc9e559ee380cd77932 100644 (file)
@@ -270,9 +270,9 @@ int misc_init_r (void)
        for (i = 0; i < 64; i++) {
                c = *dummy;
                printf( "UPMA[%02d]: 0x%08lx,0x%08lx: 0x%08lx\n",i,
-                       memctl->memc_mamr,
-                       memctl->memc_mar,
-                       memctl->memc_mdr );
+                       memctl->memc_mamr,
+                       memctl->memc_mar,
+                       memctl->memc_mdr );
        }
        memctl->memc_mamr = 0x00044440;
 #endif
index 93e2432ebf6c6f62679e47c80ac12a1078b46a41..1d29eb432509f8970fc50a6389ee2bdb3f35cb50 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2002
  * Brad Kemp, Seranoa Networks, Brad.Kemp@seranoa.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 6ee7764448031e5349c599e54e3245285913331d..04191dff1e6f9fb0e0f780c42da98c8ddb458778 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2006-2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 596318094117de4a435697906045f684fe013241..1fc2a2f3e871fe4478b82e5228f218aa9210893c 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2008
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 8433d5d2cfbd0c7608aaabb303f640c370605eed..ca1ed3d62da08753be2d984c929833572aa1ce70 100644 (file)
@@ -182,7 +182,7 @@ flash_get_offsets (ulong base, flash_info_t *info)
 
                default:
                        printf ("Don't know sector offsets for FLASH"
-                               " type 0x%lx\n", info->flash_id);
+                               " type 0x%lx\n", info->flash_id);
            return;
        }
 }
index f0ed16cd93ff6f43a413158e9c4c737494605fd9..bbae0a89223e9b1835f574443cf520d8833d80d6 100644 (file)
@@ -11,7 +11,7 @@
  * Advent Networks, Inc. <http://www.adventnetworks.com>
  * Oliver Brown <oliverb@alumni.utexas.net>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*********************************************************************/
index de6b8fbd9b9a0215e108596e8ba09b4bbed6b7df..1b2d0e09a9511820afcfab82fb58fd0ca2d4aa79 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Heiko Schocher, DENX Software Engineering, <hs@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 911fb63fcd995be6884fb7f5e45a3ab4aa33998f..217b8afa34734de04481702c1d102ed0be01187a 100644 (file)
@@ -58,9 +58,9 @@ phys_size_t initdram(int board_type)
                for (rows = 0xB; rows <= 0xD; rows++)
                {
                        *INCA_IP_SDRAM_MC_CFGPB0 = (0x14 << 8) |
-                                                  (rows << 4) | cols;
+                                                  (rows << 4) | cols;
                        size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE,
-                                                            max_sdram_size());
+                                                            max_sdram_size());
 
                        if (size > max_size)
                        {
index 702f9e0aa0b7c3fa2ab5c9131a981f999978cadd..b6cf6a996006c5b9cd5eb26704e885d0a208bb88 100644 (file)
@@ -3,7 +3,7 @@
  *
  *  Copyright (c) 2003 Wolfgang Denk <wd@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index fc3333efe41074575727460f3281042e903bead4..0a32f0e1b9e5a1065a4a8f983f04d54468bd6ece 100644 (file)
@@ -14,7 +14,7 @@
  * (C) Copyright 2003-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm/io.h>
index 45ff2940efddf2c149f27f92cc11d739ba80392b..c3443bdc88334f027907010ee63b59da2c97ab48 100644 (file)
@@ -36,7 +36,7 @@ int board_early_init_f(void)
                MPP5_NF_IO7,
                MPP6_SYSRST_OUTn,       /* Reset signal */
                MPP7_GPO,
-               MPP8_TW_SDA,            /* I2C */       
+               MPP8_TW_SDA,            /* I2C */
                MPP9_TW_SCK,            /* I2C */
                MPP10_UART0_TXD,
                MPP11_UART0_RXD,
index d3122edf21c828463b92350977ca55ed88bff4f1..3c2dad67b50461804e36f0cb8250bc0f0dad8713 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Adapted for Interphase 4539 by Wolfgang Grandegger <wg@denx.de>.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index 347c128cb9295f2634814d98f690832ee7025059..0b8356dc47b1cbe0b2e07aa2e37e77c951a34986 100644 (file)
@@ -168,4 +168,3 @@ int board_eth_init(bd_t *bis)
        return ret;
 }
 #endif
-
index 16f4addf3ddcf10bf834ad09db077c60aaa0c569..e86277663d43fd1c4009d6e4905ce1be4021bec2 100644 (file)
@@ -86,4 +86,3 @@ void enable_board_pin_mux(void)
        /* Ethernet pinmux. */
        configure_module_pin_mux(rmii1_pin_mux);
 }
-
index 1fafa2ab283fe6404d9edc6cfb390bad43c4b769..da9f00646dab5316f8e40ba4b6ca5660ca8a0a4d 100644 (file)
@@ -5,7 +5,7 @@
  *                    Jan-Derk Bakker (J.D.Bakker@its.tudelft.nl)
  * 2004 (c) MontaVista Software, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 481876b2ed8fb92d05ecd18c19c2c289a93a04f4..5620737bf06f52cbccf8ead975529b77706f2202 100644 (file)
@@ -343,7 +343,7 @@ void reset_phy(void)
 #if defined(CONFIG_KM_NUSA)
 struct mv88e_sw_reg extsw_conf[] = {
        /*
-        * port 0, PIGGY4, autoneg 
+        * port 0, PIGGY4, autoneg
         * first the fix for the 1000Mbits Autoneg, this is from
         * a Marvell errata, the regs are undocumented
         */
index 23557fe34daeeeeea14fbb82e5d859e58456fd48..20c5bddf6be2738f9e8bec272df4bd9ceb675898 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 1cabc80b8af8667c51d8ac52bcd3aba72a9201c5..b6c68da7a89e5d31b012a6cfc12e408ee677f978 100644 (file)
@@ -143,4 +143,3 @@ int board_eth_init(bd_t *bis)
        return n;
 }
 #endif
-
index 94274a7248b3c84afc01f79fcddf9710ec642e8b..e5207c2b40b5f1a0f26772b49dc0a76c420d39e0 100644 (file)
@@ -4,7 +4,7 @@
  *
  *  Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 781f10b861f72876c0ca64ed04b1887e5a83bfb8..64bdd8f58fec566605b1de35bf2cbd93dcd0c2ce 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2004
  * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 63dc2ad5fa9e133cd353d86b0c3703d675257a35..c3ce66d8d0649c66df79d64a085089a1cb7c4bd1 100644 (file)
@@ -11,7 +11,7 @@
  * (C) Copyright 2008
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 6e1246ecacf7a282c892a3322aa64a1604883631..5c5afa21ef57ea14bfd476bbcce246d3a5670ceb 100644 (file)
@@ -11,7 +11,7 @@
  * (C) Copyright 2004
  * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 84add28d40f3f1f02a5ff1cf669688446c204949..61474aaf8b5afcbff36e890e0b1d16607814f2a7 100644 (file)
@@ -19,7 +19,7 @@ OBJS    := $(addprefix $(obj),$(COBJS))
 SOBJS   := $(addprefix $(obj),$(SOBJS))
 
 $(LIB): $(obj).depend $(OBJS)
-               $(call cmd_link_o_target, $(OBJS))
+               $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################
 
index 0e53e8df210311d33d08af623d797f70d71140e8..ef768feb72ae262258b20231cb32fd3d905d2e2b 100644 (file)
@@ -19,7 +19,7 @@ OBJS    := $(addprefix $(obj),$(COBJS))
 SOBJS   := $(addprefix $(obj),$(SOBJS))
 
 $(LIB): $(obj).depend $(OBJS)
-               $(call cmd_link_o_target, $(OBJS))
+               $(call cmd_link_o_target, $(OBJS))
        @mkimage -T script -C none -n mvSMR_Script -d bootscript $(obj)bootscript.img
 
 #########################################################################
index 75b0bb8fe6f758411e66a6af89926c0a206c1090..98c723f0475ab3b51daca244e40ed59c30c2b0e4 100644 (file)
@@ -12,7 +12,7 @@
  * - ethernet io initialisation
  *
  * -----------------------------------------------------------------
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index ad12d7c9d3e159ee69da355067f196e5597592a2..c28a3a38a11c2dac446d22ffd9523a367a0b5bb0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009-2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <ppc_asm.tmpl>
index 7802ab9d7c0fbf6c5f8c2cb5ee144ed6490e6737..ce8a0541756daac2e72229638b20309a21bbacc6 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2001
  * James Dougherty (jfd@cs.stanford.edu)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __MOUSSE_H
index 053bdf1416a84f6a0e79e368b03c0ff92c7cf5eb..8ff4489ade0df026c9172d6c78712bfbceb75b0b 100644 (file)
@@ -3,7 +3,7 @@
  * Pantelis Antoniou, Intracom S.A., panto@intracom.gr
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 2c25ffe8d1b11e3078a2b9b5a0fbeb7961247af4..d195a398eb7da5e9873cd258a1362de527407043 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004 Intracom S.A.
  * Pantelis Antoniou <panto@intracom.gr>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index bfd51e7c3b211cb8b0e94fed6882176002f6ec65..2c9c6bf6bcb77b25e10a72817632626c84a804f5 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 362a3c782ceb17eafed57bd545954d165ec58921..008ae67aecb4aab9489c0bfb7cfe634f9050d8b3 100644 (file)
@@ -3,7 +3,7 @@
  * Pantelis Antoniou, Intracom S.A., panto@intracom.gr
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 2857a4f4c458f7c432470ca14b7d045c32589d6d..b3bbf47e01e6abd97473e87482ee8632514f649c 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 9926093a407b34d4255faa1f77600b2c250915b7..2bd86429326718b56218c3f549c7c00a726c7aae 100644 (file)
@@ -20,8 +20,8 @@ the simulator.
    not found too, it reverts to the built-in default configuration.
 
    NOTE: Users should not rely on the built-in configuration, since the
-         default configuration may differ between version.
-         Rather create a configuration file that sets all critical values.
+        default configuration may differ between version.
+        Rather create a configuration file that sets all critical values.
 
    This file may contain (standard C) comments only - no // support.
 
@@ -306,7 +306,7 @@ end
   debug = 0-9
       0  : no debug messages
       1-9: debug message level.
-           higher numbers produce more messages
+          higher numbers produce more messages
 
   profile = 0/1
       '0': don't generate profiling file 'sim.profile'
@@ -375,11 +375,11 @@ end
     Core Verification.
 
     enabled = 0/1
-        '0': disbable VAPI server
-        '1': enable/start VAPI server
+       '0': disbable VAPI server
+       '1': enable/start VAPI server
 
     server_port = <value>
-        TCP/IP port to start VAPI server on
+       TCP/IP port to start VAPI server on
 
     log_enabled = 0/1
        '0': disable VAPI requests logging
@@ -565,56 +565,56 @@ end
    This section configures the UARTs
 
      enabled = <0|1>
-        Enable/disable the peripheral.  By default if it is enabled.
+       Enable/disable the peripheral.  By default if it is enabled.
 
      baseaddr = <hex_value>
-        address of first UART register for this device
+       address of first UART register for this device
 
 
      channel = <channeltype>:<args>
 
-        The channel parameter indicates the source of received UART characters
-        and the sink for transmitted UART characters.
+       The channel parameter indicates the source of received UART characters
+       and the sink for transmitted UART characters.
 
-        The <channeltype> can be either "file", "xterm", "tcp", "fd", or "tty"
-        (without quotes).
+       The <channeltype> can be either "file", "xterm", "tcp", "fd", or "tty"
+       (without quotes).
 
-          A) To send/receive characters from a pair of files, use a file
-             channel:
+         A) To send/receive characters from a pair of files, use a file
+            channel:
 
-               channel=file:<rxfile>,<txfile>
+              channel=file:<rxfile>,<txfile>
 
          B) To create an interactive terminal window, use an xterm channel:
 
-               channel=xterm:[<xterm_arg>]*
+              channel=xterm:[<xterm_arg>]*
 
          C) To create a bidirectional tcp socket which one could, for example,
-             access via telnet, use a tcp channel:
+            access via telnet, use a tcp channel:
 
-               channel=tcp:<port number>
+              channel=tcp:<port number>
 
          D) To cause the UART to read/write from existing numeric file
-             descriptors, use an fd channel:
+            descriptors, use an fd channel:
 
-               channel=fd:<rx file descriptor num>,<tx file descriptor num>
+              channel=fd:<rx file descriptor num>,<tx file descriptor num>
 
-          E) To connect the UART to a physical serial port, create a tty
-             channel:
+         E) To connect the UART to a physical serial port, create a tty
+            channel:
 
               channel=tty:device=/dev/ttyS0,baud=9600
 
      irq = <value>
-        irq number for this device
+       irq number for this device
 
      16550 = 0/1
-        '0': this device is a UART16450
-        '1': this device is a UART16550
+       '0': this device is a UART16450
+       '1': this device is a UART16550
 
      jitter = <value>
-        in msecs... time to block, -1 to disable it
+       in msecs... time to block, -1 to disable it
 
      vapi_id = <hex_value>
-        VAPI id of this instance
+       VAPI id of this instance
 */
 
 section uart
@@ -634,16 +634,16 @@ end
    This section configures the DMAs
 
      enabled = <0|1>
-        Enable/disable the peripheral.  By default if it is enabled.
+       Enable/disable the peripheral.  By default if it is enabled.
 
      baseaddr = <hex_value>
-        address of first DMA register for this device
+       address of first DMA register for this device
 
      irq = <value>
-        irq number for this device
+       irq number for this device
 
      vapi_id = <hex_value>
-        VAPI id of this instance
+       VAPI id of this instance
 */
 
 section dma
@@ -658,37 +658,37 @@ end
    This section configures the ETHERNETs
 
      enabled = <0|1>
-        Enable/disable the peripheral.  By default if it is enabled.
+       Enable/disable the peripheral.  By default if it is enabled.
 
      baseaddr = <hex_value>
-        address of first ethernet register for this device
+       address of first ethernet register for this device
 
      dma = <value>
-        which controller is this ethernet "connected" to
+       which controller is this ethernet "connected" to
 
      irq = <value>
-        ethernet mac IRQ level
+       ethernet mac IRQ level
 
      rtx_type = <value>
-        use 0 - file interface, 1 - socket interface
+       use 0 - file interface, 1 - socket interface
 
      rx_channel = <value>
-        DMA channel used for RX
+       DMA channel used for RX
 
      tx_channel = <value>
-        DMA channel used for TX
+       DMA channel used for TX
 
      rxfile = "<filename>"
-        filename, where to read data from
+       filename, where to read data from
 
      txfile = "<filename>"
-        filename, where to write data to
+       filename, where to write data to
 
      sockif = "<ifacename>"
-        interface name of ethernet socket
+       interface name of ethernet socket
 
      vapi_id = <hex_value>
-        VAPI id of this instance
+       VAPI id of this instance
 */
 
 section ethernet
@@ -711,16 +711,16 @@ end
    This section configures the GPIOs
 
      enabled = <0|1>
-        Enable/disable the peripheral.  By default if it is enabled.
+       Enable/disable the peripheral.  By default if it is enabled.
 
      baseaddr = <hex_value>
-        address of first GPIO register for this device
+       address of first GPIO register for this device
 
      irq = <value>
-        irq number for this device
+       irq number for this device
 
      base_vapi_id = <hex_value>
-        first VAPI id of this instance
+       first VAPI id of this instance
        GPIO uses 8 consecutive VAPI IDs
 */
 
@@ -736,19 +736,19 @@ end
     This section configures the VGA/LCD controller
 
       enabled = <0|1>
-        Enable/disable the peripheral.  By default if it is enabled.
+       Enable/disable the peripheral.  By default if it is enabled.
 
       baseaddr = <hex_value>
-        address of first VGA register
+       address of first VGA register
 
       irq = <value>
-        irq number for this device
+       irq number for this device
 
       refresh_rate = <value>
-        number of cycles between screen dumps
+       number of cycles between screen dumps
 
       filename = "<filename>"
-        template name for generated names (e.g. "primary" produces "primary0023.bmp")
+       template name for generated names (e.g. "primary" produces "primary0023.bmp")
 */
 
 section vga
@@ -825,39 +825,39 @@ end
     This section configures the ATA/ATAPI host controller
 
       baseaddr = <hex_value>
-        address of first ATA register
+       address of first ATA register
 
       enabled = <0|1>
-        Enable/disable the peripheral.  By default if it is enabled.
+       Enable/disable the peripheral.  By default if it is enabled.
 
       irq = <value>
-        irq number for this device
+       irq number for this device
 
       debug = <value>
-        debug level for ata models.
+       debug level for ata models.
        0: no debug messages
        1: verbose messages
        3: normal messages (more messages than verbose)
-        5: debug messages (normal debug messages)
+       5: debug messages (normal debug messages)
        7: flow control messages (debug statemachine flows)
        9: low priority message (display everything the code does)
 
       dev_type0/1 = <value>
-        ata device 0 type
-        0: NO_CONNeCT: none (not connected)
+       ata device 0 type
+       0: NO_CONNeCT: none (not connected)
        1: FILE      : simulated harddisk
        2: LOCAL     : local system harddisk
 
       dev_file0/1 = "<filename>"
-        filename for simulated ATA device
+       filename for simulated ATA device
        valid only if dev_type0 == 1
 
       dev_size0/1 = <value>
-        size of simulated hard-disk (in MBytes)
+       size of simulated hard-disk (in MBytes)
        valid only if dev_type0 == 1
 
       dev_packet0/1 = <value>
-        0: simulated ATA device does NOT implement PACKET command feature set
+       0: simulated ATA device does NOT implement PACKET command feature set
        1: simulated ATA device does implement PACKET command feature set
 
    FIXME: irq number
index 159f1f69dc0df47e51b5ab64ec4c46a70afa74f7..c8799c6ab1a25689a921d2b6e57aa05e05295df9 100644 (file)
@@ -30,7 +30,6 @@ go wrong, but please tell me what happened exactly.  For that matter, I'd love
 to hear from you if you succeed.
 
 
-
 Details on the SPL
 ==================
 
@@ -51,7 +50,6 @@ IPL has already loaded to its correct SDRAM address, and then loads the
 remainder of u-boot and jumps to it.
 
 
-
 The docg4's "reliable mode"
 ===========================
 
@@ -79,7 +77,6 @@ module parameter), but not reading.  However, the u-boot docg4_spl driver does
 read in reliable mode, in the same fashion as the IPL.
 
 
-
 Details on the IPL and its data format
 ======================================
 
@@ -105,7 +102,6 @@ For the sake of simplicity and uniformity, the u-boot SPL mimics the operation
 of the IPL, and expects the image to be stored in the same format.
 
 
-
 Instructions on Programming u-boot to flash
 ===========================================
 
@@ -117,7 +113,6 @@ remainder of this document describes in detail how to program u-boot to the
 flash using Linux running on the Treo.
 
 
-
 Hardware Prerequisites
 ======================
 
@@ -136,7 +131,6 @@ A Linux desktop PC.
   to flash, you'll really want to use a Linux PC.
 
 
-
 Treo-side Software Prerequisites
 ================================
 
@@ -152,7 +146,6 @@ Linux bootloader for PalmOS:
   parameters passed to the kernel.
 
 
-
 Linux kernel:
 
   The kernel on the Treo 680 is still a little rough around the edges, and the
@@ -200,7 +193,6 @@ Linux kernel:
   and /dev/mtd2 for these partitions, respectively.  Ensure that your root file
   system at least has /dev/mtd1 if you are not running udev or mdev.
 
-
 Userspace Utilities:
 
   In addition to everything necessary to provide a useful userspace environment
@@ -221,19 +213,16 @@ Userspace Utilities:
   from the mtd-utils package.
 
 
-
 Desktop PC-side Software Prerequisites
 ======================================
 
 Terminal emulator application:
   minicom, kermit, etc.
 
-
 Linux kernel:
   Compiled with CONFIG_USB_SERIAL enabled.  Build this as a module.
 
 
-
 Recommended (Not directly related to u-boot)
 ============================================
 
@@ -275,7 +264,6 @@ configure the usb0 interface on the desktop.)  Use the nfs 'nolock' option when
 mounting to avoid the need to run a portmapper like rpcbind.
 
 
-
 Preliminaries
 =============
 
@@ -397,7 +385,6 @@ forget to copy the file to permanent storage, such as an mmc card.
 If all of the above went well, you can now program u-boot.
 
 
-
 Programming u-boot
 ==================
 
@@ -438,7 +425,6 @@ four blocks in /dev/mtd1; i.e., at offsets 0x00000, 0x40000, 0x80000, 0xc0000.
 Shutdown linux, remove and re-insert the battery, hold your breath...
 
 
-
 Enjoying u-boot
 ===============
 
@@ -478,7 +464,6 @@ support for reliable mode in u-boot's docg4 flash driver.  This should be
 corrected soon.
 
 
-
 Customizing
 ===========
 
@@ -511,7 +496,6 @@ in flash did not seem worth the cost of a 256k flash block.  But adding this
 should be straightforward.
 
 
-
 Restoring PalmOS
 ================
 
@@ -568,7 +552,6 @@ modprobe docg4 ignore_badblocks=1 || exit 1
 dd if=$1 bs=1 skip=$file_ofs count=540672 | nandwrite -o -n -s 0x80000 $2 - || exit 1
 modprobe -r docg4
 
-
 TODO
 ====
 
@@ -578,4 +561,3 @@ TODO
   - U-boot command that will write a new image to the bootloader partition in
     flash.
   - Linux FTD support.
-
index 33a0f4e15e30b0c920c122cb843145182cf2dd4d..c0e83de25795ca85eec053e08e5640d52a17ccdb 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index 0a934fb2cfb0e6d28b86bec50a84b885f52fb871..f90e809d158b4b388c54bf696af6ff8b195fbc63 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index e8d4176e37aa2f78508cae019f7fdadb4e8c97c8..786a29b49f9078f00636bb58b81eac5b966ff4ee 100644 (file)
@@ -5,7 +5,7 @@
  * Flash Routines for Intel devices
  *
  *--------------------------------------------------------------------
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 9a00a668582f404959b9ba0c4a6daa0d0144aee9..8888560b62fdfe3878af71b5ae8977cd025bde7e 100644 (file)
@@ -5,7 +5,7 @@
  * Flash Routines for Intel devices
  *
  *--------------------------------------------------------------------
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 3f4fcb93eb27f1ef76f45e70c36871f722c5c872..ea3c42eed4b6144bd2a9b1fceb9b45b0c3e43fad 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2002
  * Brad Kemp, Seranoa Networks, Brad.Kemp@seranoa.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -407,7 +407,7 @@ static int flash_full_status_check(flash_info_t * info, ulong sector, ulong tout
                        printf("Command Sequence Error.\n");
                } else if(flash_isset(info, sector, 0, FLASH_STATUS_ECLBS)){
                        printf("Block Erase Error.\n");
-                       retcode = ERR_NOT_ERASED;
+                       retcode = ERR_NOT_ERASED;
                } else if (flash_isset(info, sector, 0, FLASH_STATUS_PSLBS)) {
                        printf("Locking Error\n");
                }
index 56533dfadb66089a0e80693afee9574976485ea3..31c1ab5d0f58dd21e3afcae4978be36c6e05f162 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 0f24a19b7fdcb2b2c83f4db425ffc111de82df18..7ff7a59170e1b5828b38af57336c809ba5e3c877 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index fbda0daa1264d6bb80456c236a82f3d280646a03..7bbd7f045cfe2e75552e77e04f744d440c0b188b 100644 (file)
@@ -5,7 +5,7 @@
  * based on - Driver for MV64460X ethernet ports
  * Copyright (C) 2002 rabeeh@galileo.co.il
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index becd42116cbb70c5c0f96a543b6b5229abb34c87..279a7e9610d02b582749f0da1a1ed50ccecd0b51 100644 (file)
@@ -5,7 +5,7 @@
  * based on - Driver for MV64460X ethernet ports
  * Copyright (C) 2002 rabeeh@galileo.co.il
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /********************************************************************************
index 4a42fa35462ee622e0ae6d2f533c6d4d7d5a25f6..4220930bc54969346f96997268bbceb3ee66861a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*************************************************************************
index 8f4c1cc01e3483e153ced15343aecdd140f501cb..35b1afab85d3018245dde1ac6b98bca916cd1508 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <ppc_asm.tmpl>
index bcbc179460ba80a6d02949985dd10a2c0f1cae7e..929e8eb1a5d20b611dd9b0375d1bb38833d6deac 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 93756882869a303fe243005553985921c332854f..a164f95feba21df27c9546a09e5ae1c527a58d5f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __P3P440_H__
index 639170f7fd0c7a91622d16ab8225030ef57233ab..580d590f2a7068dbc0848772156beb92cd4ac4d4 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  * Scott McNutt <smcnutt@psyent.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index f276e5e5f550b7b7265d46e91a5ec19a3baa14fd..5881111c70e7c43bfcf6fdc0eb568757fe7b6742 100644 (file)
@@ -78,7 +78,7 @@ const uint static_table[] =
        0x0FFFFC04, 0x0FF3FC04, 0x0FF3CC04, 0x0FF3CC04,
        0x0FF3EC04, 0x0FF3CC00, 0x0FF7FC04, 0x3FFFFC04,
        0xFFFFFC04, 0xFFFFFC05, /* last */
-                               _NOT_USED_, _NOT_USED_,
+                               _NOT_USED_, _NOT_USED_,
        _NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
        _NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
        _NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
index 084858defa39e1da3cbdc853397fa77688edfae7..71c32c0b6ebcb90b2afe065362aa323b632959ca 100644 (file)
@@ -8,6 +8,14 @@
 #include <common.h>
 #include <i2c.h>
 
+#ifndef CONFIG_SOFT_I2C_I2C10_SCL
+#define CONFIG_SOFT_I2C_I2C10_SCL 0
+#endif
+
+#ifndef CONFIG_SOFT_I2C_I2C10_SDA
+#define CONFIG_SOFT_I2C_I2C10_SDA 0
+#endif
+
 /* Handle multiple I2C buses instances */
 int get_multi_scl_pin(void)
 {
@@ -18,6 +26,8 @@ int get_multi_scl_pin(void)
                return CONFIG_SOFT_I2C_I2C5_SCL;
        case I2C_1:
                return CONFIG_SOFT_I2C_I2C9_SCL;
+       case I2C_2:
+               return CONFIG_SOFT_I2C_I2C10_SCL;
        default:
                printf("I2C_%d not supported!\n", bus);
        };
@@ -34,6 +44,8 @@ int get_multi_sda_pin(void)
                return CONFIG_SOFT_I2C_I2C5_SDA;
        case I2C_1:
                return CONFIG_SOFT_I2C_I2C9_SDA;
+       case I2C_2:
+               return CONFIG_SOFT_I2C_I2C10_SDA;
        default:
                printf("I2C_%d not supported!\n", bus);
        };
index 9b7e57e43d5aa36d4a47f0ad96b74b2fde18c50c..12cd67e49cca1a60b89d1e70ad8d525b03c8656f 100644 (file)
@@ -71,9 +71,9 @@
                codec-enable-gpio = <&gpio 0xb7 0>;
        };
 
-        sound@12d60000 {
-                status = "disabled";
-        };
+       sound@12d60000 {
+               status = "disabled";
+       };
 
        i2c@12cd0000 {
                soundcodec@22 {
diff --git a/board/samsung/trats2/Makefile b/board/samsung/trats2/Makefile
new file mode 100644 (file)
index 0000000..805fb81
--- /dev/null
@@ -0,0 +1,34 @@
+#
+# Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
+# Sanghee Kim <sh0130.kim@samsung.com>
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
+include $(TOPDIR)/config.mk
+
+LIB    = $(obj)lib$(BOARD).o
+
+COBJS-y        := trats2.o
+
+SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS-y))
+
+
+$(LIB):        $(obj).depend $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
+
+clean:
+       rm -f $(OBJS)
+
+distclean:     clean
+       rm -f $(LIB) core *.bak $(obj).depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c
new file mode 100644 (file)
index 0000000..d44d825
--- /dev/null
@@ -0,0 +1,513 @@
+/*
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd. All rights reserved.
+ * Sanghee Kim <sh0130.kim@samsung.com>
+ * Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#include <common.h>
+#include <lcd.h>
+#include <asm/io.h>
+#include <asm/arch/gpio.h>
+#include <asm/arch/mmc.h>
+#include <asm/arch/power.h>
+#include <asm/arch/clk.h>
+#include <asm/arch/clock.h>
+#include <asm/arch/mipi_dsim.h>
+#include <asm/arch/pinmux.h>
+#include <asm/arch/power.h>
+#include <power/pmic.h>
+#include <power/max77686_pmic.h>
+#include <power/battery.h>
+#include <power/max77693_pmic.h>
+#include <power/max77693_muic.h>
+#include <power/max77693_fg.h>
+#include <libtizen.h>
+#include <errno.h>
+
+DECLARE_GLOBAL_DATA_PTR;
+
+static struct exynos4x12_gpio_part1 *gpio1;
+static struct exynos4x12_gpio_part2 *gpio2;
+
+static unsigned int board_rev = -1;
+
+static inline u32 get_model_rev(void);
+
+static void check_hw_revision(void)
+{
+       int modelrev = 0;
+       int i;
+
+       gpio2 = (struct exynos4x12_gpio_part2 *)EXYNOS4X12_GPIO_PART2_BASE;
+
+       /*
+        * GPM1[1:0]: MODEL_REV[1:0]
+        * Don't set as pull-none for these N/C pin.
+        * TRM say that it may cause unexcepted state and leakage current.
+        * and pull-none is only for output function.
+        */
+       for (i = 0; i < 2; i++)
+               s5p_gpio_cfg_pin(&gpio2->m1, i, GPIO_INPUT);
+
+       /* GPM1[5:2]: HW_REV[3:0] */
+       for (i = 2; i < 6; i++) {
+               s5p_gpio_cfg_pin(&gpio2->m1, i, GPIO_INPUT);
+               s5p_gpio_set_pull(&gpio2->m1, i, GPIO_PULL_NONE);
+       }
+
+       /* GPM1[1:0]: MODEL_REV[1:0] */
+       for (i = 0; i < 2; i++)
+               modelrev |= (s5p_gpio_get_value(&gpio2->m1, i) << i);
+
+       /* board_rev[15:8] = model */
+       board_rev = modelrev << 8;
+}
+
+#ifdef CONFIG_DISPLAY_BOARDINFO
+int checkboard(void)
+{
+       puts("Board:\tTRATS2\n");
+       return 0;
+}
+#endif
+
+static void show_hw_revision(void)
+{
+       printf("HW Revision:\t0x%04x\n", board_rev);
+}
+
+u32 get_board_rev(void)
+{
+       return board_rev;
+}
+
+static inline u32 get_model_rev(void)
+{
+       return (board_rev >> 8) & 0xff;
+}
+
+static void board_external_gpio_init(void)
+{
+       gpio2 = (struct exynos4x12_gpio_part2 *)EXYNOS4X12_GPIO_PART2_BASE;
+
+       /*
+        * some pins which in alive block are connected with external pull-up
+        * but it's default setting is pull-down.
+        * if that pin set as input then that floated
+        */
+
+       s5p_gpio_set_pull(&gpio2->x0, 2, GPIO_PULL_NONE);       /* PS_ALS_INT */
+       s5p_gpio_set_pull(&gpio2->x0, 4, GPIO_PULL_NONE);       /* TSP_nINT */
+       s5p_gpio_set_pull(&gpio2->x0, 7, GPIO_PULL_NONE);       /* AP_PMIC_IRQ*/
+       s5p_gpio_set_pull(&gpio2->x1, 5, GPIO_PULL_NONE);       /* IF_PMIC_IRQ*/
+       s5p_gpio_set_pull(&gpio2->x2, 0, GPIO_PULL_NONE);       /* VOL_UP */
+       s5p_gpio_set_pull(&gpio2->x2, 1, GPIO_PULL_NONE);       /* VOL_DOWN */
+       s5p_gpio_set_pull(&gpio2->x2, 3, GPIO_PULL_NONE);       /* FUEL_ALERT */
+       s5p_gpio_set_pull(&gpio2->x2, 4, GPIO_PULL_NONE);       /* ADC_INT */
+       s5p_gpio_set_pull(&gpio2->x2, 7, GPIO_PULL_NONE);       /* nPOWER */
+       s5p_gpio_set_pull(&gpio2->x3, 0, GPIO_PULL_NONE);       /* WPC_INT */
+       s5p_gpio_set_pull(&gpio2->x3, 5, GPIO_PULL_NONE);       /* OK_KEY */
+       s5p_gpio_set_pull(&gpio2->x3, 7, GPIO_PULL_NONE);       /* HDMI_HPD */
+}
+
+#ifdef CONFIG_SYS_I2C_INIT_BOARD
+static void board_init_i2c(void)
+{
+       gpio1 = (struct exynos4x12_gpio_part1 *)EXYNOS4X12_GPIO_PART1_BASE;
+       gpio2 = (struct exynos4x12_gpio_part2 *)EXYNOS4X12_GPIO_PART2_BASE;
+
+       /* I2C_7 */
+       s5p_gpio_direction_output(&gpio1->d0, 2, 1);
+       s5p_gpio_direction_output(&gpio1->d0, 3, 1);
+
+       /* I2C_8 */
+       s5p_gpio_direction_output(&gpio1->f1, 4, 1);
+       s5p_gpio_direction_output(&gpio1->f1, 5, 1);
+
+       /* I2C_9 */
+       s5p_gpio_direction_output(&gpio2->m2, 1, 1);
+       s5p_gpio_direction_output(&gpio2->m2, 0, 1);
+}
+#endif
+
+int board_early_init_f(void)
+{
+       check_hw_revision();
+       board_external_gpio_init();
+
+       gd->flags |= GD_FLG_DISABLE_CONSOLE;
+
+       return 0;
+}
+
+static int pmic_init_max77686(void);
+
+int board_init(void)
+{
+       struct exynos4_power *pwr =
+               (struct exynos4_power *)EXYNOS4X12_POWER_BASE;
+
+       gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
+
+       /* workaround: clear INFORM4..5 */
+       writel(0, (unsigned int)&pwr->inform4);
+       writel(0, (unsigned int)&pwr->inform5);
+
+       return 0;
+}
+
+int power_init_board(void)
+{
+       int chrg;
+       struct power_battery *pb;
+       struct pmic *p_chrg, *p_muic, *p_fg, *p_bat;
+
+#ifdef CONFIG_SYS_I2C_INIT_BOARD
+       board_init_i2c();
+#endif
+       pmic_init(I2C_0);               /* I2C adapter 0 - bus name I2C_5 */
+       pmic_init_max77686();
+       pmic_init_max77693(I2C_2);      /* I2C adapter 2 - bus name I2C_10 */
+       power_muic_init(I2C_2);         /* I2C adapter 2 - bus name I2C_10 */
+       power_fg_init(I2C_1);           /* I2C adapter 1 - bus name I2C_9 */
+       power_bat_init(0);
+
+       p_chrg = pmic_get("MAX77693_PMIC");
+       if (!p_chrg) {
+               puts("MAX77693_PMIC: Not found\n");
+               return -ENODEV;
+       }
+
+       p_muic = pmic_get("MAX77693_MUIC");
+       if (!p_muic) {
+               puts("MAX77693_MUIC: Not found\n");
+               return -ENODEV;
+       }
+
+       p_fg = pmic_get("MAX77693_FG");
+       if (!p_fg) {
+               puts("MAX17042_FG: Not found\n");
+               return -ENODEV;
+       }
+
+       if (p_chrg->chrg->chrg_bat_present(p_chrg) == 0)
+               puts("No battery detected\n");
+
+       p_bat = pmic_get("BAT_TRATS2");
+       if (!p_bat) {
+               puts("BAT_TRATS2: Not found\n");
+               return -ENODEV;
+       }
+
+       p_fg->parent =  p_bat;
+       p_chrg->parent = p_bat;
+       p_muic->parent = p_bat;
+
+       p_bat->pbat->battery_init(p_bat, p_fg, p_chrg, p_muic);
+
+       pb = p_bat->pbat;
+       chrg = p_muic->chrg->chrg_type(p_muic);
+       debug("CHARGER TYPE: %d\n", chrg);
+
+       if (!p_chrg->chrg->chrg_bat_present(p_chrg)) {
+               puts("No battery detected\n");
+               return -1;
+       }
+
+       p_fg->fg->fg_battery_check(p_fg, p_bat);
+
+       if (pb->bat->state == CHARGE && chrg == CHARGER_USB)
+               puts("CHARGE Battery !\n");
+
+       return 0;
+}
+
+int dram_init(void)
+{
+       u32 size_mb;
+
+       size_mb = (get_ram_size((long *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE) +
+               get_ram_size((long *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE) +
+               get_ram_size((long *)PHYS_SDRAM_3, PHYS_SDRAM_3_SIZE) +
+               get_ram_size((long *)PHYS_SDRAM_4, PHYS_SDRAM_4_SIZE)) >> 20;
+
+       gd->ram_size = size_mb << 20;
+
+       return 0;
+}
+
+void dram_init_banksize(void)
+{
+       gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
+       gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
+       gd->bd->bi_dram[1].start = PHYS_SDRAM_2;
+       gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE;
+       gd->bd->bi_dram[2].start = PHYS_SDRAM_3;
+       gd->bd->bi_dram[2].size = PHYS_SDRAM_3_SIZE;
+       gd->bd->bi_dram[3].start = PHYS_SDRAM_4;
+       gd->bd->bi_dram[3].size = PHYS_SDRAM_4_SIZE;
+}
+
+int board_mmc_init(bd_t *bis)
+{
+       int err0, err2 = 0;
+
+       gpio2 = (struct exynos4x12_gpio_part2 *)EXYNOS4X12_GPIO_PART2_BASE;
+
+       /* eMMC_EN: SD_0_CDn: GPK0[2] Output High */
+       s5p_gpio_direction_output(&gpio2->k0, 2, 1);
+       s5p_gpio_set_pull(&gpio2->k0, 2, GPIO_PULL_NONE);
+
+       /*
+        * eMMC GPIO:
+        * SDR 8-bit@48MHz at MMC0
+        * GPK0[0]      SD_0_CLK(2)
+        * GPK0[1]      SD_0_CMD(2)
+        * GPK0[2]      SD_0_CDn        -> Not used
+        * GPK0[3:6]    SD_0_DATA[0:3](2)
+        * GPK1[3:6]    SD_0_DATA[0:3](3)
+        *
+        * DDR 4-bit@26MHz at MMC4
+        * GPK0[0]      SD_4_CLK(3)
+        * GPK0[1]      SD_4_CMD(3)
+        * GPK0[2]      SD_4_CDn        -> Not used
+        * GPK0[3:6]    SD_4_DATA[0:3](3)
+        * GPK1[3:6]    SD_4_DATA[4:7](4)
+        */
+
+       err0 = exynos_pinmux_config(PERIPH_ID_SDMMC0, PINMUX_FLAG_8BIT_MODE);
+
+       /*
+        * MMC device init
+        * mmc0  : eMMC (8-bit buswidth)
+        * mmc2  : SD card (4-bit buswidth)
+        */
+       if (err0)
+               debug("SDMMC0 not configured\n");
+       else
+               err0 = s5p_mmc_init(0, 8);
+
+       /* T-flash detect */
+       s5p_gpio_cfg_pin(&gpio2->x3, 4, 0xf);
+       s5p_gpio_set_pull(&gpio2->x3, 4, GPIO_PULL_UP);
+
+       /*
+        * Check the T-flash  detect pin
+        * GPX3[4] T-flash detect pin
+        */
+       if (!s5p_gpio_get_value(&gpio2->x3, 4)) {
+               err2 = exynos_pinmux_config(PERIPH_ID_SDMMC2, PINMUX_FLAG_NONE);
+               if (err2)
+                       debug("SDMMC2 not configured\n");
+               else
+                       err2 = s5p_mmc_init(2, 4);
+       }
+
+       return err0 & err2;
+}
+
+static int pmic_init_max77686(void)
+{
+       struct pmic *p = pmic_get("MAX77686_PMIC");
+
+       if (pmic_probe(p))
+               return -1;
+
+       /* BUCK/LDO Output Voltage */
+       max77686_set_ldo_voltage(p, 21, 2800000);       /* LDO21 VTF_2.8V */
+       max77686_set_ldo_voltage(p, 23, 3300000);       /* LDO23 TSP_AVDD_3.3V*/
+       max77686_set_ldo_voltage(p, 24, 1800000);       /* LDO24 TSP_VDD_1.8V */
+
+       /* BUCK/LDO Output Mode */
+       max77686_set_buck_mode(p, 1, OPMODE_STANDBY);   /* BUCK1 VMIF_1.1V_AP */
+       max77686_set_buck_mode(p, 2, OPMODE_ON);        /* BUCK2 VARM_1.0V_AP */
+       max77686_set_buck_mode(p, 3, OPMODE_ON);        /* BUCK3 VINT_1.0V_AP */
+       max77686_set_buck_mode(p, 4, OPMODE_ON);        /* BUCK4 VG3D_1.0V_AP */
+       max77686_set_buck_mode(p, 5, OPMODE_ON);        /* BUCK5 VMEM_1.2V_AP */
+       max77686_set_buck_mode(p, 6, OPMODE_ON);        /* BUCK6 VCC_SUB_1.35V*/
+       max77686_set_buck_mode(p, 7, OPMODE_ON);        /* BUCK7 VCC_SUB_2.0V */
+       max77686_set_buck_mode(p, 8, OPMODE_OFF);       /* VMEM_VDDF_2.85V */
+       max77686_set_buck_mode(p, 9, OPMODE_OFF);       /* CAM_ISP_CORE_1.2V*/
+
+       max77686_set_ldo_mode(p, 1, OPMODE_LPM);        /* LDO1 VALIVE_1.0V_AP*/
+       max77686_set_ldo_mode(p, 2, OPMODE_STANDBY);    /* LDO2 VM1M2_1.2V_AP */
+       max77686_set_ldo_mode(p, 3, OPMODE_LPM);        /* LDO3 VCC_1.8V_AP */
+       max77686_set_ldo_mode(p, 4, OPMODE_LPM);        /* LDO4 VCC_2.8V_AP */
+       max77686_set_ldo_mode(p, 5, OPMODE_OFF);        /* LDO5_VCC_1.8V_IO */
+       max77686_set_ldo_mode(p, 6, OPMODE_STANDBY);    /* LDO6 VMPLL_1.0V_AP */
+       max77686_set_ldo_mode(p, 7, OPMODE_STANDBY);    /* LDO7 VPLL_1.0V_AP */
+       max77686_set_ldo_mode(p, 8, OPMODE_LPM);        /* LDO8 VMIPI_1.0V_AP */
+       max77686_set_ldo_mode(p, 9, OPMODE_OFF);        /* CAM_ISP_MIPI_1.2*/
+       max77686_set_ldo_mode(p, 10, OPMODE_LPM);       /* LDO10 VMIPI_1.8V_AP*/
+       max77686_set_ldo_mode(p, 11, OPMODE_STANDBY);   /* LDO11 VABB1_1.8V_AP*/
+       max77686_set_ldo_mode(p, 12, OPMODE_LPM);       /* LDO12 VUOTG_3.0V_AP*/
+       max77686_set_ldo_mode(p, 13, OPMODE_OFF);       /* LDO13 VC2C_1.8V_AP */
+       max77686_set_ldo_mode(p, 14, OPMODE_STANDBY);   /* VABB02_1.8V_AP */
+       max77686_set_ldo_mode(p, 15, OPMODE_STANDBY);   /* LDO15 VHSIC_1.0V_AP*/
+       max77686_set_ldo_mode(p, 16, OPMODE_STANDBY);   /* LDO16 VHSIC_1.8V_AP*/
+       max77686_set_ldo_mode(p, 17, OPMODE_OFF);       /* CAM_SENSOR_CORE_1.2*/
+       max77686_set_ldo_mode(p, 18, OPMODE_OFF);       /* CAM_ISP_SEN_IO_1.8V*/
+       max77686_set_ldo_mode(p, 19, OPMODE_OFF);       /* LDO19 VT_CAM_1.8V */
+       max77686_set_ldo_mode(p, 20, OPMODE_ON);        /* LDO20 VDDQ_PRE_1.8V*/
+       max77686_set_ldo_mode(p, 21, OPMODE_OFF);       /* LDO21 VTF_2.8V */
+       max77686_set_ldo_mode(p, 22, OPMODE_OFF);       /* LDO22 VMEM_VDD_2.8V*/
+       max77686_set_ldo_mode(p, 23, OPMODE_OFF);       /* LDO23 TSP_AVDD_3.3V*/
+       max77686_set_ldo_mode(p, 24, OPMODE_OFF);       /* LDO24 TSP_VDD_1.8V */
+       max77686_set_ldo_mode(p, 25, OPMODE_OFF);       /* LDO25 VCC_3.3V_LCD */
+       max77686_set_ldo_mode(p, 26, OPMODE_OFF);       /*LDO26 VCC_3.0V_MOTOR*/
+
+       return 0;
+}
+
+/*
+ * LCD
+ */
+
+#ifdef CONFIG_LCD
+static struct mipi_dsim_config dsim_config = {
+       .e_interface            = DSIM_VIDEO,
+       .e_virtual_ch           = DSIM_VIRTUAL_CH_0,
+       .e_pixel_format         = DSIM_24BPP_888,
+       .e_burst_mode           = DSIM_BURST_SYNC_EVENT,
+       .e_no_data_lane         = DSIM_DATA_LANE_4,
+       .e_byte_clk             = DSIM_PLL_OUT_DIV8,
+       .hfp                    = 1,
+
+       .p                      = 3,
+       .m                      = 120,
+       .s                      = 1,
+
+       /* D-PHY PLL stable time spec :min = 200usec ~ max 400usec */
+       .pll_stable_time        = 500,
+
+       /* escape clk : 10MHz */
+       .esc_clk                = 20 * 1000000,
+
+       /* stop state holding counter after bta change count 0 ~ 0xfff */
+       .stop_holding_cnt       = 0x7ff,
+       /* bta timeout 0 ~ 0xff */
+       .bta_timeout            = 0xff,
+       /* lp rx timeout 0 ~ 0xffff */
+       .rx_timeout             = 0xffff,
+};
+
+static struct exynos_platform_mipi_dsim dsim_platform_data = {
+       .lcd_panel_info = NULL,
+       .dsim_config = &dsim_config,
+};
+
+static struct mipi_dsim_lcd_device mipi_lcd_device = {
+       .name   = "s6e8ax0",
+       .id     = -1,
+       .bus_id = 0,
+       .platform_data  = (void *)&dsim_platform_data,
+};
+
+static int mipi_power(void)
+{
+       struct pmic *p = pmic_get("MAX77686_PMIC");
+
+       /* LDO8 VMIPI_1.0V_AP */
+       max77686_set_ldo_mode(p, 8, OPMODE_ON);
+       /* LDO10 VMIPI_1.8V_AP */
+       max77686_set_ldo_mode(p, 10, OPMODE_ON);
+
+       return 0;
+}
+
+void exynos_lcd_power_on(void)
+{
+       struct pmic *p = pmic_get("MAX77686_PMIC");
+
+       gpio1 = (struct exynos4x12_gpio_part1 *)EXYNOS4X12_GPIO_PART1_BASE;
+
+       /* LCD_2.2V_EN: GPC0[1] */
+       s5p_gpio_set_pull(&gpio1->c0, 1, GPIO_PULL_UP);
+       s5p_gpio_direction_output(&gpio1->c0, 1, 1);
+
+       /* LDO25 VCC_3.1V_LCD */
+       pmic_probe(p);
+       max77686_set_ldo_voltage(p, 25, 3100000);
+       max77686_set_ldo_mode(p, 25, OPMODE_LPM);
+}
+
+void exynos_reset_lcd(void)
+{
+       gpio1 = (struct exynos4x12_gpio_part1 *)EXYNOS4X12_GPIO_PART1_BASE;
+
+       /* reset lcd */
+       s5p_gpio_direction_output(&gpio1->f2, 1, 0);
+       udelay(10);
+       s5p_gpio_set_value(&gpio1->f2, 1, 1);
+}
+
+vidinfo_t panel_info = {
+       .vl_freq        = 60,
+       .vl_col         = 720,
+       .vl_row         = 1280,
+       .vl_width       = 720,
+       .vl_height      = 1280,
+       .vl_clkp        = CONFIG_SYS_HIGH,
+       .vl_hsp         = CONFIG_SYS_LOW,
+       .vl_vsp         = CONFIG_SYS_LOW,
+       .vl_dp          = CONFIG_SYS_LOW,
+       .vl_bpix        = 5,    /* Bits per pixel, 2^5 = 32 */
+
+       /* s6e8ax0 Panel infomation */
+       .vl_hspw        = 5,
+       .vl_hbpd        = 10,
+       .vl_hfpd        = 10,
+
+       .vl_vspw        = 2,
+       .vl_vbpd        = 1,
+       .vl_vfpd        = 13,
+       .vl_cmd_allow_len = 0xf,
+       .mipi_enabled = 1,
+
+       .dual_lcd_enabled = 0,
+
+       .init_delay     = 0,
+       .power_on_delay = 25,
+       .reset_delay    = 0,
+       .interface_mode = FIMD_RGB_INTERFACE,
+};
+
+void init_panel_info(vidinfo_t *vid)
+{
+       vid->logo_on    = 1;
+       vid->resolution = HD_RESOLUTION;
+       vid->rgb_mode   = MODE_RGB_P;
+
+       vid->power_on_delay = 30;
+
+       mipi_lcd_device.reverse_panel = 1;
+
+#ifdef CONFIG_TIZEN
+       get_tizen_logo_info(vid);
+#endif
+
+       strcpy(dsim_platform_data.lcd_panel_name, mipi_lcd_device.name);
+       dsim_platform_data.mipi_power = mipi_power;
+       dsim_platform_data.phy_enable = set_mipi_phy_ctrl;
+       dsim_platform_data.lcd_panel_info = (void *)vid;
+       exynos_mipi_dsi_register_lcd_device(&mipi_lcd_device);
+
+       s6e8ax0_init();
+
+       exynos_set_dsim_platform_data(&dsim_platform_data);
+}
+#endif /* LCD */
+
+#ifdef CONFIG_MISC_INIT_R
+int misc_init_r(void)
+{
+       setenv("model", "GT-I8800");
+       setenv("board", "TRATS2");
+
+       show_hw_revision();
+
+       return 0;
+}
+#endif
index bcb2f330fa8b356262c876fa039a02d9c3b61606..30b05416a7681bbf89037bc3c8229733af75bea7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 Native Execution of U-Boot
index 81d65dd5bcc783aaeee3548da03088c9739a0cda..ad046bed69b9098b2a72a6bfa05cbf9b42fceaa9 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2002 Jun Gu <jung@artesyncp.com>
  * Add support for Am29F016D and dynamic switch setting.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 /*
  * Ported from Ebony flash support
index b579812ccf667aff7f223b979399727f350eba3f..c23ef50547279ee624682cd514233267f44c6942 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *  Copyright (C) 2005 Sandburst Corporation
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <config.h>
 #include <common.h>
index 8716eacd84ad00508d802b301b683b5c352dd9c4..57406335bf3766d5016e59d6fd0c6183a31b23fa 100644 (file)
@@ -3,7 +3,7 @@
 /*
  *  Copyright (C) 2005 Sandburst Corporation
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <config.h>
 #include <common.h>
index 683d68b9337c95aa8b5e2c58e37bae05380c1928..96d7dcd8fdf9503b7904f3e7c4e4b00b3e17fbb7 100644 (file)
@@ -2,7 +2,7 @@
  *  Copyright (C) 2005 Sandburst Corporation
  *  Travis B. Sawyer
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index 5226e7a4ec3736a3f0c70c79a0f0f60640e2555e..6c6baee015bc0afea1aa0a1b2eed340a2ce5033e 100644 (file)
@@ -4,7 +4,7 @@
  *  Copyright (C) 2005 Sandburst Corporation
  *  Travis B. Sawyer
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #define KAREF_U_BOOT_REL_STR "Release 0.0.7"
 #endif
index 5bc7f2f4332819d88932fc6e9f557199c025a4f2..290fa020f893e0f50cee07c611f14832c3732f3e 100644 (file)
@@ -2,7 +2,7 @@
  *  Copyright (c) 2005
  *  Travis B. Sawyer,  Sandburst Corporation, tsawyer@sandburst.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <config.h>
 #include <common.h>
index a2e0831f33bfcc3823fa4bf2d69fa2e1ad024f4e..c9996a8c06edc5d786fe9231b16ded0c091b7bb0 100644 (file)
@@ -15,8 +15,6 @@ tkoeller@gmx.net.
 Thomas Koeller
 
 
-
-
 The port was tested on a Sandpoint 8240 X3 board, with U-Boot
 installed in the flash memory of the CPU card. Please use the
 following DIP switch settings:
index c6d8e99c091d7f7dbf8195d8a8632d3f5c764ec7..7ddc97c5ea15d252d67c4a8dcc6d411dde36d8d8 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2002
  * Brad Kemp, Seranoa Networks, Brad.Kemp@seranoa.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 837851838d6b93dae8f882f490ce17bff8d758ed..3cd945f2c2e2f6dc781665cd88fa5a27e781d2bd 100644 (file)
@@ -7,7 +7,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 3a4815499faa13e30267eadb07f10213f02d603f..0b5e8dc17e1ab8f78e3ab7ad8a8688e0ed28a7da 100644 (file)
@@ -9,7 +9,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index f2b04768179533c2567212446e7057e4d0e03cfc..5de8fc6cbf06a1e6138f78f4850731e962a6059b 100644 (file)
@@ -328,8 +328,6 @@ static int get_clk(struct dpll_regs *dpll_regs)
        return f;
 };
 
-
-
 int clk_get(int clk)
 {
        return get_clk(&dpll_lcd_regs);
@@ -426,7 +424,5 @@ static int board_video_init(void)
 
        return 0;
 }
-
-
 #endif /* ifdef CONFIG_VIDEO */
 #include "../common/board.c"
index e5e831109978a188ca750985831cfcef51b95884..bd683f6af81a92e1f9284c8b84bf0ff828d2840e 100644 (file)
@@ -9,7 +9,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index e69e2662c865b322bff391aef741ee2556fa2b8f..c08a18bffe7070f9005feebaa0ad38e775899676 100644 (file)
@@ -9,7 +9,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index a508595abf2f72adffe04af4a148dfa66a7986b2..5db48506c64c727074366b95251c79ba4559e665 100644 (file)
@@ -139,6 +139,6 @@ phys_size_t initdram (int board_type)
 #if defined(CONFIG_CMD_DOC)
 void doc_init (void)
 {
-               doc_probe (CONFIG_SYS_DOC_BASE);
+               doc_probe (CONFIG_SYS_DOC_BASE);
 }
 #endif
index 70c455ab3db695f84586f1c947889c8efe773ce9..7ae9c43924e43041c1e3345686172d00c2879500 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm-offsets.h>
index e402649132d2a821ba19378c255c90b2c54e3376..88a7310cec6de5780856e95609fec19bbae6ba8b 100644 (file)
@@ -14,7 +14,7 @@
  * Texas Instruments, <www.ti.com>
  * Rishi Bhattacharya <rishi@ti.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 48dc82699ed708cc2f69b7da9179cddcbd5ea14a..554019c2070c860d3bcdc0c228140ffe604dacd0 100644 (file)
@@ -10,7 +10,7 @@
  * Texas Instruments, <www.ti.com>
  * Kshitij Gupta <Kshitij@ti.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index e838ffd95476c8041e5e547607a93e4fb39b0da5..bc3c29220e1c3f7420b7c79ce62cfc3e3c7066b0 100644 (file)
@@ -133,6 +133,7 @@ int misc_init_r(void)
 {
        int phy_type;
        u32 auxclk, altclksrc;
+       uint8_t device_mac[6];
 
        /* EHCI is not supported on ES1.0 */
        if (omap_revision() == OMAP4430_ES1_0)
@@ -186,6 +187,21 @@ int misc_init_r(void)
 
        writel(altclksrc, &scrm->altclksrc);
 
+       if (!getenv("usbethaddr")) {
+               /*
+                * create a fake MAC address from the processor ID code.
+                * first byte is 0x02 to signify locally administered.
+                */
+               device_mac[0] = 0x02;
+               device_mac[1] = readl(STD_FUSE_DIE_ID_3) & 0xff;
+               device_mac[2] = readl(STD_FUSE_DIE_ID_2) & 0xff;
+               device_mac[3] = readl(STD_FUSE_DIE_ID_1) & 0xff;
+               device_mac[4] = readl(STD_FUSE_DIE_ID_0) & 0xff;
+               device_mac[5] = (readl(STD_FUSE_DIE_ID_0) >> 8) & 0xff;
+
+               eth_setenv_enetaddr("usbethaddr", device_mac);
+       }
+
        return 0;
 }
 
index d5a8a979d5ea015432a3919ffe5a95cbdc350fea..a1f56cde2962a96053a289068c412a37096e0325 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2004-2006
  * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index fa257b7f3a883acfe51642377c43968a6d507a3b..4925b8dda3055b1d6651e46004551fe136f49756 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 334fd6d74b3852b7f86d6d3f433b894e0779596c..d6508681e9a30e7e004c9b8ae8d0cc5e56110ac3 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 2205d51b06a093964a5237535a7518fe627c48d0..1eeaf0e993cc395c84443f3bea20bd8d15879738 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef        _TQM8272_HEADER_H
index d8195b6d7566a9456b20808e9a9d2e44da92b37f..1318edc5d63ae77abe5f78d3d48206ed4b547495 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index bbb85f39eface16598e8d7d73a8a0c80e87564ee..879cb6133cd07d2ddca438594844823e75c31f5b 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index dfb4558bd19ae5622e7110c17851369f9a58972c..05540fb2d2cf5b268681b03fc5bed8f601bbe4c0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Bill Hunter, Wave 7 Optics, william.hunter@mediaone.net
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef _ERRORS_H_
 #define _ERRORS_H_
index 77e0a180227dcf4e352509d8235d5a2b68e95e3b..a27e8ab88fbc3c699d93f9cb8b0400b95a3db2eb 100644 (file)
@@ -4,7 +4,7 @@
  *  and
  * Bill Hunter, Wave 7 Optics, william.hunter@mediaone.net
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <config.h>
 #include <common.h>
index 8a1b9e69099edb5f3a560a45ce55f53d7e0d4e97..7a411a4920c2d66c077da0dad61c9ac560c2f1f3 100644 (file)
@@ -4,7 +4,7 @@
  *  and
  * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 /*
  * Description:
index f16f9a191c1eb6c327dc0537960fb9b1a9220e7e..76b65975cefca34f83bce765857aad42c9c4a892 100644 (file)
@@ -4,7 +4,7 @@
  *   and
  * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 57ff0005b5255c600030f9b56dc876afc430ab41..2a604d448beceadb674e2386b3fde17ec31dfb60 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2008 Extreme Engineering Solutions, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index dfd6946b5f3d4d45228ba368317e23b803716d0e..2899e1117dd9874b824d8cba7080f6f9acb77e20 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2008 Extreme Engineering Solutions, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 90e0f45ff77a6509bf432f0c816874fa9500474b..106bb233a4bb2e6e8b32e57108f39b766d46867e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2008 Extreme Engineering Solutions, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __FSL_8XXX_MISC_H___
index 625594d1b14ba6e63cf01c193478f811a08bee88..510f638ffea8f9ab63eaa93bfca1ee65ca12fd5a 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2008 Extreme Engineering Solutions, Inc.
  * Copyright 2007-2008 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 53cb156fd558a806de47686ad12254d376313a5d..f48c02fdae9bc9c188edcb718f643bbfa42400bc 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2009 Extreme Engineering Solutions, Inc.
  * Copyright 2007-2008 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index c128fcb53dbb6734af04c713f1ea6f1632f69544..f41ae737552eabd15c40b7ac55bae2f069dc7217 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2008 Extreme Engineering Solutions, Inc.
  * Copyright 2008 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index aaa87b268d3055a7075575bb21111e10683c9d5b..efd563b266b655885448d95e1943b939ca5f3712 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2008 Extreme Engineering Solutions, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 993ae800f371ace4e170772fda3d299a705e6015..a03a96b182bfade1c7c7b6db7c5a339cbd9dfeec 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2010 Extreme Engineering Solutions, Inc.
  * Copyright 2007-2008 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 161dc2d90a891bc918fa51064b8d37ee1be6ace1..e64d682afe7e7f92ef56df857ec8bb52781123f3 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2010 Extreme Engineering Solutions, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index be7154ea147cfa13407a64802d33c84d713d9be3..42a8d0c400e5917262f709fffe128095568e50a7 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Michal  SIMEK <monstr@monstr.eu>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* This is a board specific file.  It's OK to include board specific
index f7f1c59ac5455fd44f53ccfb98de1344ce084ac3..5119c09037e5bfe2bca7151bd8fb87a7a327cd08 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2012 Michal Simek <monstr@monstr.eu>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 85143c64a9c174d866f6a53c254fbada61052cef..aa2ee642d411948cad91511075a52e4b1bfcf065 100644 (file)
@@ -274,6 +274,7 @@ Active  arm         armv7          exynos      samsung         smdk5250
 Active  arm         armv7          exynos      samsung         smdk5250            snow                                 -                                                                                                                                 Rajeshwari Shinde <rajeshwari.s@samsung.com>
 Active  arm         armv7          exynos      samsung         smdkv310            smdkv310                             -                                                                                                                                 Chander Kashyap <k.chander@samsung.com>
 Active  arm         armv7          exynos      samsung         trats               trats                                -                                                                                                                                 Lukasz Majewski <l.majewski@samsung.com>
+Active  arm         armv7          exynos      samsung         trats2              trats2                               -                                                                                                                                 Piotr Wilczek <p.wilczek@samsung.com>
 Active  arm         armv7          exynos      samsung         universal_c210      s5pc210_universal                    -                                                                                                                                 Minkyu Kang <mk7.kang@samsung.com>
 Active  arm         armv7          highbank    -               highbank            highbank                             -                                                                                                                                 Rob Herring <rob.herring@calxeda.com>
 Active  arm         armv7          mx5         denx            m53evk              m53evk                               m53evk:IMX_CONFIG=board/denx/m53evk/imximage.cfg                                                                                  Marek Vasut <marek.vasut@gmail.com>
index c093fefd4c3a22bf49961d00e38e53bbe6d3208e..cc904c253560f4e0e4743e2eeba162c63d5021ad 100644 (file)
@@ -121,9 +121,9 @@ static int do_bmp_display(cmd_tbl_t * cmdtp, int flag, int argc, char * const ar
                break;
        case 4:
                addr = simple_strtoul(argv[1], NULL, 16);
-               x = simple_strtoul(argv[2], NULL, 10);
-               y = simple_strtoul(argv[3], NULL, 10);
-               break;
+               x = simple_strtoul(argv[2], NULL, 10);
+               y = simple_strtoul(argv[3], NULL, 10);
+               break;
        default:
                return CMD_RET_USAGE;
        }
index 7257f10fb17c61c116f400840a19dbb7c85c5779..f2e750f2f1642f0fa71a6be1edac10eb48578f75 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index a91d0bf1fcd25993e2ed48856668f3dfb99fc920..02da450f6731ee1994f27bd6a30e9030373dd9b5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2008 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 10d53a063be915c47b8f42fc2af797960ba8ce4a..29f8076f825568833cdc4324b9aaf778e67f4180 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003
  * Tait Electronics Limited, Christchurch, New Zealand
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index c48603cada59f0257fdf17e84b5552bcf7033182..172bc30bd6fc9b272ef60b33f7777c31e9497794 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2008
  * Ulf Samuelsson <ulf.samuelsson@atmel.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index f791372de1518299be5a3a6e1617c9df275c273c..40b6333ebf4cd15959811273da8617f30b15c360 100644 (file)
 DECLARE_GLOBAL_DATA_PTR;
 
 /* special size referring to all the remaining space in a partition */
-#define SIZE_REMAINING         0xFFFFFFFF
+#define SIZE_REMAINING         (~0llu)
 
 /* special offset value, it is used when not provided by user
  *
  * this value is used temporarily during parsing, later such offests
  * are recalculated */
-#define OFFSET_NOT_SPECIFIED   0xFFFFFFFF
+#define OFFSET_NOT_SPECIFIED   (~0llu)
 
 /* minimum partition size */
 #define MIN_PART_SIZE          4096
@@ -160,9 +160,9 @@ static int device_del(struct mtd_device *dev);
  * @param retptr output pointer to next char after parse completes (output)
  * @return resulting unsigned int
  */
-static unsigned long memsize_parse (const char *const ptr, const char **retptr)
+static u64 memsize_parse (const char *const ptr, const char **retptr)
 {
-       unsigned long ret = simple_strtoul(ptr, (char **)retptr, 0);
+       u64 ret = simple_strtoull(ptr, (char **)retptr, 0);
 
        switch (**retptr) {
                case 'G':
@@ -193,20 +193,20 @@ static unsigned long memsize_parse (const char *const ptr, const char **retptr)
  * @param buf output buffer
  * @param size size to be converted to string
  */
-static void memsize_format(char *buf, u32 size)
+static void memsize_format(char *buf, u64 size)
 {
 #define SIZE_GB ((u32)1024*1024*1024)
 #define SIZE_MB ((u32)1024*1024)
 #define SIZE_KB ((u32)1024)
 
        if ((size % SIZE_GB) == 0)
-               sprintf(buf, "%ug", size/SIZE_GB);
+               sprintf(buf, "%llug", size/SIZE_GB);
        else if ((size % SIZE_MB) == 0)
-               sprintf(buf, "%um", size/SIZE_MB);
+               sprintf(buf, "%llum", size/SIZE_MB);
        else if (size % SIZE_KB == 0)
-               sprintf(buf, "%uk", size/SIZE_KB);
+               sprintf(buf, "%lluk", size/SIZE_KB);
        else
-               sprintf(buf, "%u", size);
+               sprintf(buf, "%llu", size);
 }
 
 /**
@@ -310,6 +310,7 @@ static int part_validate_eraseblock(struct mtdids *id, struct part_info *part)
        struct mtd_info *mtd = NULL;
        int i, j;
        ulong start;
+       u64 offset, size;
 
        if (get_mtd_info(id->type, id->num, &mtd))
                return 1;
@@ -321,14 +322,16 @@ static int part_validate_eraseblock(struct mtdids *id, struct part_info *part)
                 * Only one eraseregion (NAND, OneNAND or uniform NOR),
                 * checking for alignment is easy here
                 */
-               if ((unsigned long)part->offset % mtd->erasesize) {
+               offset = part->offset;
+               if (do_div(offset, mtd->erasesize)) {
                        printf("%s%d: partition (%s) start offset"
                               "alignment incorrect\n",
                               MTD_DEV_TYPE(id->type), id->num, part->name);
                        return 1;
                }
 
-               if (part->size % mtd->erasesize) {
+               size = part->size;
+               if (do_div(size, mtd->erasesize)) {
                        printf("%s%d: partition (%s) size alignment incorrect\n",
                               MTD_DEV_TYPE(id->type), id->num, part->name);
                        return 1;
@@ -395,7 +398,7 @@ static int part_validate(struct mtdids *id, struct part_info *part)
                part->size = id->size - part->offset;
 
        if (part->offset > id->size) {
-               printf("%s: offset %08x beyond flash size %08x\n",
+               printf("%s: offset %08llx beyond flash size %08llx\n",
                                id->mtd_id, part->offset, id->size);
                return 1;
        }
@@ -578,8 +581,8 @@ static int part_add(struct mtd_device *dev, struct part_info *part)
 static int part_parse(const char *const partdef, const char **ret, struct part_info **retpart)
 {
        struct part_info *part;
-       unsigned long size;
-       unsigned long offset;
+       u64 size;
+       u64 offset;
        const char *name;
        int name_len;
        unsigned int mask_flags;
@@ -598,7 +601,7 @@ static int part_parse(const char *const partdef, const char **ret, struct part_i
        } else {
                size = memsize_parse(p, &p);
                if (size < MIN_PART_SIZE) {
-                       printf("partition size too small (%lx)\n", size);
+                       printf("partition size too small (%llx)\n", size);
                        return 1;
                }
        }
@@ -670,14 +673,14 @@ static int part_parse(const char *const partdef, const char **ret, struct part_i
                part->auto_name = 0;
        } else {
                /* auto generated name in form of size@offset */
-               sprintf(part->name, "0x%08lx@0x%08lx", size, offset);
+               sprintf(part->name, "0x%08llx@0x%08llx", size, offset);
                part->auto_name = 1;
        }
 
        part->name[name_len - 1] = '\0';
        INIT_LIST_HEAD(&part->link);
 
-       debug("+ partition: name %-22s size 0x%08x offset 0x%08x mask flags %d\n",
+       debug("+ partition: name %-22s size 0x%08llx offset 0x%08llx mask flags %d\n",
                        part->name, part->size,
                        part->offset, part->mask_flags);
 
@@ -693,7 +696,7 @@ static int part_parse(const char *const partdef, const char **ret, struct part_i
  * @param size a pointer to the size of the mtd device (output)
  * @return 0 if device is valid, 1 otherwise
  */
-static int mtd_device_validate(u8 type, u8 num, u32 *size)
+static int mtd_device_validate(u8 type, u8 num, u64 *size)
 {
        struct mtd_info *mtd = NULL;
 
@@ -826,7 +829,7 @@ static int device_parse(const char *const mtd_dev, const char **ret, struct mtd_
        LIST_HEAD(tmp_list);
        struct list_head *entry, *n;
        u16 num_parts;
-       u32 offset;
+       u64 offset;
        int err = 1;
 
        debug("===device_parse===\n");
@@ -1071,7 +1074,8 @@ static int generate_mtdparts(char *buf, u32 buflen)
        struct part_info *part, *prev_part;
        char *p = buf;
        char tmpbuf[32];
-       u32 size, offset, len, part_cnt;
+       u64 size, offset;
+       u32 len, part_cnt;
        u32 maxlen = buflen - 1;
 
        debug("--- generate_mtdparts ---\n");
@@ -1270,7 +1274,7 @@ static void print_partition_table(void)
 
                list_for_each(pentry, &dev->parts) {
                        part = list_entry(pentry, struct part_info, link);
-                       printf("%2d: %-20s0x%08x\t0x%08x\t%d\n",
+                       printf("%2d: %-20s0x%08llx\t0x%08llx\t%d\n",
                                        part_num, part->name, part->size,
                                        part->offset, part->mask_flags);
 #endif /* defined(CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES) */
@@ -1297,7 +1301,7 @@ static void list_partitions(void)
        if (current_mtd_dev) {
                part = mtd_part_info(current_mtd_dev, current_mtd_partnum);
                if (part) {
-                       printf("\nactive partition: %s%d,%d - (%s) 0x%08x @ 0x%08x\n",
+                       printf("\nactive partition: %s%d,%d - (%s) 0x%08llx @ 0x%08llx\n",
                                        MTD_DEV_TYPE(current_mtd_dev->id->type),
                                        current_mtd_dev->id->num, current_mtd_partnum,
                                        part->name, part->size, part->offset);
@@ -1397,7 +1401,7 @@ static int delete_partition(const char *id)
 
        if (find_dev_and_part(id, &dev, &pnum, &part) == 0) {
 
-               debug("delete_partition: device = %s%d, partition %d = (%s) 0x%08x@0x%08x\n",
+               debug("delete_partition: device = %s%d, partition %d = (%s) 0x%08llx@0x%08llx\n",
                                MTD_DEV_TYPE(dev->id->type), dev->id->num, pnum,
                                part->name, part->size, part->offset);
 
@@ -1589,7 +1593,7 @@ static int parse_mtdids(const char *const ids)
        struct list_head *entry, *n;
        struct mtdids *id_tmp;
        u8 type, num;
-       u32 size;
+       u64 size;
        int ret = 1;
 
        debug("\n---parse_mtdids---\nmtdids = %s\n\n", ids);
@@ -1663,7 +1667,7 @@ static int parse_mtdids(const char *const ids)
                id->mtd_id[mtd_id_len - 1] = '\0';
                INIT_LIST_HEAD(&id->link);
 
-               debug("+ id %s%d\t%16d bytes\t%s\n",
+               debug("+ id %s%d\t%16lld bytes\t%s\n",
                                MTD_DEV_TYPE(id->type), id->num,
                                id->size, id->mtd_id);
 
index 778dca5af9fbb6c026514332f22ec7f3377479ea..ba9ba16972cda0c3502fd24399f2666f20544046 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright 2011 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index c5f4a221b8c152770f62601896468d96a12e867f..79d3a061f537f6c1fe5a527b0d13bde3d7a2834e 100644 (file)
@@ -114,16 +114,16 @@ static int get_bootfile_path(const char *file_path, char *bootfile_path,
        return 1;
 }
 
-static int (*do_getfile)(const char *file_path, char *file_addr);
+static int (*do_getfile)(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr);
 
-static int do_get_tftp(const char *file_path, char *file_addr)
+static int do_get_tftp(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr)
 {
        char *tftp_argv[] = {"tftp", NULL, NULL, NULL};
 
        tftp_argv[1] = file_addr;
        tftp_argv[2] = (void *)file_path;
 
-       if (do_tftpb(NULL, 0, 3, tftp_argv))
+       if (do_tftpb(cmdtp, 0, 3, tftp_argv))
                return -ENOENT;
 
        return 1;
@@ -131,27 +131,27 @@ static int do_get_tftp(const char *file_path, char *file_addr)
 
 static char *fs_argv[5];
 
-static int do_get_ext2(const char *file_path, char *file_addr)
+static int do_get_ext2(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr)
 {
 #ifdef CONFIG_CMD_EXT2
        fs_argv[0] = "ext2load";
        fs_argv[3] = file_addr;
        fs_argv[4] = (void *)file_path;
 
-       if (!do_ext2load(NULL, 0, 5, fs_argv))
+       if (!do_ext2load(cmdtp, 0, 5, fs_argv))
                return 1;
 #endif
        return -ENOENT;
 }
 
-static int do_get_fat(const char *file_path, char *file_addr)
+static int do_get_fat(cmd_tbl_t *cmdtp, const char *file_path, char *file_addr)
 {
 #ifdef CONFIG_CMD_FAT
        fs_argv[0] = "fatload";
        fs_argv[3] = file_addr;
        fs_argv[4] = (void *)file_path;
 
-       if (!do_fat_fsload(NULL, 0, 5, fs_argv))
+       if (!do_fat_fsload(cmdtp, 0, 5, fs_argv))
                return 1;
 #endif
        return -ENOENT;
@@ -165,7 +165,7 @@ static int do_get_fat(const char *file_path, char *file_addr)
  *
  * Returns 1 for success, or < 0 on error.
  */
-static int get_relfile(const char *file_path, void *file_addr)
+static int get_relfile(cmd_tbl_t *cmdtp, const char *file_path, void *file_addr)
 {
        size_t path_len;
        char relfile[MAX_TFTP_PATH_LEN+1];
@@ -194,7 +194,7 @@ static int get_relfile(const char *file_path, void *file_addr)
 
        sprintf(addr_buf, "%p", file_addr);
 
-       return do_getfile(relfile, addr_buf);
+       return do_getfile(cmdtp, relfile, addr_buf);
 }
 
 /*
@@ -204,13 +204,13 @@ static int get_relfile(const char *file_path, void *file_addr)
  *
  * Returns 1 on success, or < 0 for error.
  */
-static int get_pxe_file(const char *file_path, void *file_addr)
+static int get_pxe_file(cmd_tbl_t *cmdtp, const char *file_path, void *file_addr)
 {
        unsigned long config_file_size;
        char *tftp_filesize;
        int err;
 
-       err = get_relfile(file_path, file_addr);
+       err = get_relfile(cmdtp, file_path, file_addr);
 
        if (err < 0)
                return err;
@@ -241,7 +241,7 @@ static int get_pxe_file(const char *file_path, void *file_addr)
  *
  * Returns 1 on success or < 0 on error.
  */
-static int get_pxelinux_path(const char *file, void *pxefile_addr_r)
+static int get_pxelinux_path(cmd_tbl_t *cmdtp, const char *file, void *pxefile_addr_r)
 {
        size_t base_len = strlen(PXELINUX_DIR);
        char path[MAX_TFTP_PATH_LEN+1];
@@ -254,7 +254,7 @@ static int get_pxelinux_path(const char *file, void *pxefile_addr_r)
 
        sprintf(path, PXELINUX_DIR "%s", file);
 
-       return get_pxe_file(path, pxefile_addr_r);
+       return get_pxe_file(cmdtp, path, pxefile_addr_r);
 }
 
 /*
@@ -262,7 +262,7 @@ static int get_pxelinux_path(const char *file, void *pxefile_addr_r)
  *
  * Returns 1 on success or < 0 on error.
  */
-static int pxe_uuid_path(void *pxefile_addr_r)
+static int pxe_uuid_path(cmd_tbl_t *cmdtp, void *pxefile_addr_r)
 {
        char *uuid_str;
 
@@ -271,7 +271,7 @@ static int pxe_uuid_path(void *pxefile_addr_r)
        if (!uuid_str)
                return -ENOENT;
 
-       return get_pxelinux_path(uuid_str, pxefile_addr_r);
+       return get_pxelinux_path(cmdtp, uuid_str, pxefile_addr_r);
 }
 
 /*
@@ -280,7 +280,7 @@ static int pxe_uuid_path(void *pxefile_addr_r)
  *
  * Returns 1 on success or < 0 on error.
  */
-static int pxe_mac_path(void *pxefile_addr_r)
+static int pxe_mac_path(cmd_tbl_t *cmdtp, void *pxefile_addr_r)
 {
        char mac_str[21];
        int err;
@@ -290,7 +290,7 @@ static int pxe_mac_path(void *pxefile_addr_r)
        if (err < 0)
                return err;
 
-       return get_pxelinux_path(mac_str, pxefile_addr_r);
+       return get_pxelinux_path(cmdtp, mac_str, pxefile_addr_r);
 }
 
 /*
@@ -300,7 +300,7 @@ static int pxe_mac_path(void *pxefile_addr_r)
  *
  * Returns 1 on success or < 0 on error.
  */
-static int pxe_ipaddr_paths(void *pxefile_addr_r)
+static int pxe_ipaddr_paths(cmd_tbl_t *cmdtp, void *pxefile_addr_r)
 {
        char ip_addr[9];
        int mask_pos, err;
@@ -308,7 +308,7 @@ static int pxe_ipaddr_paths(void *pxefile_addr_r)
        sprintf(ip_addr, "%08X", ntohl(NetOurIP));
 
        for (mask_pos = 7; mask_pos >= 0;  mask_pos--) {
-               err = get_pxelinux_path(ip_addr, pxefile_addr_r);
+               err = get_pxelinux_path(cmdtp, ip_addr, pxefile_addr_r);
 
                if (err > 0)
                        return err;
@@ -359,16 +359,16 @@ do_pxe_get(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
         * Keep trying paths until we successfully get a file we're looking
         * for.
         */
-       if (pxe_uuid_path((void *)pxefile_addr_r) > 0 ||
-           pxe_mac_path((void *)pxefile_addr_r) > 0 ||
-           pxe_ipaddr_paths((void *)pxefile_addr_r) > 0) {
+       if (pxe_uuid_path(cmdtp, (void *)pxefile_addr_r) > 0 ||
+           pxe_mac_path(cmdtp, (void *)pxefile_addr_r) > 0 ||
+           pxe_ipaddr_paths(cmdtp, (void *)pxefile_addr_r) > 0) {
                printf("Config file found\n");
 
                return 0;
        }
 
        while (pxe_default_paths[i]) {
-               if (get_pxelinux_path(pxe_default_paths[i],
+               if (get_pxelinux_path(cmdtp, pxe_default_paths[i],
                                      (void *)pxefile_addr_r) > 0) {
                        printf("Config file found\n");
                        return 0;
@@ -388,7 +388,7 @@ do_pxe_get(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
  *
  * Returns 1 on success or < 0 on error.
  */
-static int get_relfile_envaddr(const char *file_path, const char *envaddr_name)
+static int get_relfile_envaddr(cmd_tbl_t *cmdtp, const char *file_path, const char *envaddr_name)
 {
        unsigned long file_addr;
        char *envaddr;
@@ -401,7 +401,7 @@ static int get_relfile_envaddr(const char *file_path, const char *envaddr_name)
        if (strict_strtoul(envaddr, 16, &file_addr) < 0)
                return -EINVAL;
 
-       return get_relfile(file_path, (void *)file_addr);
+       return get_relfile(cmdtp, file_path, (void *)file_addr);
 }
 
 /*
@@ -599,7 +599,7 @@ static int label_boot(cmd_tbl_t *cmdtp, struct pxe_label *label)
        }
 
        if (label->initrd) {
-               if (get_relfile_envaddr(label->initrd, "ramdisk_addr_r") < 0) {
+               if (get_relfile_envaddr(cmdtp, label->initrd, "ramdisk_addr_r") < 0) {
                        printf("Skipping %s for failure retrieving initrd\n",
                                        label->name);
                        return 1;
@@ -613,7 +613,7 @@ static int label_boot(cmd_tbl_t *cmdtp, struct pxe_label *label)
                bootm_argv[2] = "-";
        }
 
-       if (get_relfile_envaddr(label->kernel, "kernel_addr_r") < 0) {
+       if (get_relfile_envaddr(cmdtp, label->kernel, "kernel_addr_r") < 0) {
                printf("Skipping %s for failure retrieving kernel\n",
                                label->name);
                return 1;
@@ -673,7 +673,7 @@ static int label_boot(cmd_tbl_t *cmdtp, struct pxe_label *label)
 
        /* if fdt label is defined then get fdt from server */
        if (bootm_argv[3] && label->fdt) {
-               if (get_relfile_envaddr(label->fdt, "fdt_addr_r") < 0) {
+               if (get_relfile_envaddr(cmdtp, label->fdt, "fdt_addr_r") < 0) {
                        printf("Skipping %s for failure retrieving fdt\n",
                                        label->name);
                        return 1;
@@ -950,7 +950,7 @@ static int parse_integer(char **c, int *dst)
        return 1;
 }
 
-static int parse_pxefile_top(char *p, struct pxe_menu *cfg, int nest_level);
+static int parse_pxefile_top(cmd_tbl_t *cmdtp, char *p, struct pxe_menu *cfg, int nest_level);
 
 /*
  * Parse an include statement, and retrieve and parse the file it mentions.
@@ -960,7 +960,7 @@ static int parse_pxefile_top(char *p, struct pxe_menu *cfg, int nest_level);
  * include, nest_level has already been incremented and doesn't need to be
  * incremented here.
  */
-static int handle_include(char **c, char *base,
+static int handle_include(cmd_tbl_t *cmdtp, char **c, char *base,
                                struct pxe_menu *cfg, int nest_level)
 {
        char *include_path;
@@ -975,14 +975,14 @@ static int handle_include(char **c, char *base,
                return err;
        }
 
-       err = get_pxe_file(include_path, base);
+       err = get_pxe_file(cmdtp, include_path, base);
 
        if (err < 0) {
                printf("Couldn't retrieve %s\n", include_path);
                return err;
        }
 
-       return parse_pxefile_top(base, cfg, nest_level);
+       return parse_pxefile_top(cmdtp, base, cfg, nest_level);
 }
 
 /*
@@ -995,7 +995,7 @@ static int handle_include(char **c, char *base,
  * nest_level should be 1 when parsing the top level pxe file, 2 when parsing
  * a file it includes, 3 when parsing a file included by that file, and so on.
  */
-static int parse_menu(char **c, struct pxe_menu *cfg, char *b, int nest_level)
+static int parse_menu(cmd_tbl_t *cmdtp, char **c, struct pxe_menu *cfg, char *b, int nest_level)
 {
        struct token t;
        char *s = *c;
@@ -1010,7 +1010,7 @@ static int parse_menu(char **c, struct pxe_menu *cfg, char *b, int nest_level)
                break;
 
        case T_INCLUDE:
-               err = handle_include(c, b + strlen(b) + 1, cfg,
+               err = handle_include(cmdtp, c, b + strlen(b) + 1, cfg,
                                                nest_level + 1);
                break;
 
@@ -1172,7 +1172,7 @@ static int parse_label(char **c, struct pxe_menu *cfg)
  *
  * Returns 1 on success, < 0 on error.
  */
-static int parse_pxefile_top(char *p, struct pxe_menu *cfg, int nest_level)
+static int parse_pxefile_top(cmd_tbl_t *cmdtp, char *p, struct pxe_menu *cfg, int nest_level)
 {
        struct token t;
        char *s, *b, *label_name;
@@ -1194,7 +1194,7 @@ static int parse_pxefile_top(char *p, struct pxe_menu *cfg, int nest_level)
                switch (t.type) {
                case T_MENU:
                        cfg->prompt = 1;
-                       err = parse_menu(&p, cfg, b, nest_level);
+                       err = parse_menu(cmdtp, &p, cfg, b, nest_level);
                        break;
 
                case T_TIMEOUT:
@@ -1219,7 +1219,7 @@ static int parse_pxefile_top(char *p, struct pxe_menu *cfg, int nest_level)
                        break;
 
                case T_INCLUDE:
-                       err = handle_include(&p, b + ALIGN(strlen(b), 4), cfg,
+                       err = handle_include(cmdtp, &p, b + ALIGN(strlen(b), 4), cfg,
                                                        nest_level + 1);
                        break;
 
@@ -1276,7 +1276,7 @@ static void destroy_pxe_menu(struct pxe_menu *cfg)
  * files it includes). The resulting pxe_menu struct can be free()'d by using
  * the destroy_pxe_menu() function.
  */
-static struct pxe_menu *parse_pxefile(char *menucfg)
+static struct pxe_menu *parse_pxefile(cmd_tbl_t *cmdtp, char *menucfg)
 {
        struct pxe_menu *cfg;
 
@@ -1289,7 +1289,7 @@ static struct pxe_menu *parse_pxefile(char *menucfg)
 
        INIT_LIST_HEAD(&cfg->labels);
 
-       if (parse_pxefile_top(menucfg, cfg, 1) < 0) {
+       if (parse_pxefile_top(cmdtp, menucfg, cfg, 1) < 0) {
                destroy_pxe_menu(cfg);
                return NULL;
        }
@@ -1446,7 +1446,7 @@ do_pxe_boot(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                return 1;
        }
 
-       cfg = parse_pxefile((char *)(pxefile_addr_r));
+       cfg = parse_pxefile(cmdtp, (char *)(pxefile_addr_r));
 
        if (cfg == NULL) {
                printf("Error parsing config file\n");
@@ -1544,12 +1544,12 @@ int do_sysboot(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                return 1;
        }
 
-       if (get_pxe_file(filename, (void *)pxefile_addr_r) < 0) {
+       if (get_pxe_file(cmdtp, filename, (void *)pxefile_addr_r) < 0) {
                printf("Error reading config file\n");
                return 1;
        }
 
-       cfg = parse_pxefile((char *)(pxefile_addr_r));
+       cfg = parse_pxefile(cmdtp, (char *)(pxefile_addr_r));
 
        if (cfg == NULL) {
                printf("Error parsing config file\n");
index 75eb23adf2fd01fcfa192cb5a862f5ffdd538614..8d59364b63653aee6e84b9cb89d72df1fff2e130 100644 (file)
@@ -10,7 +10,7 @@
 static int do_sandbox_load(cmd_tbl_t *cmdtp, int flag, int argc,
                           char * const argv[])
 {
-       return do_load(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX, 16);
+       return do_load(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX);
 }
 
 static int do_sandbox_ls(cmd_tbl_t *cmdtp, int flag, int argc,
@@ -22,7 +22,7 @@ static int do_sandbox_ls(cmd_tbl_t *cmdtp, int flag, int argc,
 static int do_sandbox_save(cmd_tbl_t *cmdtp, int flag, int argc,
                           char * const argv[])
 {
-       return do_save(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX, 16);
+       return do_save(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX);
 }
 
 static cmd_tbl_t cmd_sandbox_sub[] = {
index 1fc080b9b57f47494ce32105851fc146e454d84e..926339b9f17d2e2e1c856979276dbb9b944817dc 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright 2008 Freescale Semiconductor, Inc.
  * Copyright 2013 Wolfgang Denk <wd@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 317ba50fd19503c3ef473b742f2b2ad3a7483aa8..dc488b2b3e5705d307eea7914b6a8471296f6caa 100644 (file)
@@ -5,7 +5,7 @@
  *
  * (C) Copyright 2003 Stefan Roese, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 5ba4feb485bd40faaa9a474588006abdd0e50eb5..122ba7e171c1da4b9238bb3db2e967a156b39d95 100644 (file)
@@ -167,7 +167,7 @@ bad:
        return err;
 }
 
-static int ubi_create_vol(char *volume, int size, int dynamic)
+static int ubi_create_vol(char *volume, int64_t size, int dynamic)
 {
        struct ubi_mkvol_req req;
        int err;
@@ -191,7 +191,7 @@ static int ubi_create_vol(char *volume, int size, int dynamic)
                printf("verify_mkvol_req failed %d\n", err);
                return err;
        }
-       printf("Creating %s volume %s of size %d\n",
+       printf("Creating %s volume %s of size %lld\n",
                dynamic ? "dynamic" : "static", volume, size);
        /* Call real ubi create volume */
        return ubi_create_volume(ubi, &req);
@@ -266,28 +266,15 @@ out_err:
        return err;
 }
 
-int ubi_volume_write(char *volume, void *buf, size_t size)
+int ubi_volume_continue_write(char *volume, void *buf, size_t size)
 {
        int err = 1;
-       int rsvd_bytes = 0;
        struct ubi_volume *vol;
 
        vol = ubi_find_volume(volume);
        if (vol == NULL)
                return ENODEV;
 
-       rsvd_bytes = vol->reserved_pebs * (ubi->leb_size - vol->data_pad);
-       if (size < 0 || size > rsvd_bytes) {
-               printf("size > volume size! Aborting!\n");
-               return EINVAL;
-       }
-
-       err = ubi_start_update(ubi, vol, size);
-       if (err < 0) {
-               printf("Cannot start volume update\n");
-               return -err;
-       }
-
        err = ubi_more_update_data(ubi, vol, buf, size);
        if (err < 0) {
                printf("Couldnt or partially wrote data\n");
@@ -314,6 +301,37 @@ int ubi_volume_write(char *volume, void *buf, size_t size)
        return 0;
 }
 
+int ubi_volume_begin_write(char *volume, void *buf, size_t size,
+       size_t full_size)
+{
+       int err = 1;
+       int rsvd_bytes = 0;
+       struct ubi_volume *vol;
+
+       vol = ubi_find_volume(volume);
+       if (vol == NULL)
+               return ENODEV;
+
+       rsvd_bytes = vol->reserved_pebs * (ubi->leb_size - vol->data_pad);
+       if (size < 0 || size > rsvd_bytes) {
+               printf("size > volume size! Aborting!\n");
+               return EINVAL;
+       }
+
+       err = ubi_start_update(ubi, vol, full_size);
+       if (err < 0) {
+               printf("Cannot start volume update\n");
+               return -err;
+       }
+
+       return ubi_volume_continue_write(volume, buf, size);
+}
+
+int ubi_volume_write(char *volume, void *buf, size_t size)
+{
+       return ubi_volume_begin_write(volume, buf, size, size);
+}
+
 int ubi_volume_read(char *volume, char *buf, size_t size)
 {
        int err, lnum, off, len, tbuf_size;
@@ -498,7 +516,7 @@ int ubi_part(char *part_name, const char *vid_header_offset)
 
 static int do_ubi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
-       size_t size = 0;
+       int64_t size = 0;
        ulong addr = 0;
 
        if (argc < 2)
@@ -558,13 +576,13 @@ static int do_ubi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                }
                /* E.g., create volume size */
                if (argc == 4) {
-                       size = simple_strtoul(argv[3], NULL, 16);
+                       size = simple_strtoull(argv[3], NULL, 16);
                        argc--;
                }
                /* Use maximum available size */
                if (!size) {
-                       size = ubi->avail_pebs * ubi->leb_size;
-                       printf("No size specified -> Using max size (%u)\n", size);
+                       size = (int64_t)ubi->avail_pebs * ubi->leb_size;
+                       printf("No size specified -> Using max size (%lld)\n", size);
                }
                /* E.g., create volume */
                if (argc == 3)
@@ -588,9 +606,22 @@ static int do_ubi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                addr = simple_strtoul(argv[2], NULL, 16);
                size = simple_strtoul(argv[4], NULL, 16);
 
-               ret = ubi_volume_write(argv[3], (void *)addr, size);
+               if (strlen(argv[1]) == 10 &&
+                   strncmp(argv[1] + 5, ".part", 5) == 0) {
+                       if (argc < 6) {
+                               ret = ubi_volume_continue_write(argv[3],
+                                               (void *)addr, size);
+                       } else {
+                               size_t full_size;
+                               full_size = simple_strtoul(argv[5], NULL, 16);
+                               ret = ubi_volume_begin_write(argv[3],
+                                               (void *)addr, size, full_size);
+                       }
+               } else {
+                       ret = ubi_volume_write(argv[3], (void *)addr, size);
+               }
                if (!ret) {
-                       printf("%d bytes written to volume %s\n", size,
+                       printf("%lld bytes written to volume %s\n", size,
                               argv[3]);
                }
 
@@ -613,7 +644,7 @@ static int do_ubi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                }
 
                if (argc == 3) {
-                       printf("Read %d bytes from volume %s to %lx\n", size,
+                       printf("Read %lld bytes from volume %s to %lx\n", size,
                               argv[3], addr);
 
                        return ubi_volume_read(argv[3], (char *)addr, size);
@@ -636,6 +667,8 @@ U_BOOT_CMD(
                " - create volume name with size\n"
        "ubi write[vol] address volume size"
                " - Write volume from address with size\n"
+       "ubi write.part address volume size [fullsize]\n"
+               " - Write part of a volume from address\n"
        "ubi read[vol] address volume [size]"
                " - Read volume to address with size\n"
        "ubi remove[vol] volume"
index ad156138453e47d2754481ada3215e09ce7eb73c..c9310363f10edb53ea1b81e910fd41dc7b0ba513 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2003 Stefan Roese, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 1ac337730c3ec0d1f467e951497cfa1c5be16c6b..c0bfc2f5db3b3efebb7c039747b54abc186c1acc 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Andreas Heppel <aheppel@sysgo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 5f21d5c38e5b2c8eb7041c178ebe47e57420bb7e..b53b87e95874bb0c9299db2eb2d0bfab6b044aac 100644 (file)
@@ -29,11 +29,25 @@ uchar env_get_char_spec(int index)
 
 void env_relocate_spec(void)
 {
+       ulong crc, new = 0;
+       unsigned off;
        char buf[CONFIG_ENV_SIZE];
 
+       /* Read old CRC */
+       read_dataflash(CONFIG_ENV_ADDR + offsetof(env_t, crc),
+                      sizeof(ulong), (char *)&crc);
+
+       /* Read whole environment */
        read_dataflash(CONFIG_ENV_ADDR, CONFIG_ENV_SIZE, buf);
 
-       env_import(buf, 1);
+       /* Calculate the CRC */
+       off = offsetof(env_t, data);
+       new = crc32(new, (unsigned char *)(buf + off), ENV_SIZE);
+
+       if (crc == new)
+               env_import(buf, 1);
+       else
+               set_default_env("!bad CRC");
 }
 
 #ifdef CONFIG_ENV_OFFSET_REDUND
@@ -67,37 +81,9 @@ int saveenv(void)
  */
 int env_init(void)
 {
-       ulong crc, len = ENV_SIZE, new = 0;
-       unsigned off;
-       uchar buf[64];
-
-       if (gd->env_valid)
-               return 0;
-
-       AT91F_DataflashInit();  /* prepare for DATAFLASH read/write */
-
-       /* read old CRC */
-       read_dataflash(CONFIG_ENV_ADDR + offsetof(env_t, crc),
-               sizeof(ulong), (char *)&crc);
-
-       off = offsetof(env_t, data);
-       while (len > 0) {
-               int n = (len > sizeof(buf)) ? sizeof(buf) : len;
-
-               read_dataflash(CONFIG_ENV_ADDR + off, n, (char *)buf);
-
-               new = crc32(new, buf, n);
-               len -= n;
-               off += n;
-       }
-
-       if (crc == new) {
-               gd->env_addr    = offsetof(env_t, data);
-               gd->env_valid   = 1;
-       } else {
-               gd->env_addr    = (ulong)&default_environment[0];
-               gd->env_valid   = 0;
-       }
+       /* use default */
+       gd->env_addr = (ulong)&default_environment[0];
+       gd->env_valid = 1;
 
        return 0;
 }
index 149370f8348046d2b87a305aa0af503a306c0123..0dcdd1fc80883913719d5ba5beeb93c7c4d62783 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Andreas Heppel <aheppel@sysgo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 91d8ba308d2e9e68aaa800587b1995e71b8b3999..1c4f915b79681da08dd38a5e5caf5d4ffa6068ee 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Erik Theisen,  Wave 7 Optics, etheisen@mindspring.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASSEMBLY__
index e114921c4ac9499da31f2f37e96a57048ab935f5..708fd13dc72b25eba1bb3e2a86c0fe7a4706f37d 100644 (file)
@@ -4,7 +4,7 @@
  * Author:
  *  Maximilian Schwerin <mvs@tigris.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index d4a0e18c3d43b0e8d87156893049bddd992cad0c..7d5a4cfc8aa31d58e0ddf8d79061b87e27dc5b21 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Andreas Heppel <aheppel@sysgo.de>
 
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* #define DEBUG */
index 65aafa9cac26472abc4d9707e88d42361eadef5f..045428c6ec96038e8aec0ee9d15b3561219e0233 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2008-2011 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* #define DEBUG */
@@ -192,11 +192,12 @@ void env_relocate_spec(void)
        u32 offset1, offset2;
        int read1_fail = 0, read2_fail = 0;
        int crc1_ok = 0, crc2_ok = 0;
-       env_t *ep, *tmp_env1, *tmp_env2;
+       env_t *ep;
        int ret;
 
-       tmp_env1 = (env_t *)malloc(CONFIG_ENV_SIZE);
-       tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE);
+       ALLOC_CACHE_ALIGN_BUFFER(env_t, tmp_env1, 1);
+       ALLOC_CACHE_ALIGN_BUFFER(env_t, tmp_env2, 1);
+
        if (tmp_env1 == NULL || tmp_env2 == NULL) {
                puts("Can't allocate buffers for environment\n");
                ret = 1;
@@ -266,8 +267,6 @@ err:
        if (ret)
                set_default_env(NULL);
 
-       free(tmp_env1);
-       free(tmp_env2);
 #endif
 }
 #else /* ! CONFIG_ENV_OFFSET_REDUND */
index 75309621b03bc743554835ebc4f5b7058b5cc258..695a9eebb01e68e3f11a7a545d96ac68507eebbc 100644 (file)
@@ -11,7 +11,7 @@
  * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Andreas Heppel <aheppel@sysgo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index c411e8cfe7bb49b0c41b0cf35471d31e67522f92..bdc1ed5e6769ec7873d29117ea4d7b6f9c5eac1c 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Andreas Heppel <aheppel@sysgo.de>
 
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 49144220b18f17a052f10ea677fbd7f767a589f4..0866cde924b658f37419e42df61624afefb9e297 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Andreas Heppel <aheppel@sysgo.de>
 
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 1b6609b909429574b33a83da850e76373b444536..eb977ee1fe81a2b3398b5c27f94f7f95eef2a299 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2011-2012 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* #define DEBUG */
index f24a96c3e9cf93ee94eedb8719536a98808cebd1..c0828a47d3214131c9156157fe7c53aaf5f2e6cd 100644 (file)
@@ -2,7 +2,7 @@
  * (c) Copyright 2012 by National Instruments,
  *        Joe Hershberger <joe.hershberger@ni.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index cf4da45707522635d1f4f2ba3f4e2f9eacdae961..62bdec61aaf79deb9c6477dab015b7fb3e9b6392 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Gary Jennejohn, DENX Software Engineering GmbH, garyj@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 990650c7ef3f388c3db6c5bb7fbae2d059355fce..5dd79481212ab272568cc4df824923a63fdcdaa8 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2001-2002
  * Wolfgang Denk, DENX Software Engineering -- wd@denx.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************/
index ae37fee46d984370a2ae994432ccaf52333acf33..6f475f0cca812ea8b69d5b3842819f1d9fa04ff3 100644 (file)
@@ -365,7 +365,7 @@ static void process_boot_delay(void)
 #ifdef CONFIG_BOOTCOUNT_LIMIT
        if (bootlimit && (bootcount > bootlimit)) {
                printf ("Warning: Bootlimit (%u) exceeded. Using altbootcmd.\n",
-                       (unsigned)bootlimit);
+                       (unsigned)bootlimit);
                s = getenv ("altbootcmd");
        }
        else
index 48913f6659f101e9009d54b5886bab44f0fafccd..91a8f2406b56d505413f2b3be7be17560ad73b35 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -320,7 +320,7 @@ endif
 
 # Linus' kernel sanity checking tool
 CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
-                  -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ $(CF)
+                 -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ $(CF)
 
 # Location of a usable BFD library, where we define "usable" as
 # "built for ${HOST}, supports ${TARGET}".  Sensible values are
index 524da10fd084dbcd623090dfcd21413605950253..0f04e97e2c834cac6a04b9349a3f6b0d8f43232b 100644 (file)
@@ -3,7 +3,7 @@
  * Hans-Joerg Frieden, Hyperion Entertainment
  * Hans-JoergF@hyperion-entertainment.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _DISK_PART_AMIGA_H
index e0608e0925129abb1513a5957831a6f0a5e7cbd4..0321d922b7178c020f54c4c62a8f22bec8165f7a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _DISK_PART_DOS_H
index 80c1d95d59d81d16202615387535d36174c1ef64..2547c703db54d02dd12ae891ec299042b4906e94 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index e5a3e0220f062befd458ea89fd271089d47715d4..dace0f87dc94c52275aba689c232f34c083cc8e2 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef _PART_CD_H
 #define _PART_CD_H
index 521e8bc0e9b7144e0e378ab2808ccaccbb3d8ce3..29b79d7cd11e5c83b24601add7c70c10365a7a4d 100644 (file)
@@ -134,7 +134,7 @@ build_main_index = rm -rf $(main_idx); \
 quiet_cmd_db2html = HTML    $@
       cmd_db2html = xmlto html $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \
                echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \
-        $(patsubst %.html,%,$(notdir $@))</a><p>' > $@
+       $(patsubst %.html,%,$(notdir $@))</a><p>' > $@
 
 %.html:        %.xml
        @(which xmlto > /dev/null 2>&1) || \
@@ -143,7 +143,7 @@ quiet_cmd_db2html = HTML    $@
        @rm -rf $@ $(patsubst %.html,%,$@)
        $(call cmd_db2html)
        @if [ ! -z "$(PNG-$(basename $(notdir $@)))" ]; then \
-            cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi
+           cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi
 
 quiet_cmd_db2man = MAN     $@
       cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; gzip -f $(obj)/man/*.9; fi
index 41f3bd786084a46a4321c946e040ac1d4038b757..cf8373b54e826c8877acca3382e21cf9ed3e7197 100644 (file)
@@ -27,4 +27,3 @@ Take AT91SAM9X5EK as an example, the board definition file likes:
 #define CONFIG_ATMEL_NAND_HW_PMECC     1
 #define CONFIG_PMECC_CAP               2
 #define CONFIG_PMECC_SECTOR_SIZE       512
-
index e4fabc90ce830313d50c429730dd03baac0c8ae8..ff58a79e490a94502f4951cf0792ec97f80a8a48 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Dave Ellis, SIXNET, dge@sixnetio.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 Using autoboot configuration options
index bd10a6df041185b27264b196b9a9816d4922ed5b..48ece4b835d6330d6d695ec80e14abd7278dbc52 100644 (file)
@@ -5,7 +5,7 @@ The B4860QDS is a Freescale reference board that hosts the B4860 SoC (and varian
 B4860 Overview
 -------------
 The B4860 QorIQ Qonverge device is a Freescale high-end, multicore SoC based on
-StarCore and Power Architecture® cores. It targets the broadband wireless 
+StarCore and Power Architecture® cores. It targets the broadband wireless
 infrastructure and builds upon the proven success of the existing multicore
 DSPs and Power CPUs. It is designed to bolster the rapidly changing and
 expanding wireless markets, such as 3GLTE (FDD and TDD), LTE-Advanced, and UMTS.
@@ -99,11 +99,11 @@ B4420 Personality
 B4420 Personality
 --------------------
 B4420 is a reduced personality of B4860 with less core/clusters(both SC3900 and e6500), less DDR
-controllers, less serdes lanes, less SGMII interfaces and reduced target frequencies. 
+controllers, less serdes lanes, less SGMII interfaces and reduced target frequencies.
 
 Key differences between B4860 and B4420
 ----------------------------------------
+
 B4420 has:
 1. Less e6500 cores: 1 cluster with 2 e6500 cores
 2. Less SC3900 cores/clusters: 1 cluster with 2 SC3900 cores per cluster.
@@ -130,7 +130,7 @@ Note: Boot location: NOR flash.
 SysClk/Core(e6500)/CCB/DDR/FMan/DDRCLK/StarCore/CPRI-Maple/eTVPE-Maple/ULB-Maple
 66MHz/1.6GHz/667MHz/1.6GHz data rate/667MHz/133MHz/1200MHz/500MHz/800MHz/667MHz
 
-a) NAND boot   
+a) NAND boot
        SW1 [1.1] = 0
        SW2 [1.1] = 1
        SW3 [1:4] = 0001
@@ -155,7 +155,7 @@ Note: Boot location: NOR flash.
 SysClk/Core(e6500)/CCB/DDR/FMan/DDRCLK/StarCore/CPRI-Maple/eTVPE-Maple/ULB-Maple
 66MHz/1.6GHz/667MHz/1.6GHz data rate/667MHz/133MHz/1200MHz/500MHz/800MHz/667MHz
 
-a) NAND boot   
+a) NAND boot
        SW1 [1.1] = 0
        SW2 [1.1] = 1
        SW3 [1:4] = 0001
@@ -246,7 +246,7 @@ Various Software configurations/environment variables/commands
 --------------------------------------------------------------
 The below commands apply to both B4860QDS and B4420QDS.
 
-1. U-boot environment variable hwconfig 
+1. U-boot environment variable hwconfig
    The default hwconfig is:
        hwconfig=fsl_ddr:ctlr_intlv=null,bank_intlv=cs0_cs1;usb1:
                                        dr_mode=host,phy_type=ulpi
@@ -258,7 +258,7 @@ The below commands apply to both B4860QDS and B4420QDS.
 3. Switching to alternate bank
    Commands for switching to alternate bank.
 
-       1. To change from vbank0 to vbank2 
+       1. To change from vbank0 to vbank2
                => qixis_reset altbank (it will boot using vbank2)
 
        2.To change from vbank2 to vbank0
@@ -269,7 +269,7 @@ The below commands apply to both B4860QDS and B4420QDS.
        1)Boot from vbank0
        2)Flash vbank2 with b4420 rcw and u-boot
        3)Give following commands to uboot prompt
-          => mw.b ffdf0040 0x30; 
+          => mw.b ffdf0040 0x30;
           => mw.b ffdf0010 0x00;
           => mw.b ffdf0062 0x02;
           => mw.b ffdf0050 0x02;
@@ -283,32 +283,32 @@ The below commands apply to both B4860QDS and B4420QDS.
 
    To change from NOR to NAND boot give following command on uboot prompt
        => mw.b ffdf0040 0x30
-       => mw.b ffdf0010 0x00 
+       => mw.b ffdf0010 0x00
        => mw.b 0xffdf0050 0x08
        => mw.b 0xffdf0060 0x82
        => mw.b ffdf0061 0x00
-       => mw.b ffdf0010 0x30   
+       => mw.b ffdf0010 0x30
        => reset
 
    To change from NAND to NOR boot give following command on uboot prompt:
        => mw.b ffdf0040 0x30
-       => mw.b ffdf0010 0x00 
+       => mw.b ffdf0010 0x00
        => mw.b 0xffdf0050 0x00(for vbank0) or (mw.b 0xffdf0050 0x02 for vbank2)
        => mw.b 0xffdf0060 0x12
        => mw.b ffdf0061 0x01
-       => mw.b ffdf0010 0x30   
+       => mw.b ffdf0010 0x30
        => reset
 
    Note: Power off cycle will lead to default switch settings.
    Note: 0xffdf0000 is the address of the QIXIS FPGA.
 
-6.  Ethernet interfaces for B4860QDS 
+6.  Ethernet interfaces for B4860QDS
    Serdes protocosl tested:
    0x2a, 0x8d (serdes1, serdes2) [DEFAULT]
    0x2a, 0xb2 (serdes1, serdes2)
 
    When using [DEFAULT] RCW, which including 2 * 1G SGMII on board and 2 * 1G
-   SGMII on SGMII riser card. 
+   SGMII on SGMII riser card.
    Under U-boot these network interfaces are recognized as:
    FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5 and FM1@DTSEC6.
 
@@ -318,7 +318,7 @@ The below commands apply to both B4860QDS and B4420QDS.
        . eth4 -> fm1-gb4
        . eth5 -> fm1-gb5
 
-7. RCW and Ethernet interfaces for B4420QDS 
+7. RCW and Ethernet interfaces for B4420QDS
    Serdes protocosl tested:
    0x18, 0x9e (serdes1, serdes2)
 
index b7d0ad3930d042c89b23e49ba1a933824f2632ce..9a2de5088b9a1ce14eae3902f6cd292a83cc4fcc 100644 (file)
@@ -28,30 +28,30 @@ Steps to test:
 
 1. After applying the patch, ext4 specific commands can be seen
    in the boot loader prompt using
-        UBOOT #help
+       UBOOT #help
 
-        ext4load- load binary file from a Ext4 file system
-        ext4ls  - list files in a directory (default /)
-        ext4write- create a file in ext4 formatted partition
+       ext4load- load binary file from a Ext4 file system
+       ext4ls  - list files in a directory (default /)
+       ext4write- create a file in ext4 formatted partition
 
 2. To list the files in ext4 formatted partition, execute
-        ext4ls <interface> <dev[:part]> [directory]
-        For example:
-        UBOOT #ext4ls mmc 0:5 /usr/lib
+       ext4ls <interface> <dev[:part]> [directory]
+       For example:
+       UBOOT #ext4ls mmc 0:5 /usr/lib
 
 3. To read and load a file from an ext4 formatted partition to RAM, execute
-        ext4load <interface> <dev[:part]> [addr] [filename] [bytes]
-        For example:
-        UBOOT #ext4load mmc 2:2 0x30007fc0 uImage
+       ext4load <interface> <dev[:part]> [addr] [filename] [bytes]
+       For example:
+       UBOOT #ext4load mmc 2:2 0x30007fc0 uImage
 
 4. To write a file to a ext4 formatted partition.
-        a) First load a file to RAM at a particular address for example 0x30007fc0.
-        Now execute ext4write command
-        ext4write <interface> <dev[:part]> [filename] [Address] [sizebytes]
-        For example:
-        UBOOT #ext4write mmc 2:2 /boot/uImage 0x30007fc0 6183120
-        (here 6183120 is the size of the file to be written)
-        Note: Absolute path is required for the file to be written
+       a) First load a file to RAM at a particular address for example 0x30007fc0.
+       Now execute ext4write command
+       ext4write <interface> <dev[:part]> [filename] [Address] [sizebytes]
+       For example:
+       UBOOT #ext4write mmc 2:2 /boot/uImage 0x30007fc0 6183120
+       (here 6183120 is the size of the file to be written)
+       Note: Absolute path is required for the file to be written
 
 References :
        -- ext4 implementation in Linux Kernel
index 81dfe584c5d16cd55e3db608051c544af3cd1011..5c133f3321f6e31975192857d247d8d3053956f3 100644 (file)
@@ -6,7 +6,6 @@
 #
 # SPDX-License-Identifier:     GPL-2.0+
 
-
 Glossary:
 ========
 - UUID -(Universally Unique Identifier)
@@ -22,7 +21,6 @@ Introduction:
 This document describes the GPT partition table format and usage of
 the gpt command in u-boot.
 
-
 UUID introduction:
 ====================
 
@@ -78,7 +76,6 @@ GPT brief explanation:
        LBA -1         |Secondary GPT Header             |
        ----------------------------------------------------------
 
-
 For a legacy reasons, GPT's LBA 0 sector has a MBR structure. It is called
 "protective MBR".
 Its first partition entry ID has 0xEE value, and disk software, which is not
@@ -114,7 +111,6 @@ Offset  Size    Description
 TOTAL: 512 B
 
 
-
 IMPORTANT:
 
 GPT headers and partition entries are protected by CRC32 (the POSIX CRC32).
@@ -132,7 +128,6 @@ sizeof(partition_entry_size (usually 128)))
 Observe, how Secondary GPT is placed in the memory. It is NOT a mirror reflect
 of the Primary.
 
-
           Partition Entry Format:
           ----------------------
           Offset  Size    Description
@@ -150,7 +145,6 @@ of the Primary.
           Bit 62 - Hidden
           Bit 63 - Not mount
 
-
 Creating GPT partitions in U-Boot:
 ==============
 
@@ -171,7 +165,6 @@ To restore GUID partition table one needs to:
 2. From u-boot prompt type:
    gpt write mmc 0 $partitions
 
-
 Useful info:
 ============
 
index e91c387b51ed6df1f21c8491258ff0dcb324557d..8ed708c35695f8124a838fe4ba62c515c020ff34 100644 (file)
@@ -40,9 +40,9 @@ Board specific configuration file specifications:
 ------------------------------------------------
 1. This file must present in the $(BOARDDIR).  The default name is
        kwbimage.cfg.  The name can be set as part of the full path
-        to the file using CONFIG_SYS_KWD_CONFIG (probably in
-        include/configs/<yourboard>.h).   The path should look like:
-        $(SRCTREE)/$(CONFIG_BOARDDIR)/<yourkwbimagename>.cfg
+       to the file using CONFIG_SYS_KWD_CONFIG (probably in
+       include/configs/<yourboard>.h).   The path should look like:
+       $(SRCTREE)/$(CONFIG_BOARDDIR)/<yourkwbimagename>.cfg
 2. This file can have empty lines and lines starting with "#" as first
        character to put comments
 3. This file can have configuration command lines as mentioned below,
index 97f8b7d743d63895d8eddd54764e986773c33cfc..43e64a2797ded0b94e6b3865b01752172ac1cef1 100644 (file)
@@ -20,7 +20,7 @@ Data Size:    327680 Bytes = 320.00 kB = 0.31 MB
 Load Address: 177ff420
 Entry Point:  17800000
 HAB Blocks:   177ff400 00000000 0004dc00
-              ^^^^^^^^ ^^^^^^^^ ^^^^^^^^
+             ^^^^^^^^ ^^^^^^^^ ^^^^^^^^
                |       |          |
                |       |          -------- (1)
                |       |
index 88a2caf3e62ab8bb7600ee6f1176d9bcec230a8a..0d31cba1fb5a3ed7b6d0a12000bb2bc9e0d9e4ab 100644 (file)
@@ -10,7 +10,7 @@ The mxsimage tool is targeted to be a simple replacement for the elftosb2 .
 To generate an image, write an image configuration file and run:
 
  mkimage -A arm -O u-boot -T mxsimage -n <path to configuration file> \
-         <output bootstream file>
+        <output bootstream file>
 
 The output bootstream file is usually using the .sb file extension. Note
 that the example configuration files for producing bootable BootStream with
@@ -54,33 +54,33 @@ These semantics and rules will be outlined now.
 
       LOAD     u32_address string_filename
       - Instructs the BootROM to load file pointed by "string_filename" onto
-        address "u32_address".
+       address "u32_address".
 
       LOAD IVT u32_address u32_IVT_entry_point
       - Crafts and loads IVT onto address "u32_address" with the entry point
-        of u32_IVT_entry_point.
+       of u32_IVT_entry_point.
       - i.MX28-specific instruction!
 
       LOAD DCD u32_address u32_DCD_block_ID
       - Loads the DCD block with ID "u32_DCD_block_ID" onto address
-        "u32_address" and executes the contents of this DCD block
+       "u32_address" and executes the contents of this DCD block
       - i.MX28-specific instruction!
 
       FILL u32_address u32_pattern u32_length
       - Starts to write memory from addres "u32_address" with a pattern
-        specified by "u32_pattern". Writes exactly "u32_length" bytes of the
+       specified by "u32_pattern". Writes exactly "u32_length" bytes of the
        pattern.
 
       JUMP [HAB] u32_address [u32_r0_arg]
       - Jumps onto memory address specified by "u32_address" by setting this
-        address in PT. The BootROM will pass the "u32_r0_arg" value in ARM
+       address in PT. The BootROM will pass the "u32_r0_arg" value in ARM
        register "r0" to the executed code if this option is specified.
        Otherwise, ARM register "r0" will default to value 0x00000000. The
        optional "HAB" flag is i.MX28-specific flag turning on the HAB boot.
 
       CALL [HAB] u32_address [u32_r0_arg]
       - See JUMP instruction above, as the operation is exactly the same with
-        one difference. The CALL instruction does allow returning into the
+       one difference. The CALL instruction does allow returning into the
        BootROM from the executed code. U-Boot makes use of this in it's SPL
        code.
 
@@ -88,10 +88,10 @@ These semantics and rules will be outlined now.
       - Restart the CPU and start booting from device specified by the
        "string_mode" argument. The "string_mode" differs for each CPU
        and can be:
-         i.MX23, string_mode = USB/I2C/SPI1_FLASH/SPI2_FLASH/NAND_BCH
-                               JTAG/SPI3_EEPROM/SD_SSP0/SD_SSP1
-         i.MX28, string_mode = USB/I2C/SPI2_FLASH/SPI3_FLASH/NAND_BCH
-                               JTAG/SPI2_EEPROM/SD_SSP0/SD_SSP1
+        i.MX23, string_mode = USB/I2C/SPI1_FLASH/SPI2_FLASH/NAND_BCH
+                              JTAG/SPI3_EEPROM/SD_SSP0/SD_SSP1
+        i.MX28, string_mode = USB/I2C/SPI2_FLASH/SPI3_FLASH/NAND_BCH
+                              JTAG/SPI2_EEPROM/SD_SSP0/SD_SSP1
 
   - An optional "DCD" blocks can be added at the begining of the configuration
     file. Note that the DCD is only supported on i.MX28.
@@ -99,7 +99,7 @@ These semantics and rules will be outlined now.
       configuration file.
     - The DCD block has the following semantics:
 
-        DCD u32_DCD_block_ID
+       DCD u32_DCD_block_ID
        - u32_DCD_block_ID      :: The ID number of the DCD block, must match
                                   the ID number used by "LOAD DCD" instruction.
 
index a8fdfcd372a2bed49ee34b93e7200ed5fae737d3..586ed7c1cc0c956794f27789de9f92feab93a870 100644 (file)
@@ -62,7 +62,7 @@ Available additional commands/variables:
  * run trymmcscriptboot - Try to load and boot script ${mmcscriptfile}
  * run trymmckernboot - Try to load and boot kernel image ${mmckernfile}
  * run trymmckerninitrdboot - Try to load and boot kernel image ${mmckernfile}
-                              with initrd image ${mmcinitrdfile}
+                             with initrd image ${mmcinitrdfile}
 
 Additional variables for loading files from mmc:
 
index dee63d713a87f9c1f579ce6178fbf5c4488571ac..6b2b5ff3fbf7c9167925ba236230a349c5f38f7c 100644 (file)
@@ -185,7 +185,6 @@ Switch from NAND to NOR boot with Core/CCB/DDR (800/400/667 MHz):
        => reset
 
 
-
 Boot Linux from network using TFTP on P1010RDB
 ==============================================
 Place uImage, p1010rdb.dtb and rootfs files in the TFTP disk area.
index 1fdfbab67747a502fdda615767f8c87b8597bbcf..a192752f4dd7e50f97d92d3ec9cbd5cc1bb5980a 100644 (file)
@@ -15,7 +15,6 @@ recent qemu versions. When using emulated flash, launch with
 -pflash <filename> and erase mips_bios.bin.
 
 
-
 Notes for the Qemu MIPS port
 ----------------------------
 
index 8ed45fb46d11558fde117eb80da6aafcead4d463..5cc546a36ff68143e473e7357f19e4d5716f4936 100644 (file)
@@ -23,11 +23,11 @@ methods could be handy.
    the board.And then execute the bootloader from DDR.
    Some usecases where this may be used:
       - While developing some new feature of u-boot, for example USB driver or
-        SPI driver.
-        Suppose the board already has a working bootloader on it. And you would
-        prefer to keep it intact, at the same time want to test your bootloader.
-        In this case you can get your test bootloader binary into DDR via tftp
-        for example. Then execute the test bootloader.
+       SPI driver.
+       Suppose the board already has a working bootloader on it. And you would
+       prefer to keep it intact, at the same time want to test your bootloader.
+       In this case you can get your test bootloader binary into DDR via tftp
+       for example. Then execute the test bootloader.
      - Suppose a platform already has a propreitery bootloader which does not
        support for example AMP boot. In this case also RAM boot loader can be
        utilized.
index 8106290ed9f59206779109446b0bce35abda64fd..f0c9699773c13d4ad1641402797f4b8f386e4659 100644 (file)
@@ -63,20 +63,20 @@ In:    serial
 Out:   serial
 Err:   serial
 =>trace stats
-        671,406 function sites
-         69,712 function calls
-              0 untracked function calls
-         73,373 traced function calls
-             16 maximum observed call depth
-             15 call depth limit
-         66,491 calls not traced due to depth
+       671,406 function sites
+        69,712 function calls
+             0 untracked function calls
+        73,373 traced function calls
+            16 maximum observed call depth
+            15 call depth limit
+        66,491 calls not traced due to depth
 =>trace stats
-        671,406 function sites
+       671,406 function sites
       1,279,450 function calls
-              0 untracked function calls
-        950,490 traced function calls (333217 dropped due to overflow)
-             16 maximum observed call depth
-             15 call depth limit
+             0 untracked function calls
+       950,490 traced function calls (333217 dropped due to overflow)
+            16 maximum observed call depth
+            15 call depth limit
       1,275,767 calls not traced due to depth
 =>trace calls 0 e00000
 Call list dumped to 00000000, size 0xae0a40
index 3cf4ef232d3883b5451ec992c543689f3f24ccab..9efab6cdc998ad078438d2813bd4db2431f73728 100644 (file)
@@ -14,6 +14,8 @@ ubi part [part] [offset]
 ubi info [l[ayout]] - Display volume and ubi layout information
 ubi create[vol] volume [size] [type] - create volume name with size
 ubi write[vol] address volume size - Write volume from address with size
+ubi write.part address volume size [fullsize]
+ - Write part of a volume from address
 ubi read[vol] address volume [size] - Read volume to address with size
 ubi remove[vol] volume - Remove volume
 [Legends]
@@ -77,6 +79,7 @@ ubi createvol Create UBI volume on UBI device
 ubi removevol  Remove UBI volume from UBI device
 ubi read       Read data from UBI volume to memory
 ubi write      Write data from memory to UBI volume
+ubi write.part Write data from memory to UBI volume, in parts
 
 
 Here a few examples on the usage:
@@ -185,8 +188,8 @@ ubifsls [directory]
 For example:
 
 => ubifsls
-            17442  Thu Jan 01 02:57:38 1970  imx28-evk.dtb
-          2998146  Thu Jan 01 02:57:43 1970  zImage
+           17442  Thu Jan 01 02:57:38 1970  imx28-evk.dtb
+         2998146  Thu Jan 01 02:57:43 1970  zImage
 
 
 And the ubifsload command allows you to load a file from a UBI
index f5998f2f887751fb0e4cf50df771098c78ada5d5..7f237c4076ff2cf87379389d971c2864bd130561 100644 (file)
@@ -7,20 +7,20 @@ Steps to test:
 
 1. After applying the patch, zfs specific commands can be seen
    in the boot loader prompt using
-        UBOOT #help
+       UBOOT #help
 
-        zfsload- load binary file from a ZFS file system
-        zfsls  - list files in a directory (default /)
+       zfsload- load binary file from a ZFS file system
+       zfsls  - list files in a directory (default /)
 
 2. To list the files in zfs pool, device or partition, execute
-        zfsls <interface> <dev[:part]> [POOL/@/dir/file]
-        For example:
-        UBOOT #zfsls mmc 0:5 /rpool/@/usr/bin/
+       zfsls <interface> <dev[:part]> [POOL/@/dir/file]
+       For example:
+       UBOOT #zfsls mmc 0:5 /rpool/@/usr/bin/
 
 3. To read and load a file from an ZFS formatted partition to RAM, execute
-        zfsload <interface> <dev[:part]> [addr] [filename] [bytes]
-        For example:
-        UBOOT #zfsload mmc 2:2 0x30007fc0 /rpool/@/boot/uImage
+       zfsload <interface> <dev[:part]> [addr] [filename] [bytes]
+       For example:
+       UBOOT #zfsload mmc 2:2 0x30007fc0 /rpool/@/boot/uImage
 
 References :
        -- ZFS GRUB sources from Solaris GRUB-0.97
index b42ec69c941df96f62b0f450436f1da97286d560..ffbbdf3a7a1112541c8727be15ced6afc58e5500 100644 (file)
@@ -218,7 +218,6 @@ II) Approach
   in near future.
 
 
-
 III) Analysis of in-tree drivers
 --------------------------------
 
index 4e1318871a8d9f7f6f329800d6394158e42f85dd..60323335b83e98ffa849dbe1fe055a091ecab5da 100644 (file)
@@ -94,12 +94,12 @@ Pavel Herrmann <morpheus.ibis@gmail.com>
     driver_activate(instance *inst);
       This call will recursively activate all devices necessary for using the
       specified device. the code could be simplified as:
-        {
-        if (is_activated(inst))
-          return;
-        driver_activate(inst->bus);
-        get_driver(inst)->probe(inst);
-        }
+       {
+       if (is_activated(inst))
+         return;
+       driver_activate(inst->bus);
+       get_driver(inst)->probe(inst);
+       }
 
       The case with multiple parents will need to be handled here as well.
       get_driver is an accessor to available drivers, which will get struct
@@ -107,12 +107,12 @@ Pavel Herrmann <morpheus.ibis@gmail.com>
 
     i2c_write(instance *inst, ...);
       An actual call to some method of the driver. This code will look like:
-        {
-        driver_activate(inst);
-        struct instance *core = get_core_instance(CORE_I2C);
-        device_ops = get_ops(inst);
-        device_ops->write(...);
-        }
+       {
+       driver_activate(inst);
+       struct instance *core = get_core_instance(CORE_I2C);
+       device_ops = get_ops(inst);
+       device_ops->write(...);
+       }
 
       get_ops will not be an exported function, it will be internal and specific
       to the core, as it needs to know how are the ops stored, and what type
index 185f477b06362be3f4224787b61c1249a440f088..9f03bbaad377b70762813dbf2e4c5bbd29190931 100644 (file)
@@ -87,7 +87,7 @@ III) The drivers
   of the cores.
 
   FIXME: Should *cores[] be really struct driver, pointing to drivers that
-         represent the cores? Shouldn't it be core instance pointer?
+        represent the cores? Shouldn't it be core instance pointer?
 
   2) Instantiation of a driver
   ----------------------------
@@ -101,7 +101,7 @@ III) The drivers
   functions.
 
   FIXME: We need some functions that will return list of busses of certain type
-         registered with the system so the user can find proper instance even if
+        registered with the system so the user can find proper instance even if
         he has no bus pointer (this will come handy if the user isn't
         registering the driver from board init function, but somewhere else).
 
@@ -183,12 +183,12 @@ III) The drivers
   int driver_bind(struct instance *in)
   {
        ...
-        core_bind(&core_i2c_static_instance, in, i2c_bus_funcs);
-        ...
+       core_bind(&core_i2c_static_instance, in, i2c_bus_funcs);
+       ...
   }
 
   FIXME: What if we need to run-time determine, depending on some hardware
-         register, what kind of i2c_bus_funcs to pass?
+        register, what kind of i2c_bus_funcs to pass?
 
   This makes the i2c core aware of a new bus. The i2c_bus_funcs is a constant
   structure of functions any i2c bus driver must provide to work. This will
@@ -196,7 +196,7 @@ III) The drivers
   the pointer to the instance of a core this driver provides function to.
 
   FIXME: Maybe replace "core-i2c" with CORE_I2C global pointer to an instance of
-         the core?
+        the core?
 
   4) The instantiation of a core driver
   -------------------------------------
index 8ff0a965c7003d0edd7b33dd144e641c211837b4..87554dde68f47e270e769cc7732cba87a1b4bde5 100644 (file)
@@ -56,11 +56,11 @@ II) Approach
 
   struct gpio_driver_ops {
     int  (*gpio_request)(struct instance *i, unsigned gpio,
-                         const char *label);
+                        const char *label);
     int  (*gpio_free)(struct instance *i, unsigned gpio);
     int  (*gpio_direction_input)(struct instance *i, unsigned gpio);
     int  (*gpio_direction_output)(struct instance *i, unsigned gpio,
-                                  int value);
+                                 int value);
     int  (*gpio_get_value)(struct instance *i, unsigned gpio);
     void (*gpio_set_value)(struct instance *i, unsigned gpio, int value);
   }
index cc5d529c3b539966e67273d10e971965f976320e..9048cc0f005a9a44b01cebd8788edd2c4f641b59 100644 (file)
@@ -36,15 +36,15 @@ II) Approach
   In the UDM each hwmon driver would register itself by a function
 
     int hwmon_device_register(struct instance *i,
-                              struct hwmon_device_ops *o);
+                             struct hwmon_device_ops *o);
 
   The structure being defined as follows:
 
     struct hwmon_device_ops {
-        int  (*read)(struct instance *i, int sensor, int reg);
-        int  (*write)(struct instance *i, int sensor, int reg,
-                      int val);
-        int  (*get_temp)(struct instance *i, int sensor);
+       int  (*read)(struct instance *i, int sensor, int reg);
+       int  (*write)(struct instance *i, int sensor, int reg,
+                     int val);
+       int  (*get_temp)(struct instance *i, int sensor);
     };
 
 
index bed430643bf4a3ce8eb1a3f3158197eaefe586e2..1f07d874ea2b7e492039f064d9ddd742cede912b 100644 (file)
@@ -107,7 +107,7 @@ struct mmc {
 
   /* DRIVER: Function used to submit command to the card */
   int (*send_cmd)(struct mmc *mmc,
-                  struct mmc_cmd *cmd, struct mmc_data *data);
+                 struct mmc_cmd *cmd, struct mmc_data *data);
 
   /* DRIVER: Function used to configure the host */
   void (*set_ios)(struct mmc *mmc);
@@ -139,7 +139,7 @@ provided by the MMC driver:
 struct mmc_driver_ops {
   /* Function used to submit command to the card */
   int  (*send_cmd)(struct mmc *mmc,
-                  struct mmc_cmd *cmd, struct mmc_data *data);
+                 struct mmc_cmd *cmd, struct mmc_data *data);
   /* DRIVER: Function used to configure the host */
   void (*set_ios)(struct mmc *mmc);
   /* Function used to initialize the host */
@@ -206,7 +206,7 @@ struct mmc_card_props {
 The probe() function will then register the MMC driver by calling:
 
   mmc_device_register(struct instance *i, struct mmc_driver_ops *o,
-                                          struct mmc_driver_params *p);
+                                         struct mmc_driver_params *p);
 
 The struct mmc_driver_params will have to be dynamic in some cases, but the
 driver shouldn't modify it's contents elsewhere than in probe() call.
index 9ac1a5fbb585e34eb0b2378cc4c3b9c0501c2aa2..015c7737f6a23ffd3d55c76b58babb0c92db1ac6 100644 (file)
@@ -57,20 +57,20 @@ III) Analysis of in-tree drivers
   All methods of this file are moved to another location.
     void ftpmu010_32768osc_enable(void): Move to boards hacks
     void ftpmu010_mfpsr_select_dev(unsigned int dev): Move to board file
-                                                      arch/nds32/lib/board.c
+                                                     arch/nds32/lib/board.c
     void ftpmu010_mfpsr_diselect_dev(unsigned int dev): Dead code
     void ftpmu010_dlldis_disable(void): Dead code
     void ftpmu010_sdram_clk_disable(unsigned int cr0): Move to board file
-                                                       arch/nds32/lib/board.c
+                                                      arch/nds32/lib/board.c
     void ftpmu010_sdramhtc_set(unsigned int val): Move to board file
-                                                  arch/nds32/lib/board.c
+                                                 arch/nds32/lib/board.c
 
   2) twl4030.c
   ------------
   All methods of this file are moved to another location.
     void twl4030_power_reset_init(void): Move to board hacks
     void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val, u8 dev_grp,
-                                 u8 dev_grp_sel): Move to board hacks
+                                u8 dev_grp_sel): Move to board hacks
     void twl4030_power_init(void): Move to board hacks
     void twl4030_power_mmc_init(void): Move to board hacks
 
@@ -83,6 +83,6 @@ III) Analysis of in-tree drivers
     int twl6030_get_battery_voltage(void): Convert to new API
     void twl6030_init_battery_charging(void): Convert to new API
     void twl6030_power_mmc_init(): Move to board file
-                                   drivers/mmc/omap_hsmmc.c
+                                  drivers/mmc/omap_hsmmc.c
     void twl6030_usb_device_settings(): Move to board file
-                                        drivers/usb/musb/omap3.c
+                                       drivers/usb/musb/omap3.c
index 6aaeb86f2710bd09b6e6b2e03a8543c2296bd914..8391f387236ce4821bbffcc73153cbed1ff5349c 100644 (file)
@@ -12,15 +12,15 @@ U-Boot currently implements one common API for RTC devices. The interface
 is defined in include/rtc.h and comprises of functions and structures:
 
     struct rtc_time {
-        int tm_sec;
-        int tm_min;
-        int tm_hour;
-        int tm_mday;
-        int tm_mon;
-        int tm_year;
-        int tm_wday;
-        int tm_yday;
-        int tm_isdst;
+       int tm_sec;
+       int tm_min;
+       int tm_hour;
+       int tm_mday;
+       int tm_mon;
+       int tm_year;
+       int tm_wday;
+       int tm_yday;
+       int tm_isdst;
     };
 
     int rtc_get (struct rtc_time *);
@@ -42,14 +42,14 @@ II) Approach
   In the UDM each rtc driver would register itself by a function
 
     int rtc_device_register(struct instance *i,
-                            struct rtc_device_ops *o);
+                           struct rtc_device_ops *o);
 
   The structure being defined as follows:
 
     struct rtc_device_ops {
-        int  (*get_time)(struct instance *i, struct rtc_time *t);
-        int  (*set_time)(struct instance *i, struct rtc_time *t);
-        int  (*reset)(struct instance *i);
+       int  (*get_time)(struct instance *i, struct rtc_time *t);
+       int  (*set_time)(struct instance *i, struct rtc_time *t);
+       int  (*reset)(struct instance *i);
     };
 
 
index 7442a32bd0282610f9173da7e0b3f1b99f7212f2..6e6acc8787163ace4329c85093cd2b4ff5be134e 100644 (file)
@@ -15,12 +15,12 @@ I) Overview
 
   void spi_init(void);
   struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
-                                    unsigned int max_hz, unsigned int mode);
+                                   unsigned int max_hz, unsigned int mode);
   void spi_free_slave(struct spi_slave *slave);
   int  spi_claim_bus(struct spi_slave *slave);
   void spi_release_bus(struct spi_slave *slave);
   int  spi_xfer(struct spi_slave *slave, unsigned int bitlen,
-                const void *dout, void *din, unsigned long flags);
+               const void *dout, void *din, unsigned long flags);
   int  spi_cs_is_valid(unsigned int bus, unsigned int cs);
   void spi_cs_activate(struct spi_slave *slave);
   void spi_cs_deactivate(struct spi_slave *slave);
@@ -69,13 +69,13 @@ II) Approach
 
   struct ops {
     int  (*spi_request_bus)(struct instance *i, unsigned int bus,
-                            unsigned int cs, unsigned int max_hz,
-                            unsigned int mode);
+                           unsigned int cs, unsigned int max_hz,
+                           unsigned int mode);
     void (*spi_release_bus)(struct instance *i);
     int  (*spi_xfer) (struct instance *i, unsigned int bitlen,
-                      const void *dout, void *din, unsigned long flags);
+                     const void *dout, void *din, unsigned long flags);
     int  (*spi_cs_is_valid)(struct instance *i, unsigned int bus,
-                            unsigned int cs);
+                           unsigned int cs);
     void (*spi_cs_activate)(struct instance *i);
     void (*spi_cs_deactivate)(struct instance *i);
     void (*spi_set_speed)(struct instance *i, uint hz);
index a6c484f37c2980cdb6edddc96c47089afa4d2ed8..c0b1c90b29603dbd1e6b4fb55a5b1d539f01937d 100644 (file)
@@ -17,29 +17,29 @@ Each device that wants to register with STDIO subsystem has to define struct
 stdio_dev, defined in include/stdio_dev.h and containing the following fields:
 
 struct stdio_dev {
-        int     flags;                  /* Device flags: input/output/system */
-        int     ext;                    /* Supported extensions              */
-        char    name[16];               /* Device name                       */
+       int     flags;                  /* Device flags: input/output/system */
+       int     ext;                    /* Supported extensions              */
+       char    name[16];               /* Device name                       */
 
 /* GENERAL functions */
 
-        int (*start) (void);            /* To start the device               */
-        int (*stop) (void);             /* To stop the device                */
+       int (*start) (void);            /* To start the device               */
+       int (*stop) (void);             /* To stop the device                */
 
 /* OUTPUT functions */
 
-        void (*putc) (const char c);    /* To put a char                     */
-        void (*puts) (const char *s);   /* To put a string (accelerator)     */
+       void (*putc) (const char c);    /* To put a char                     */
+       void (*puts) (const char *s);   /* To put a string (accelerator)     */
 
 /* INPUT functions */
 
-        int (*tstc) (void);             /* To test if a char is ready...     */
-        int (*getc) (void);             /* To get that char                  */
+       int (*tstc) (void);             /* To test if a char is ready...     */
+       int (*getc) (void);             /* To get that char                  */
 
 /* Other functions */
 
-        void *priv;                     /* Private extensions                */
-        struct list_head list;
+       void *priv;                     /* Private extensions                */
+       struct list_head list;
 };
 
 Currently used flags are DEV_FLAGS_INPUT, DEV_FLAGS_OUTPUT and DEV_FLAGS_SYSTEM,
@@ -139,13 +139,13 @@ II) Approach
   purpose. The following flags will be defined:
 
     STDIO_FLG_STDIN ..... This device will be used as an input device. All input
-                          from all devices with this flag set will be received
+                         from all devices with this flag set will be received
                          and passed to the upper layers.
     STDIO_FLG_STDOUT .... This device will be used as an output device. All
-                          output sent to stdout will be routed to all devices
+                         output sent to stdout will be routed to all devices
                          with this flag set.
     STDIO_FLG_STDERR .... This device will be used as an standard error output
-                          device. All output sent to stderr will be routed to
+                         device. All output sent to stderr will be routed to
                          all devices with this flag set.
 
   The "list" member of this structure allows to have a linked list of all
index 91a953a72e14443212831171a7912658acc566f8..0beff4a85726d38d7bad0030bde59dfd7626a366 100644 (file)
@@ -14,7 +14,7 @@ controlling it is very much based on this. The API is very simple:
   int tis_open(void);
   int tis_close(void);
   int tis_sendrecv(const u8 *sendbuf, size_t send_size,
-                         u8 *recvbuf, size_t *recv_len);
+                        u8 *recvbuf, size_t *recv_len);
 
 The command operating the TPM chip only provides operations to send and receive
 bytes from the chip.
index 7db328639fe63fd764519ab120002d0c31ee81d5..7948e5926053886e9797e7bfd485d50e861f602c 100644 (file)
@@ -41,13 +41,13 @@ II) Approach
   In the UDM each watchdog driver would register itself by a function
 
     int watchdog_device_register(struct instance *i,
-                                 const struct watchdog_device_ops *o);
+                                const struct watchdog_device_ops *o);
 
   The structure being defined as follows:
 
     struct watchdog_device_ops {
-        int (*disable)(struct instance *i);
-        void (*reset)(struct instance *i);
+       int (*disable)(struct instance *i);
+       void (*reset)(struct instance *i);
     };
 
   The watchdog_init() function will be dissolved into probe() function.
index 8cc9379b82c406ff4245a800c26520c2f79bff64..0daad364d728d0df8cf99b483e8bc2ceeaea11d0 100644 (file)
@@ -113,7 +113,7 @@ int __weak ahci_link_up(struct ahci_probe_ent *probe_ent, u8 port)
        int j = 0;
        u8 *port_mmio = (u8 *)probe_ent->port[port].port_mmio;
 
-       /* 
+       /*
         * Bring up SATA link.
         * SATA link bringup time is usually less than 1 ms; only very
         * rarely has it taken between 1-2 ms. Never seen it above 2 ms.
index 14363c9a5b883b93f8316d74479434c432e21cdd..717c0394ca42885daed39075d4de6dabe71fd266 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2012
  * Joe Hershberger <joe.hershberger@ni.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 8a1e22e8df4b9f97ac1b7e3f1e3d43f1ac3abf66..35fa0bb5043d0c0321d49c8e674063cad5e41d22 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2002 ELTEC Elektronik AG
  * Frank Gottschling <fgottschling@eltec.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* i8042.c - Intel 8042 keyboard driver routines */
index 6b71ad4f257c1d8cfb6d1a71ea7757d32e791a90..ed9adb21d6ad6b643f8b81e5461f579020f258a1 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2003
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 49c08145a7fa63296cdb79dc058af7108b64a72b..0a38fbef1414e9c03669bd0391c650bc43ee1dda 100644 (file)
@@ -217,11 +217,23 @@ int mtd_erase(struct mtd_info *mtd, struct erase_info *instr)
 int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
             u_char *buf)
 {
+       int ret_code;
        if (from < 0 || from > mtd->size || len > mtd->size - from)
                return -EINVAL;
        if (!len)
                return 0;
-       return mtd->_read(mtd, from, len, retlen, buf);
+
+       /*
+        * In the absence of an error, drivers return a non-negative integer
+        * representing the maximum number of bitflips that were corrected on
+        * any one ecc region (if applicable; zero otherwise).
+        */
+       ret_code = mtd->_read(mtd, from, len, retlen, buf);
+       if (unlikely(ret_code < 0))
+               return ret_code;
+       if (mtd->ecc_strength == 0)
+               return 0;       /* device lacks ecc */
+       return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0;
 }
 
 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
@@ -376,4 +388,3 @@ int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs)
                return -EROFS;
        return mtd->_block_markbad(mtd, ofs);
 }
-
index 9dfe7bbc9a9244dbb7e56f328b3046d2d2c3fbe0..146ce11eb1bafcfbb8f0add516c5675d0f166bc7 100644 (file)
@@ -53,12 +53,12 @@ static int part_read(struct mtd_info *mtd, loff_t from, size_t len,
 
        stats = part->master->ecc_stats;
        res = mtd_read(part->master, from + part->offset, len, retlen, buf);
-       if (unlikely(res)) {
-               if (mtd_is_bitflip(res))
-                       mtd->ecc_stats.corrected += part->master->ecc_stats.corrected - stats.corrected;
-               if (mtd_is_eccerr(res))
-                       mtd->ecc_stats.failed += part->master->ecc_stats.failed - stats.failed;
-       }
+       if (unlikely(mtd_is_eccerr(res)))
+               mtd->ecc_stats.failed +=
+                       part->master->ecc_stats.failed - stats.failed;
+       else
+               mtd->ecc_stats.corrected +=
+                       part->master->ecc_stats.corrected - stats.corrected;
        return res;
 }
 
index a7476b49bb0e5688d2b84fccb10f7cf6f14cac7a..29521359a50da56e1017e2580ab6e6e33b1bfd9d 100644 (file)
@@ -59,20 +59,20 @@ static int nand_load_image(uint32_t offs, unsigned int uboot_size, void *vdst)
        if (large) {
                fmr |= FMR_ECCM;
                out_be32(&regs->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) |
-                                    (NAND_CMD_READSTART << FCR_CMD1_SHIFT));
+                                    (NAND_CMD_READSTART << FCR_CMD1_SHIFT));
                out_be32(&regs->fir,
-                        (FIR_OP_CW0 << FIR_OP0_SHIFT) |
-                        (FIR_OP_CA  << FIR_OP1_SHIFT) |
-                        (FIR_OP_PA  << FIR_OP2_SHIFT) |
-                        (FIR_OP_CW1 << FIR_OP3_SHIFT) |
-                        (FIR_OP_RBW << FIR_OP4_SHIFT));
+                        (FIR_OP_CW0 << FIR_OP0_SHIFT) |
+                        (FIR_OP_CA  << FIR_OP1_SHIFT) |
+                        (FIR_OP_PA  << FIR_OP2_SHIFT) |
+                        (FIR_OP_CW1 << FIR_OP3_SHIFT) |
+                        (FIR_OP_RBW << FIR_OP4_SHIFT));
        } else {
                out_be32(&regs->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT);
                out_be32(&regs->fir,
-                        (FIR_OP_CW0 << FIR_OP0_SHIFT) |
-                        (FIR_OP_CA  << FIR_OP1_SHIFT) |
-                        (FIR_OP_PA  << FIR_OP2_SHIFT) |
-                        (FIR_OP_RBW << FIR_OP3_SHIFT));
+                        (FIR_OP_CW0 << FIR_OP0_SHIFT) |
+                        (FIR_OP_CA  << FIR_OP1_SHIFT) |
+                        (FIR_OP_PA  << FIR_OP2_SHIFT) |
+                        (FIR_OP_RBW << FIR_OP3_SHIFT));
        }
 
        out_be32(&regs->fbcr, 0);
index a0fe1e09ecdfee661c84982565d1ed5bbc8bf5dd..3ae0044f26e8ba42bbb429cc542e68a2e9fa4a45 100644 (file)
@@ -112,10 +112,10 @@ static void fun_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)
        fsl_upm_run_pattern(&fun->upm, fun->width, io_addr, mar);
 
        /*
-         * Some boards/chips needs this.  At least the MPC8360E-RDK
-         * needs it.  Probably weird chip, because I don't see any
-         * need for this on MPC8555E + Samsung K9F1G08U0A.  Usually
-         * here are 0-2 unexpected busy states per block read.
+        * Some boards/chips needs this.  At least the MPC8360E-RDK
+        * needs it.  Probably weird chip, because I don't see any
+        * need for this on MPC8555E + Samsung K9F1G08U0A.  Usually
+        * here are 0-2 unexpected busy states per block read.
         */
        if (fun->wait_flags & FSL_UPM_WAIT_RUN_PATTERN)
                fun_wait(fun);
index 9e05cef4179f3ddfc10e26f7e116f32c399364e2..1ce55fde8b7b9191e31f63c773f00a2d10fe3b0e 100644 (file)
@@ -1238,6 +1238,7 @@ static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
                mtd->oobavail : mtd->oobsize;
 
        uint8_t *bufpoi, *oob, *buf;
+       unsigned int max_bitflips = 0;
 
        stats = mtd->ecc_stats;
 
@@ -1265,7 +1266,10 @@ static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
 
                        chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page);
 
-                       /* Now read the page into the buffer */
+                       /*
+                        * Now read the page into the buffer.  Absent an error,
+                        * the read methods return max bitflips per ecc step.
+                        */
                        if (unlikely(ops->mode == MTD_OPS_RAW))
                                ret = chip->ecc.read_page_raw(mtd, chip, bufpoi,
                                                              oob_required,
@@ -1284,15 +1288,19 @@ static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
                                break;
                        }
 
+                       max_bitflips = max_t(unsigned int, max_bitflips, ret);
+
                        /* Transfer not aligned data */
                        if (!aligned) {
                                if (!NAND_HAS_SUBPAGE_READ(chip) && !oob &&
                                    !(mtd->ecc_stats.failed - stats.failed) &&
-                                   (ops->mode != MTD_OPS_RAW))
+                                   (ops->mode != MTD_OPS_RAW)) {
                                        chip->pagebuf = realpage;
-                               else
+                                       chip->pagebuf_bitflips = ret;
+                               } else {
                                        /* Invalidate page cache */
                                        chip->pagebuf = -1;
+                               }
                                memcpy(buf, chip->buffers->databuf + col, bytes);
                        }
 
@@ -1310,6 +1318,8 @@ static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
                } else {
                        memcpy(buf, chip->buffers->databuf + col, bytes);
                        buf += bytes;
+                       max_bitflips = max_t(unsigned int, max_bitflips,
+                                            chip->pagebuf_bitflips);
                }
 
                readlen -= bytes;
@@ -1341,7 +1351,7 @@ static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
        if (mtd->ecc_stats.failed - stats.failed)
                return -EBADMSG;
 
-       return  mtd->ecc_stats.corrected - stats.corrected ? -EUCLEAN : 0;
+       return max_bitflips;
 }
 
 /**
@@ -3272,7 +3282,7 @@ int nand_scan_tail(struct mtd_info *mtd)
 
        case NAND_ECC_NONE:
                pr_warn("NAND_ECC_NONE selected by board driver. "
-                       "This is not recommended !!\n");
+                       "This is not recommended !!\n");
                chip->ecc.read_page = nand_read_page_raw;
                chip->ecc.write_page = nand_write_page_raw;
                chip->ecc.read_oob = nand_read_oob_std;
index f856778b5e1a3209dbd962c7fc88aececb32b9bc..f3f0cb676dc96021005a608a9ff8d52c3bc2256a 100644 (file)
@@ -180,4 +180,3 @@ const struct nand_manufacturers nand_manuf_ids[] = {
        {NAND_MFR_EON, "Eon"},
        {0x0, "Unknown"}
 };
-
index d149a6dae67f4d89b1bbe72b4a4d18a951564c8d..5246bbf1ac28ab1b87e06551c3af32cfe01ea1bd 100644 (file)
@@ -142,8 +142,8 @@ int nand_erase_opts(nand_info_t *meminfo, const nand_erase_options_t *opts)
                        ops.mode = MTD_OPS_AUTO_OOB;
 
                        result = mtd_write_oob(meminfo,
-                                                   erase.addr,
-                                                   &ops);
+                                                   erase.addr,
+                                                   &ops);
                        if (result != 0) {
                                printf("\n%s: MTD writeoob failure: %d\n",
                                       mtd_device, result);
index ddfe7e7c756dbff2cb385d88e5bbc27b0a496369..067f8ef184b59356f00f1e955a21ce863accd642 100644 (file)
@@ -969,7 +969,8 @@ static int onenand_read_ops_nolock(struct mtd_info *mtd, loff_t from,
        if (mtd->ecc_stats.failed - stats.failed)
                return -EBADMSG;
 
-       return mtd->ecc_stats.corrected - stats.corrected ? -EUCLEAN : 0;
+       /* return max bitflips per ecc step; ONENANDs correct 1 bit only */
+       return mtd->ecc_stats.corrected != stats.corrected ? 1 : 0;
 }
 
 /**
index ab439b3e208578383252371071ca6e27cc966aae..f1bebf58c12816ff5e33890f3afc561437affbcd 100644 (file)
@@ -102,7 +102,7 @@ u32 crc32_le(u32 crc, unsigned char const *p, size_t len)
        if((len >= 4)){
                /* load data 32 bits wide, xor data 32 bits wide. */
                size_t save_len = len & 3;
-               len = len >> 2;
+               len = len >> 2;
                --b; /* use pre increment below(*++b) for speed */
                do {
                        crc ^= *++b;
@@ -200,7 +200,7 @@ u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len)
        if(likely(len >= 4)){
                /* load data 32 bits wide, xor data 32 bits wide. */
                size_t save_len = len & 3;
-               len = len >> 2;
+               len = len >> 2;
                --b; /* use pre increment below(*++b) for speed */
                do {
                        crc ^= *++b;
index 994ebf2fc9e699af29eaa392ac1336fb381eb155..799839c4f1d90bbd96fcfae67004570565446dca 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index ffb8ea01dcc43d0de421ad2569991b42f328467e..f7170e055460832011de5d8fb28f0a66d22a0f4f 100644 (file)
@@ -17,7 +17,7 @@ V0.11 06/20/2001      REG_0A bit3=1, default enable BP with DA match
                R17 = (R17 & 0xfff0) | NF
 
 v1.00                  modify by simon 2001.9.5
-                       change for kernel 2.4.x
+                       change for kernel 2.4.x
 
 v1.1   11/09/2001      fix force mode bug
 
index 8aefc14144426741bebcf880d32a777099a56a42..f869514f29511322ff3ff9414ccfa6c3f315e527 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2003
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -260,7 +260,7 @@ static int plb2800_eth_recv(struct eth_device *dev)
                        printf("Received %d bytes\n", length);
 #endif
                        NetReceive((void*)(NetRxPackets[rx_new]),
-                                   length - 4);
+                                   length - 4);
                }
                else
                {
index 987af39bc9290d27651255ca0183361daf856b08..0a5209d2f80592384c83858f2324adc469f32b11 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Michal SIMEK <monstr@monstr.eu>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index b3ed6eaaf6d6b264fd4bd973d3966fd323c1d27e..236a75311f3a9d7a1e2473362814f2c2b9a02071 100644 (file)
@@ -6,7 +6,7 @@
  * Based on Xilinx gmac driver:
  * (C) Copyright 2011 Xilinx
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 637d1ffb3e2d1e26b03e0f5a3496850a1c786707..4bf315da9b0503798a678dd44eb098c8e7cf33f7 100644 (file)
@@ -10,6 +10,7 @@ include $(TOPDIR)/config.mk
 LIB    := $(obj)libbattery.o
 
 COBJS-$(CONFIG_POWER_BATTERY_TRATS) += bat_trats.o
+COBJS-$(CONFIG_POWER_BATTERY_TRATS2) += bat_trats2.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)
diff --git a/drivers/power/battery/bat_trats2.c b/drivers/power/battery/bat_trats2.c
new file mode 100644 (file)
index 0000000..f264832
--- /dev/null
@@ -0,0 +1,65 @@
+/*
+ *  Copyright (C) 2013 Samsung Electronics
+ *  Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#include <common.h>
+#include <power/pmic.h>
+#include <power/battery.h>
+#include <power/max8997_pmic.h>
+#include <errno.h>
+
+static struct battery battery_trats;
+
+static int power_battery_charge(struct pmic *bat)
+{
+       struct power_battery *p_bat = bat->pbat;
+
+       if (bat->chrg->chrg_state(p_bat->chrg, CHARGER_ENABLE, 450))
+               return -1;
+
+       return 0;
+}
+
+static int power_battery_init_trats2(struct pmic *bat_,
+                                   struct pmic *fg_,
+                                   struct pmic *chrg_,
+                                   struct pmic *muic_)
+{
+       bat_->pbat->fg = fg_;
+       bat_->pbat->chrg = chrg_;
+       bat_->pbat->muic = muic_;
+
+       bat_->fg = fg_->fg;
+       bat_->chrg = chrg_->chrg;
+       bat_->chrg->chrg_type = muic_->chrg->chrg_type;
+       return 0;
+}
+
+static struct power_battery power_bat_trats2 = {
+       .bat = &battery_trats,
+       .battery_init = power_battery_init_trats2,
+       .battery_charge = power_battery_charge,
+};
+
+int power_bat_init(unsigned char bus)
+{
+       static const char name[] = "BAT_TRATS2";
+       struct pmic *p = pmic_alloc();
+
+       if (!p) {
+               printf("%s: POWER allocation error!\n", __func__);
+               return -ENOMEM;
+       }
+
+       debug("Board BAT init\n");
+
+       p->interface = PMIC_NONE;
+       p->name = name;
+       p->bus = bus;
+
+       p->pbat = &power_bat_trats2;
+       return 0;
+}
diff --git a/drivers/power/mfd/Makefile b/drivers/power/mfd/Makefile
new file mode 100644 (file)
index 0000000..76a05da
--- /dev/null
@@ -0,0 +1,33 @@
+#
+# Copyright (C) 2013 Samsung Electronics
+# Piotr Wilczek <p.wilczek@samsung.com>
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
+include $(TOPDIR)/config.mk
+
+LIB    := $(obj)libmfd.o
+
+COBJS-$(CONFIG_POWER_PMIC_MAX77693) += pmic_max77693.o
+COBJS-$(CONFIG_POWER_MUIC_MAX77693) += muic_max77693.o
+COBJS-$(CONFIG_POWER_FG_MAX77693) += fg_max77693.o
+
+COBJS  := $(COBJS-y)
+SRCS   := $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+
+all:   $(LIB)
+
+$(LIB):        $(obj).depend $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
+
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+########################################################################
diff --git a/drivers/power/mfd/fg_max77693.c b/drivers/power/mfd/fg_max77693.c
new file mode 100644 (file)
index 0000000..4519fed
--- /dev/null
@@ -0,0 +1,139 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ * Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#include <common.h>
+#include <power/pmic.h>
+#include <power/max77693_fg.h>
+#include <i2c.h>
+#include <power/power_chrg.h>
+#include <power/battery.h>
+#include <power/fg_battery_cell_params.h>
+#include <errno.h>
+
+static int max77693_get_vcell(u32 *vcell)
+{
+       u16 value;
+       u8 ret;
+
+       ret = i2c_read(MAX77693_FUEL_I2C_ADDR, MAX77693_VCELL, 1,
+                      (u8 *)&value, 2);
+       if (ret)
+               return ret;
+
+       *vcell = (u32)(value >> 3);
+       *vcell = *vcell * 625;
+
+       return 0;
+}
+
+static int max77693_get_soc(u32 *soc)
+{
+       u16 value;
+       u8 ret;
+
+       ret = i2c_read(MAX77693_FUEL_I2C_ADDR, MAX77693_VFSOC, 1,
+                      (u8 *)&value, 2);
+       if (ret)
+               return ret;
+
+       *soc = (u32)(value >> 8);
+
+       return 0;
+}
+
+static int power_update_battery(struct pmic *p, struct pmic *bat)
+{
+       struct power_battery *pb = bat->pbat;
+       int ret;
+
+       if (pmic_probe(p)) {
+               puts("Can't find max77693 fuel gauge\n");
+               return -1;
+       }
+
+       ret = max77693_get_soc(&pb->bat->state_of_chrg);
+       if (ret)
+               return ret;
+
+       max77693_get_vcell(&pb->bat->voltage_uV);
+       if (ret)
+               return ret;
+
+       return 0;
+}
+
+static int power_check_battery(struct pmic *p, struct pmic *bat)
+{
+       struct power_battery *pb = bat->pbat;
+       unsigned int val;
+       int ret = 0;
+
+       if (pmic_probe(p)) {
+               puts("Can't find max77693 fuel gauge\n");
+               return -1;
+       }
+
+       ret = pmic_reg_read(p, MAX77693_STATUS, &val);
+       if (ret)
+               return ret;
+       debug("fg status: 0x%x\n", val);
+
+       ret = pmic_reg_read(p, MAX77693_VERSION, &pb->bat->version);
+       if (ret)
+               return ret;
+
+       ret = power_update_battery(p, bat);
+       if (ret)
+               return ret;
+       debug("fg ver: 0x%x\n", pb->bat->version);
+       printf("BAT: state_of_charge(SOC):%d%%\n",
+              pb->bat->state_of_chrg);
+
+       printf("     voltage: %d.%6.6d [V] (expected to be %d [mAh])\n",
+              pb->bat->voltage_uV / 1000000,
+              pb->bat->voltage_uV % 1000000,
+              pb->bat->capacity);
+
+       if (pb->bat->voltage_uV > 3850000)
+               pb->bat->state = EXT_SOURCE;
+       else if (pb->bat->voltage_uV < 3600000 || pb->bat->state_of_chrg < 5)
+               pb->bat->state = CHARGE;
+       else
+               pb->bat->state = NORMAL;
+
+       return 0;
+}
+
+static struct power_fg power_fg_ops = {
+       .fg_battery_check = power_check_battery,
+       .fg_battery_update = power_update_battery,
+};
+
+int power_fg_init(unsigned char bus)
+{
+       static const char name[] = "MAX77693_FG";
+       struct pmic *p = pmic_alloc();
+
+       if (!p) {
+               printf("%s: POWER allocation error!\n", __func__);
+               return -ENOMEM;
+       }
+
+       debug("Board Fuel Gauge init\n");
+
+       p->name = name;
+       p->interface = PMIC_I2C;
+       p->number_of_regs = FG_NUM_OF_REGS;
+       p->hw.i2c.addr = MAX77693_FUEL_I2C_ADDR;
+       p->hw.i2c.tx_num = 2;
+       p->sensor_byte_order = PMIC_SENSOR_BYTE_ORDER_BIG;
+       p->bus = bus;
+
+       p->fg = &power_fg_ops;
+
+       return 0;
+}
diff --git a/drivers/power/mfd/muic_max77693.c b/drivers/power/mfd/muic_max77693.c
new file mode 100644 (file)
index 0000000..e71012d
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ * Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#include <common.h>
+#include <power/pmic.h>
+#include <power/power_chrg.h>
+#include <power/max77693_muic.h>
+#include <i2c.h>
+#include <errno.h>
+
+static int power_chrg_get_type(struct pmic *p)
+{
+       unsigned int val;
+       unsigned int charge_type, charger;
+
+       /* if probe failed, return cable none */
+       if (pmic_probe(p))
+               return CHARGER_NO;
+
+       pmic_reg_read(p, MAX77693_MUIC_STATUS2, &val);
+
+       charge_type = val & MAX77693_MUIC_CHG_MASK;
+
+       switch (charge_type) {
+       case MAX77693_MUIC_CHG_NO:
+               charger = CHARGER_NO;
+               break;
+       case MAX77693_MUIC_CHG_USB:
+       case MAX77693_MUIC_CHG_USB_D:
+               charger = CHARGER_USB;
+               break;
+       case MAX77693_MUIC_CHG_TA:
+       case MAX77693_MUIC_CHG_TA_1A:
+               charger = CHARGER_TA;
+               break;
+       case MAX77693_MUIC_CHG_TA_500:
+               charger = CHARGER_TA_500;
+               break;
+       default:
+               charger = CHARGER_UNKNOWN;
+               break;
+       }
+
+       return charger;
+}
+
+static struct power_chrg power_chrg_muic_ops = {
+       .chrg_type = power_chrg_get_type,
+};
+
+int power_muic_init(unsigned int bus)
+{
+       static const char name[] = "MAX77693_MUIC";
+       struct pmic *p = pmic_alloc();
+
+       if (!p) {
+               printf("%s: POWER allocation error!\n", __func__);
+               return -ENOMEM;
+       }
+
+       debug("Board Micro USB Interface Controller init\n");
+
+       p->name = name;
+       p->interface = PMIC_I2C;
+       p->number_of_regs = MUIC_NUM_OF_REGS;
+       p->hw.i2c.addr = MAX77693_MUIC_I2C_ADDR;
+       p->hw.i2c.tx_num = 1;
+       p->bus = bus;
+
+       p->chrg = &power_chrg_muic_ops;
+
+       return 0;
+}
diff --git a/drivers/power/mfd/pmic_max77693.c b/drivers/power/mfd/pmic_max77693.c
new file mode 100644 (file)
index 0000000..1a4416b
--- /dev/null
@@ -0,0 +1,96 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ * Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#include <common.h>
+#include <power/pmic.h>
+#include <power/max77693_pmic.h>
+#include <i2c.h>
+#include <errno.h>
+
+static int max77693_charger_state(struct pmic *p, int state, int current)
+{
+       unsigned int val;
+
+       if (pmic_probe(p))
+               return -1;
+
+       /* unlock write capability */
+       val = MAX77693_CHG_UNLOCK;
+       pmic_reg_write(p, MAX77693_CHG_CNFG_06, val);
+
+       if (state == CHARGER_DISABLE) {
+               puts("Disable the charger.\n");
+               pmic_reg_read(p, MAX77693_CHG_CNFG_00, &val);
+               val &= ~0x01;
+               pmic_reg_write(p, MAX77693_CHG_CNFG_00, val);
+               return -1;
+       }
+
+       if (current < CHARGER_MIN_CURRENT || current > CHARGER_MAX_CURRENT) {
+               printf("%s: Wrong charge current: %d [mA]\n",
+                      __func__, current);
+               return -1;
+       }
+
+       /* set charging current */
+       pmic_reg_read(p, MAX77693_CHG_CNFG_02, &val);
+       val &= ~MAX77693_CHG_CC;
+       val |= current * 10 / 333;      /* 0.1A/3 steps */
+       pmic_reg_write(p, MAX77693_CHG_CNFG_02, val);
+
+       /* enable charging */
+       val = MAX77693_CHG_MODE_ON;
+       pmic_reg_write(p, MAX77693_CHG_CNFG_00, val);
+
+       /* check charging current */
+       pmic_reg_read(p, MAX77693_CHG_CNFG_02, &val);
+       val &= 0x3f;
+       printf("Enable the charger @ %d [mA]\n", val * 333 / 10);
+
+       return 0;
+}
+
+static int max77693_charger_bat_present(struct pmic *p)
+{
+       unsigned int val;
+
+       if (pmic_probe(p))
+               return -1;
+
+       pmic_reg_read(p, MAX77693_CHG_INT_OK, &val);
+
+       return !(val & MAX77693_CHG_DETBAT);
+}
+
+static struct power_chrg power_chrg_pmic_ops = {
+       .chrg_bat_present = max77693_charger_bat_present,
+       .chrg_state = max77693_charger_state,
+};
+
+int pmic_init_max77693(unsigned char bus)
+{
+       static const char name[] = "MAX77693_PMIC";
+       struct pmic *p = pmic_alloc();
+
+       if (!p) {
+               printf("%s: POWER allocation error!\n", __func__);
+               return -ENOMEM;
+       }
+
+       debug("Board PMIC init\n");
+
+       p->name = name;
+       p->interface = PMIC_I2C;
+       p->number_of_regs = PMIC_NUM_OF_REGS;
+       p->hw.i2c.addr = MAX77693_PMIC_I2C_ADDR;
+       p->hw.i2c.tx_num = 1;
+       p->bus = bus;
+
+       p->chrg = &power_chrg_pmic_ops;
+
+       return 0;
+}
index 5de695384f1588dfa4e49dcd4ea90339ffa46c0a..21a2189e2753b8d2fffceecc41a5e3c2b4c780e6 100644 (file)
@@ -68,7 +68,7 @@ int rtc_set(struct rtc_time *tmp)
 
        /* Calculate number of seconds this incoming time represents */
        remain = mktime(tmp->tm_year, tmp->tm_mon, tmp->tm_mday,
-                       tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
+                       tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
 
        /* Figure out how many days since epoch */
        days = remain / NUM_SECS_IN_DAY;
index 11cc719828d6ac65499436a26473062b2df03ab5..c4d1259a898d2e885eea0d76a6f16ad1c07e7434 100644 (file)
@@ -73,7 +73,7 @@ int rtc_set(struct rtc_time *tmp)
 
        /* Calculate number of seconds this incoming time represents */
        tim = mktime(tmp->tm_year, tmp->tm_mon, tmp->tm_mday,
-                       tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
+                       tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
 
        RTC_WRITE_REG(RTC_LR, tim);
 
index 1a179beaddee28a9ee721690f930aa22f608541d..65f45ea5e3c3af9b542a8ee4b95f9398337fb234 100644 (file)
@@ -16,7 +16,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. 
+ * published by the Free Software Foundation.
  */
 
 #include <common.h>
index 348361a7fd078d1cbcc5f1a0f926faa2a7173c03..0d59c361513319f796ac6bf82671616d07b67625 100644 (file)
@@ -110,10 +110,10 @@ int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
                if (bitlen <= 16) {
                        if (bitlen <= 4)
                                spi->mode = (spi->mode & 0xff0fffff) |
-                                           (3 << 20);
+                                           (3 << 20);
                        else
                                spi->mode = (spi->mode & 0xff0fffff) |
-                                           ((bitlen - 1) << 20);
+                                           ((bitlen - 1) << 20);
                } else {
                        spi->mode = (spi->mode & 0xff0fffff);
                        /* Set up the next iteration if sending > 32 bits */
index 6bac245721fd650add4010d05cef86f071ad502a..e80be8eaac27741e3fa179fb228aa224f8c5ff22 100644 (file)
@@ -50,7 +50,7 @@ static void omap3_spi_write_chconf(struct omap3_spi_slave *ds, int val)
 static void omap3_spi_set_enable(struct omap3_spi_slave *ds, int enable)
 {
        writel(enable, &ds->regs->channel[ds->slave.cs].chctrl);
-        /* Flash post writes to make immediate effect */
+       /* Flash post writes to make immediate effect */
        readl(&ds->regs->channel[ds->slave.cs].chctrl);
 }
 
@@ -83,7 +83,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
                regs = (struct mcspi *)OMAP3_MCSPI2_BASE;
                break;
 #endif
-#ifdef OMAP3_MCSPI3_BASE 
+#ifdef OMAP3_MCSPI3_BASE
        case 2:
                regs = (struct mcspi *)OMAP3_MCSPI3_BASE;
                break;
@@ -253,9 +253,9 @@ int omap3_spi_write(struct spi_slave *slave, unsigned int len, const u8 *txp,
                writel(txp[i], &ds->regs->channel[ds->slave.cs].tx);
        }
 
-        /* wait to finish of transfer */
-        while (!(readl(&ds->regs->channel[ds->slave.cs].chstat) &
-                         OMAP3_MCSPI_CHSTAT_EOT));
+       /* wait to finish of transfer */
+       while (!(readl(&ds->regs->channel[ds->slave.cs].chstat) &
+                        OMAP3_MCSPI_CHSTAT_EOT));
 
        /* Disable the channel otherwise the next immediate RX will get affected */
        omap3_spi_set_enable(ds,OMAP3_MCSPI_CHCTRL_DIS);
@@ -359,7 +359,7 @@ int omap3_spi_txrx(struct spi_slave *slave,
                rxp[i] = readl(&ds->regs->channel[ds->slave.cs].rx);
        }
        /* Disable the channel */
-        omap3_spi_set_enable(ds,OMAP3_MCSPI_CHCTRL_DIS);
+       omap3_spi_set_enable(ds,OMAP3_MCSPI_CHCTRL_DIS);
 
        /*if transfer must be terminated disable the channel*/
        if (flags & SPI_XFER_END) {
index b34068a0bb3862f508c2822078f5beb5850f6ed3..6ecdea3e14c22e3443f01ea4bcf7cd086711d7a1 100644 (file)
@@ -9,7 +9,6 @@
  * SPDX-License-Identifier: GPL-2.0+   BSD-3-Clause
  */
 
-
 /*
  * The Mass Storage Function acts as a USB Mass Storage device,
  * appearing to the host as a disk drive or as a CD-ROM drive.  In
  * <http://www.usb.org/developers/devclass_docs/usbmass-ufi10.pdf>.
  */
 
-
 /*
  *                             Driver Design
  *
 
 static const char fsg_string_interface[] = "Mass Storage";
 
-
 #define FSG_NO_INTR_EP 1
 #define FSG_NO_DEVICE_STRINGS    1
 #define FSG_NO_OTG               1
@@ -2629,8 +2626,6 @@ usb_copy_descriptors(struct usb_descriptor_header **src)
        return ret;
 }
 
-
-
 static void fsg_unbind(struct usb_configuration *c, struct usb_function *f)
 {
        struct fsg_dev          *fsg = fsg_from_func(f);
index 7574e31a8f3e8d18fbf7cc0ce7c838f824f656a7..e6700a80fd0962053021f95129f7a0e6a8133822 100644 (file)
@@ -364,7 +364,7 @@ static void handle_ep_complete(struct mv_ep *ep)
                ep->desc = &ep0_out_desc;
        item = mv_get_qtd(num, in);
        mv_invalidate_qtd(num);
-       
+
        if (item->info & 0xff)
                printf("EP%d/%s FAIL nfo=%x pg0=%x\n",
                        num, in ? "in" : "out", item->info, item->page0);
index cead25dc5e591a10693bddfdab48eb16c5d980b8..7ff4ffd8800be674db0b36546c0a38260b9f885e 100644 (file)
@@ -16,7 +16,7 @@
  *     2.Original SL811 driver (hc_sl811.o) by Pei Liu <pbl@cypress.com>
  *     3.Rewrited as sl811.o by Yin Aihua <yinah:couragetech.com.cn>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index c23bef1cc279d39d6a0937a9364f992950127a2f..626af3e8cd2be04bda46baa5e49079379f472584 100644 (file)
@@ -36,4 +36,3 @@ include $(SRCTREE)/rules.mk
 sinclude $(obj).depend
 
 #########################################################################
-
index 8f5d700aa6d3fee131d257753c75d9bb8c67cbc2..6dcb336bbf043f2adaf79c562fbbeaa4844f73d5 100644 (file)
@@ -21,7 +21,7 @@
  *
  * ------------------------------------------------------------------------
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <twl4030.h>
index 065904555f77690877ff74682e91e8850303688c..9dd638bb9e454da11d225bfd8b2b6d687a91fb57 100644 (file)
@@ -92,7 +92,7 @@ static inline void radeon_engine_flush (struct radeonfb_info *rinfo)
 
        /* initiate flush */
        OUTREGP(RB2D_DSTCACHE_CTLSTAT, RB2D_DC_FLUSH_ALL,
-               ~RB2D_DC_FLUSH_ALL);
+               ~RB2D_DC_FLUSH_ALL);
 
        for (i=0; i < 2000000; i++) {
                if (!(INREG(RB2D_DSTCACHE_CTLSTAT) & RB2D_DC_BUSY))
index a3f7265df1348e8c75b97e00b9e65f0f363dc9e0..853303b5e53c35b7670b8a13ce01aaa700c32857 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2012 Atmel Corporation
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 4bc0f195fe25df1654556b55c3251037b70f89e8..3cf008ce6ba384987deba6e2d183e24eba7ad612 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2007 Atmel Corporation
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index fd2885573ca70538e6c7c23a8aa463ff455fd615..a2946c71f643032f6edc14890fdb4ab52a2b5c85 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2002 ELTEC Elektronik AG
  * Frank Gottschling <fgottschling@eltec.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index f5c34a980d28cf0047bbab674036d60345a4f45a..682483fc3206c40fa86dd04c8a9a8a9379e22b68 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index ef11b466f6566ad50854d5c220e464ffa0bc315b..bf0ea108e89352395abf40db3da0b92c11f8ccf1 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index ae2bcd646e54155df52b289669fab17768e1c76d..86516815204f0c70cb628e818f9ced165ea2c703 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _EXYNOS_EDP_LOWLEVEL_H
index 5c7ec9199b551fe992e2c289e8210df44cd74ece..7d4c6e092df53c7ba339036e0701af9aa6894beb 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index 00cf60c45fe9eb6959eb85bb3f0892b34c2ad808..2c2f94bd036bcfcd99632a133244420a48c4847f 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _EXYNOS_FB_H_
index 8c2de4ed2947914dc1d2288f6cb5cd94111a8274..f962c4f0a6e60b481ff01238ef44a4be9a670486 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
index 3e7158d30ec07ab36e84a27c4acc52fad676d7a4..8bb8feaa9cb23584a20eb60ddc711802f7be3c21 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 97e12484fd126d473f0774dbf9b8ff31c81af839..925d51500a5a500e948f0e45be97a0e820d35909 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index ef6510abdd8997484015447a2ff6f9d5fc721e78..98eb78e5f07dc707389a1f85ff1f4f8597d81ce4 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <linux/fb.h>
index 1313bcea4cfe88a7625ec978c0e77bee2426cff5..fcfdc8d1206d5f77b55fd79e65e31e65cadf8066 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 59f6ce09e40ce51dafebbe74a215ba343c883ae9..0bede25e4d15fa5354dfce9a9da4302ba4cce13d 100644 (file)
@@ -4,7 +4,7 @@
  * Author: InKi Dae <inki.dae@samsung.com>
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _EXYNOS_MIPI_DSI_LOWLEVEL_H
index f54b4834ff6e30d37d3a32633bbbfbbc28dbcec2..fceed871a71444a2d3d4b0be0d99bac177b6ce7d 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2002
  * Wolfgang Denk, DENX Software Engineering -- wd@denx.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************/
index 8ed52c0202be02e253a1ef4356ad1b96dddfb6c1..e19f6ac7d87ab6f7cdd331ab8e4c8b19c518bab1 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2001-2002
  * Wolfgang Denk, DENX Software Engineering -- wd@denx.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************/
index 0e97f511fdcfa4de21af43e88ff8e44d30e546e7..84948177e239c04319f0af65e6d9d1e9945cd66c 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Author: Donghwa Lee <dh09.lee@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index f324354c39d619b6e3741826729d9a0c56b0e8f9..2c906ecf1e48bfccb9edb82ee62f8f111d057187 100644 (file)
@@ -4,7 +4,7 @@
  * Pantelis Antoniou <panto@intracom.gr>
  * Intracom S.A.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index d459ef07e9d0f943fe66bb3eceea320ee4b0d51a..18c1f3d8acc0e90d27a90a3460bb2758827a3f58 100644 (file)
@@ -3,7 +3,7 @@
  * Pierre Aubert, Staubli Faverges , <p.aubert@staubli.com>
  * Copyright 2011 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index 9fbe50b0f861c75db038a608b55d253c8e577c4b..d83993a563ae1bf062c38ded938d6b92de922686 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004
  * Pierre Aubert, Staubli Faverges , <p.aubert@staubli.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index b3b5834bb6b157691c1e6bdd5f30e97330bb64d0..a6e54d9f77356a5d47b268ce597ef7dc7ff72c39 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2012 Samsung Electronics
  * Minkyu Kang <mk7.kang@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
index 9acf243eeff42bf88f56a23ef8d7258ac1f4692f..67f115f2e8aaba24f18494b8063f43d9b5e0db3d 100644 (file)
@@ -771,7 +771,7 @@ static int mount_ubifs(struct ubifs_info *c)
        dbg_msg("node sizes:          ref %zu, cmt. start %zu, orph %zu",
                UBIFS_REF_NODE_SZ, UBIFS_CS_NODE_SZ, UBIFS_ORPH_NODE_SZ);
        dbg_msg("max. node sizes:     data %zu, inode %zu dentry %zu",
-               UBIFS_MAX_DATA_NODE_SZ, UBIFS_MAX_INO_NODE_SZ,
+               UBIFS_MAX_DATA_NODE_SZ, UBIFS_MAX_INO_NODE_SZ,
                UBIFS_MAX_DENT_NODE_SZ);
        dbg_msg("dead watermark:      %d", c->dead_wm);
        dbg_msg("dark watermark:      %d", c->dark_wm);
index b8ba36be50602bf467a2d617aa5cb971a4b661a2..cc6f2b4d3b60f8b6f31d53ed8c367069bfa953c0 100644 (file)
@@ -6,7 +6,7 @@
  * No standalonw port yet available
  * - this file is included by both integratorap.h & integratorcp.h
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ARMCOREMODULE_H
index bed43168fe5c2f3d84aa117c0383720ece5b7620..409515f4989ce5cee3b382d0c2f4ecc370b1e5a2 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2009
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __COMMON_H_
index 37bcac32c72fbb660a9ac696e3c0f554ab263aed..7373c610825d1a9e75c76c2af2703db834641e8b 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001-2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 11051798b6970c1d2a07da9d050798380f25a3b9..b0206f5d79a65efb0a0a790bd7dc6039335fff61 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 54de966741549f5471bc68f4a818606e33f7a0ba..a93d0c1037ddb2a3149e63bd5fd8312585c6f140 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2003
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 1a159ad4abb2fea75ddf9039a660b7c4d736a558..302d93fbe2d3df8c443fe2214d6e64f864f423e8 100644 (file)
@@ -5,7 +5,7 @@
  * Support for Analogue&Micro Adder boards family.
  * Tested on AdderII and Adder87x.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIG_H
 #define __CONFIG_H
index b2435810b472ec6a3a0fb61a8c631745eb9a667b..ef76ce4cfc10d4a49b4d16ad1448bdc3a834ce07 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Provides support for USB console on the Analogue & Micro Adder87x
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ADDERUSB__
index 0c5091957fbef5792515271460399f995c37864a..fd9728ebdce8efb985656228a1c566b59c1c0d19 100644 (file)
@@ -13,7 +13,7 @@
  * History:
  *     1.1 - add define CONFIG_ZERO_BOOTDELAY_CHECK
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 3906863f05b20388e5d250694b68833efbd42c77..47aec5f06c1c355a0ec821de9af3b6f3d85be38b 100644 (file)
@@ -12,7 +12,7 @@
  *
  * Credits: Stefan Roese, Wolfgang Denk
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 323eac3fb4b4a963aaf2734970ed54d410071d4f..bd5d4e904b4f7f8de393a2e5bafd3e05316f9bf7 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Matthias Fuchs, esd gmbh germany, matthias.fuchs@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 9a083b7204d048256982febbce3f670d0cca43a8..a01592168d4cea51671b8849c7a73336b877c00f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index bd9fd6ee7bf4b58aef1a647e6ac3d58897d23bba..f522d45090fb77839b18e40a8de77bb058322660 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Matthias Fuchs, esd gmbh germany, matthias.fuchs@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 94ef16e06c3cece23eac75dc8a3ca3b65ba14c48..ca716a2a7d0bc3ccc747ed32357ce0248635d514 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 8383c1935997b8b627429f4f8d05266c236d08de..e11e85fc1bd52c9928c4ad4712abc7aecf8a5b7a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index ec9f5aec4a871e8c05082b0c6121fa6fb48a330a..44e691eaf2626de89596c6ce941bb9573574d8f0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2003
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index ba926abdc0329efe29ae3f1a9d6909cdecaf364a..746b07691233b95d8aa9f57c9c8feeea5f5374d0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index cd2fa9514f90ca5c896a86be77f7f367a512178b..0d561c7e85d7266693ec841e213fe967d2b9ff30 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 7bbcb77af7cfae8a030b706624e97ced426e49ca..d975f0daadd85ca537c3d4a90a5ef63b23ee607e 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index fa3efabea4713c8024cb6bccdcae86d1c8a21710..781a3b4d1d84bddaabf3004430d82d3f99533df6 100644 (file)
@@ -3,7 +3,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  * David Updegraff, Cray, Inc.  dave@cray.com: our 405 is walnut-lite..
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 /*
  * board/config.h - configuration options, board specific
index 2000a8880576fedece98caac9e1d3d45b077467f..bd230eceb039cbe9baf75d71b0b6359c122babae 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index e0f7e4672885fa837590aec5b131bc83ec7e7ad0..9f24eafd951370766ad70cf645287c9451340e64 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 872a2b4408b5ed774b903db2c398155b6d5801f0..8155caa5ed35721a034c5cfe4e6a6aa2cd2fe996 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2003
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 5b9e0d2f41ca5ca13c7a531978cbc1726242b148..b7764d4bc29c9462b6183ce8ab10696e0ba89856 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 08271132dc2e933a5704c4cefed57393683d83f2..5ffa6e4b449fce4fa1a6f016027ead4bed360efc 100644 (file)
        "flash_self=run ramargs addip addtty optargs;"                  \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${img};run nfsargs addip addtty optargs;"  \
-               "bootm\0"                                               \
+               "bootm\0"                                               \
        "rootpath=/tftpboot/du440/target_root_du440\0"                  \
        "img=/tftpboot/du440/uImage\0"                                  \
        "kernel_addr=FFC00000\0"                                        \
index 1d9d0df5a97e858e9ab775d13c12529a0232edad..6678fc21c7c07c2df050f7c510d320b1bf62d6e3 100644 (file)
@@ -5,7 +5,7 @@
  * Support for Embedded Planet EP88x boards.
  * Tested on EP88xC with MPC885 CPU, 64MB SDRAM and 16MB flash.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIG_H
 #define __CONFIG_H
index d1b9f97b2eb4be6f1e4a26b3ab3db781f2d5e1cb..c9cc0d075eb485d51fac547d6687cd9e672e6cc1 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index a5d1a9c9d3ce5271a95c1a031c8b056e7bf9179d..1c385f1097ea0db986dd20ceda77444a007df75a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 5a74abcd4108453b2f3d8a2191e8dea0b64b95dd..818e82d4f4fcefaf68c88b666a3e88b570682b7b 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index d20ca778709242032762c3dfbee8378b3e3f9192..a55c874cab8502f0a4a4db239b2a765982b0ea5c 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2006
  * Matthias Fuchs, esd GmbH, matthias.fuchs@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index ddeccb08686e0e197aaeab6b70bfb859bd994102..79ab64c18277a9e29e774e7e4d3157dcd0d2a8e9 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001, 2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* ------------------------------------------------------------------------- */
index cf796bf2d919dafe8feb182647852a977a8cfdd1..1906457f9fa388d0f56b8e786887cbdc524cabec 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2003
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index cbc8b5bbc155c474e30e8cc4b20d018051711015..1f5dfa84f5b6bf0b4b56fb608c430c386faba27c 100644 (file)
@@ -4,7 +4,7 @@
  * This file is based on similar values for other boards found in
  * other U-Boot config files, mainly tqm8260.h and mpc8260ads.h.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index b0287e2117c1afc529ee636a8272a31b56a28014..ca126ef346561112e7cc62f91f60f7e6887f13b4 100644 (file)
@@ -8,7 +8,7 @@
  * Derived from iSPAN 4539 port (iphase4539) by
  * Wolfgang Grandegger <wg@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIG_H
 #define __CONFIG_H
index df29c7d3f4f003970e83e68cffe002594d602e82..2d2394320c4fcf25754291a4543236d9fee14887 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 6439d99bf87f899120f17ec4df72a77e4859b276..0bea46c03c5e9fe4845badb4ae5dd026ff19e008 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003 Picture Elements, Inc.
  * Stephen Williams <steve@icarus.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 2cbb6eeb9c6ce60a87fab7b5904280426f6d0979..da447f5765f733a63d1afa5a25da549353af0e8b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2004 Sandburst Corporation
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index ef51e35df64bac85e49a044fc45a47359d6b7ecb..3b8e781c9fe4293bb1c05849fb6bc1d94ecddb0e 100644 (file)
@@ -3,7 +3,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  * Klaus Heydeck, Kieback & Peter GmbH & Co KG, heydeck@kieback-peter.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 6da07e7d06e2094e9c9b0ecf70a8f67c5b322f6e..748c8341acef3dce7a95b4dc99591ebd53738ad8 100644 (file)
@@ -3,7 +3,7 @@
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  * Klaus Heydeck, Kieback & Peter GmbH & Co KG, heydeck@kieback-peter.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index fe901ce6c2902a93fcbc8e1c8841183c6872ac5f..51919dbb3f190ac127f6b4dafb330073b5078e78 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2008 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _M5208EVBE_H
index 1d10f7f2a0c16b4bf42c9709c8c869ef18f05d8b..9aac7843920d8d01016da8c2ecdcc8d0418b3af8 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index aaaaa41a153e5d363a3fd40e889955f1bde32727..774db310e0b28c5d841e63ec4e56c6f25960d44a 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 2a1a904bb569226a7a7d9cc975de4eb6b93cd685..c6ebdc9f35df361346ba8a48ca3c29eb365c6cea 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 83122cf59f54d7f19eea7b2d19d7ef94dfb43b46..240bc7ed802731cc14e7e5bcf584a8e59b82a7d2 100644 (file)
@@ -1,7 +1,7 @@
 TABILITY or FITNESS FO04-2007 Freescale Semiconductor, Inc.
  * Hayden Fraser (Hayden.Fraser@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _M5253DEMO_H
index 109b1c0284acd9a808e210d451d4ba2ff26be722..629372a5f57689e83bcbaffcf7a82cc8c89fa38e 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  * Hayden Fraser (Hayden.Fraser@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _M5253EVBE_H
index a77cb24975bb365c0e19d57882b9b93776358403..b7b2e18e3e5e4857815691daf816c0101a2ca62e 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2006 Lab X Technologies <zachary.landau@labxtechnologies.com>
  * (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 434c839c737eb4d556586979f942d146b280a868..01d42ad6dcc642c5c7cb237ec1fd8944510336b2 100644 (file)
@@ -3,7 +3,7 @@
  *
  * (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index bacee0a8fa6475bce104e0722a77c130257f2506..f99a545fe6b86416ca419528dc163f0fd9cf2476 100644 (file)
@@ -7,7 +7,7 @@
  * Based off of M5272C3 board code by Josef Baumgartner
  * <josef.baumgartner@telex.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 0ced196489a3ac463dae0ef441581a5e935389b9..3bf5989f2bb18c9e14014eded799dbe583c1060a 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2008 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 86b06f4f16338d7ecbd829068846102b0c933b77..85b4435d8bbe03335b5ecf18053aae3371939c97 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index cca76097dc034ad62b895b1547f2f1e2aa4edd5a..ccb5d05f4e2c9a1335391fcf6b9ff8db8f770ea4 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2007, 2012 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index bc264276d4687a01942187efca325ae163c8d577..6271bdeebd754d00a5a07fdfd1cb09d011d44523 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2010-2012 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 72ad8366fb0d9e040b0b9757aa2399ceb40c498e..7fc5153c0f9caa053c7a298b77331c663565e102 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2008 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 3dc87d6f61a08feb49514dec716c6f5bb473c6db..d3e6457b125d20455cd9121321b1f056e159772c 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index dc38219c1d5a0998e348d809beda10961b8ef7a6..75c2b0748b78f48369888de4fdd1981771fb5fe4 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2008 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 0307f19ad2c43e488c4fd1c01a2cf1c3aecc2ee4..a15ee7dc132582126d9d2cad85af91c49c2aca92 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2004-2008 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 1e50032414bdfe8f037be99737a09b3f7dd11e2a..abb6baa401bce6d479defaa442d2a2263e364b94 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2004 Sandburst Corporation
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index 75eef20e589ba01715da52e31fea0fa500387bb6..0c7a466ba382ad01ae747f7361cf7f9237879f27 100644 (file)
@@ -8,7 +8,7 @@
  * Configuation settings for the miniHiPerCam.
  *
  * -----------------------------------------------------------------
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index c535dbeaae1dfa5bf737daba8826f8502001874d..5ced2df71d81118750abec4ea6712a59441b4232 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001, 2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index f9fc8ff7e1c11172b19fe6355d43f2f037d51dab..3cdc0bb145e357a1370192cca9e06e3f5aee6de8 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001
  * James F. Dougherty (jfd@cs.stanford.edu)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 0f6ca942620f2176484c70bfb55c6bcfe12c66cb..d461d004a2fb04e633ca445a8b6d64fa0b99f0fc 100644 (file)
@@ -19,7 +19,7 @@
  *
  * Copyright (C) Freescale Semiconductor, Inc. 2006-2009.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 5a101cf61209947309ccdc2d5cd3597d6d5c17a7..f71105157f8616c0f056cf95ebac7e64801d210a 100644 (file)
@@ -7,7 +7,7 @@
  * Note: my board is a PILOT rev.
  * Note: the mpc8260ads doesn't come with a proper Ethernet MAC address.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index ddcbfa6a264c40bfc90282d60579cd4f1c5c6d58..34b960e1f4bd6653f2a8db15d1fd8cde379c244d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) Freescale Semiconductor, Inc. 2006, 2010.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 /*
  * mpc8313epb board configuration file
index 432db72daa803cb0fc6f6376cbd35045ad1aece7..8a7fad36f48c9ea209b1ce29e52778d088757c20 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006-2010
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index c3a577f40a1cad07d9df7632de237f11bf88db7b..c492d52fb5ddbaccc1805790db10098e5bc5d584 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) Freescale Semiconductor, Inc. 2006.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index acd37a01aa75ca4c5dbffbf64c8da34531f74d92..e7ded0127d550ee0ea78bd6975b89d17580f65b3 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2002,2003 Motorola,Inc.
  * Xianghua Xiao <X.Xiao@motorola.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 61775d2c2886b17722e2aaf35cc183fbd58b26be..150e56ea38ef6d67fdd56ee212ba12d5f8320b88 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2004, 2011 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 1ec3797e7c420d240c64af2d0ce9ef984c161cd7..285872ef3a6b7430fa697a72e80af9fc1f650907 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2004, 2011 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 49f6a353326468e3a923e6358a673dd1a4c12a32..24102ee8ab83ded7f41d020f924f231e7c8202d2 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2002,2003 Motorola,Inc.
  * Xianghua Xiao <X.Xiao@motorola.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 2d5e8c0b7b11e72293417d6eae94500fb198edfb..90b99b3b5e6562bf5e33c216d37364eb906b600e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2004-2007, 2010-2011 Freescale Semiconductor.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index c35fd2bdbce70d87cc462ba8de13619c7de11f6d..3bf01b2c12ef035a895f680ce3c6ce6a03a38c4c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2009-2011 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 0945ae155d4ba7c4bc35759c43e018bdf4188583..e438b8ef380faa1bac0e86860edcf60471ac4ac1 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Srikanth Srinivasan (srikanth.srinivasan@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 96efc63d7a0440b15f904ae1878024970dc13261..caf6164a30a69c292a5af49d2c845ccb8bd38ff0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index b7bc920f00f82c03561a6dccfa7e752bb368d895..c03ac6b9d06bb94dfae727f55b81b8c9bd8b5a02 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2004-2008
  * Matrix-Vision GmbH, andre.schwarz@matrix-vision.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 044a1bc2c8f74d257638dfe3c7c0dc4630e8073b..d24f6a4b4ee2e715a1d1ba778172e9099fc30671 100644 (file)
@@ -4,7 +4,7 @@
  * Matrix Vision mvBlueLYNX-M7 configuration file
  * based on Freescale's MPC8349ITX.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 0968b86778b4d0855d873134cda681734e75f49e..db9502ade316754d39fad069945994cf2ffd981f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index 47f5c32d6464ca8b4853ba81fb70430554065937..43a0f6e60c59023460be20df11195ed501168668 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2004-2010
  * Matrix-Vision GmbH, andre.schwarz@matrix-vision.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 635f9ce1ed8961883d65d3866dcad48ee2a4e295..9cfa0873452e120346421ea121bf9ffc10a7981a 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index c9196135197ea2d4b1e18aa92b905b477fa225c2..11e7b5baf869515d90003b55f76154a45a2c56de 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 56d251cea5f0c7d7e086a9b326c435a34851b802..b269a33cb0b5ede85dbbd4c873d4967201edf31b 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 6328ba9bf4a108a7a184a102064390c0db31c2ac..354e9d211bd40afc13e3e35bcfba67b37d25869d 100644 (file)
@@ -85,7 +85,7 @@
        "flash_self=run ramargs addip addtty;"                          \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-               "bootm\0"                                               \
+               "bootm\0"                                               \
        "rootpath=/opt/eldk/ppc_74xx\0"                                 \
        "bootfile=/tftpboot/p3g4/uImage\0"                              \
        "kernel_addr=ff000000\0"                                        \
index a71a5219cfbd480ba5fadc853e7278be1569c950..53e0d9fd8f29ff96f15d79106ce8b38230d5ca51 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001-2004
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 2251ca6116c2309d3b06e51e4497e08803d09f4c..c67e61f79aa49e75a8db9b21f97a2b9598aed46a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 115c89a36be4ea1704f09fe385ec0f818e9f374e..afa273d89f264963cfa0581e33c9b5a86841490d 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  * Scott McNutt <smcnutt@psyent.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 3c31cfb01af4074792fb6ecccdc7910433903f7c..912bcf59f84b65eb9d50ba08afcfea6997a1bebe 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2003
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 7ab1d84773200c1e8e3f030507205285bc74d684..218dca026629d7cdba7d1ebec479c020adab98cc 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index cb68c41babaee87cdf506862abe194abaab572fb..8ca2400a08f7a6b834751f615bf26778eb68b18a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 531e95612a23f3f490582f8fc8e87ba66e92abb4..3d6dc91a0b0fcccc8e83f39c224d10c5fc7eb6de 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009
  * Matthias Fuchs, esd gmbh germany, matthias.fuchs@esd.eu
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index cd9eb4b10b5968c035374a350bbcc4095ef3648a..bdfe3c1b279143c298c51b39ce75d02d16393d8c 100644 (file)
@@ -11,7 +11,7 @@
  *
  * Credits: Stefan Roese, Wolfgang Denk
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 3970dc36f12bdf116bb4b7c12c6289a2d868367b..7b10d289b9524e15a2d80e224a471fcbde7475ee 100644 (file)
  */
 #define SCCR_MASK      SCCR_EBDF11
 #define CONFIG_SYS_SCCR        (SCCR_RTDIV   | SCCR_RTSEL    | SCCR_CRQEN    | \
-                        SCCR_PRQEN   | SCCR_EBDF00   | \
-                        SCCR_COM01   | SCCR_DFSYNC00 | SCCR_DFBRG00  | \
+                        SCCR_PRQEN   | SCCR_EBDF00   | \
+                        SCCR_COM01   | SCCR_DFSYNC00 | SCCR_DFBRG00  | \
                         SCCR_DFNL000 | SCCR_DFNH000  | SCCR_DFLCD001 | \
                         SCCR_DFALCD00)
 
 
 #define CONFIG_SYS_OR1_PRELIM  (CONFIG_SYS_PRELIM_OR_AM | CONFIG_SYS_OR_TIMING_MSYS)
 #define CONFIG_SYS_BR1_PRELIM  ((FLASH_BASE1_PRELIM & BR_BA_MSK) | BR_MS_UPMB | \
-                         BR_PS_8 | BR_V)
+                         BR_PS_8 | BR_V)
 
 /*
  * BR4 and OR4 (SDRAM)
index 1404634991eb6a68179397e5f5de677e59026a5c..7d4e5e72a60b99583f314c1bccd3537c7b40381d 100644 (file)
@@ -4,7 +4,7 @@
  *
  * U-Boot configuration for Analogue&Micro Rattler boards.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 3448ef35a8e51f5671737214b9d4c1eeda3a0ee8..1045afb0c2c64448927c023700218eebde200c6b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) Sheldon Instruments, Inc. 2008
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 /*
  * simpc8313 board configuration file
index 64596b35c18a174c280d801664d7691debb98a53..147cf5bec1e36cb832ed5e4a01f0ef8310a614c2 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 9fa6b77ab10e13ee4e4f17857d8bafc32c0c9975..5e228f35562a31c8c5df7aa1daf00187f6e69ed9 100644 (file)
@@ -30,7 +30,6 @@
 #define CONFIG_DDR_CLK_FREQ    133333333
 #define CONFIG_FSL_TBCLK_EXTRA_DIV 100
 
-
 /*
  * DDR Setup
  */
@@ -76,7 +75,6 @@
 #define CONFIG_SYS_CS0_FTIM2           CONFIG_SYS_NOR_FTIM2
 #define CONFIG_SYS_CS0_FTIM3           CONFIG_SYS_NOR_FTIM3
 
-
 /* I2C */
 #define CONFIG_SYS_FSL_I2C_SPEED       4000000 /* faster speed for emulator */
 #define CONFIG_SYS_FSL_I2C2_SPEED      4000000
 #define CONFIG_SYS_QE_FMAN_FW_LENGTH   0x10000
 #define CONFIG_SYS_FDT_PAD             (0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
 
-
-
 #define CONFIG_BOOTDELAY       0
 
 /*
index bce4176f9db6e45e7971ad323b169c9a1209e367..e1a2c12c61917f3f80f16ed2c074084624f67728 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 1fa4714884d5d7cdd2093b186ccb64460c35d5ac..47e74e79994a6d658a395dd831c001563ef6aa55 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2004-2006
  * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 7f2b842993555bed99fc5faf01c68bae0f92f571..4ad857e98dd01625fb2487b3c1d0193069dc14f0 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2006
  * Martin Krause, TQ-Systems GmBH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 00056a33d4d7072643a2c2b8625c5c7e56c55761..b5f330fb6f645b005cda26fc78466a25f1549e06 100644 (file)
@@ -14,7 +14,7 @@
  * Internal regs are at 0xf0000000
  * Reset jumps to 0x00000100
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 8a4dd358d8b25163c1ecdb18e1598250d544be7f..6a9f64e17bed1a621c5bd9156efb62503f016d48 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2004-2006
  * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 07b5acb9770ae7b3e0f145d430604b3d96b87498..194dc8b62ace1345ca26b68f12e4bd13200938db 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 9cf263cff60a60d4a33e6872af7dfd7a70b958d8..30e94013b0ac26af169cc0d581e6c765bc8f3778 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2008
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 1f52efcf5bdf33ba11d2512d39e9cb32223a94fb..8263752573016646340c35a232805cf65b025a0c 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2006
  * Martin Krause, TQ-Systems GmBH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 9d8819977e84c1375c3347c33bb148fef9217e22..dbd281415b7bd9818105a4bbd43bf79b59c58767 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2004
  * Mark Jonas, Freescale Semiconductor, mark.jonas@freescale.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index a1dad2b5bba47589206d0a04005c33c83ca4873e..91fd93b331bbbc116c5f188a389604e9316ec540 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2003
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 5daf1758635ae92281061dd874f5fefa4860e6a9..4a2ee91ddaf0e6bfa6587a3c9dbd6b47b0f245ff 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 51cfcf6e21821516569881294a4bcf25592cd87f..54ca4997b54ee8045ff3e6ec39ce2d25fe62d932 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 6769c0d80616dd90d8a796781d1a47416c94fe99..ac194a4efaa411be7d1ef93961fde36c2d25c4eb 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index f38d90ee3f3d77e771b3d3b2711bd9b417502610..699938465344e0bdaf1548b02e6b7dc73f47c1a2 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004
  * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 2160694df233785511a2d5f90e1f71e42daddc03..c28f21d1fbefc262cb4d42647b2bd837c206091c 100644 (file)
@@ -5,7 +5,7 @@
  * U-Boot configuration for Zephyr Engineering ZPC.1900 board.
  * This port was developed and tested on Revision C board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index ec86023974f99cdb0722a2741863d17cd045dd2c..80a381595c90b62abc0b89e374c748407b130bf8 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index d243bc12c0273317f95262138949a15d84605997..75b6526127efd7de53729eb7a9280f8f53e35bd0 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2010
  * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index f79706e1d2997539d01d88edecab4e08c793f7e9..f23d5494971ef0a6e3bf56d04be21d8ae44e57c2 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index 6c0b034dcca36995128ac7e0ec118623f53dfcbb..33d7815e98c74e5e16ee5c70fe662ecf29ec9087 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2004-2005
  * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 5431b098c5c388a555cc26ec8152c8ffbfba5b60..f0a89623c3ba7557d7ca20633c5ea0ad3c96ccea 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006-2008
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
        "flash_self=run ramargs addip addtty;"                          \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-               "bootm\0"                                               \
+               "bootm\0"                                               \
        "net_nfs_fdt=tftp 200000 ${bootfile};"                          \
                "tftp ${fdt_addr} ${fdt_file};"                         \
                "run nfsargs addip addtty;"                             \
index f746e485489051b58b09910b5981b381f0d7bc78..c2ba7e35d891bcf145885c9f278ba10e45d73c11 100644 (file)
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV         1
 #define CONFIG_SYS_MMC_ENV_PART                2
+#define CONFIG_ENV_OFFSET              0x0
+#define CONFIG_ENV_OFFSET_REDUND       (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
+#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
 #endif
 
 /* SPI flash. */
index 68f25ea388cb8fd9fa0c2c3c1137197d5f0296ee..b5e212e9d81bc7431d760e04468f501c66e5dc09 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009 Wolfgang Denk <wd@denx.de>
  * (C) Copyright 2009, DAVE Srl <www.dave.eu>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index ed9400e4c0bd3c69a26375198528b837fb39498c..f0dd6ccb744b9c9a67d65df497bd78f44773c5d0 100644 (file)
@@ -3,7 +3,7 @@
  *
  * (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 5336f69103125cee5b4ceb2a06fd366db0094535..326e3d6692858b86ff9b6a0d9c1c7d5fc2d22a4f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005-2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index 9301fccbdc657b6b950ed9e20715f7b6f99d52b6..2b9c1c96e42ca191f93d53b5a640d92caad15da0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index db9eb0f159fbd17dcb99676b4526fca24179d007..2e024f54a9f4e1088eb2c3ac14ad7d8467e19540 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2011
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 7b90dcb5ace4dc210cf9397930bd379a97337554..485bf1658e9dfdf5d9c491ad6260ecaa3ed2710b 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 88ac4ad327abe60dda154a7303a3826671964a86..2f537e0d4ba30b08fcc281edb9e31051b229f995 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2010
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_CHARON_H
index b40199566e8346a33295b09687d30d8c8befa4ce..9447c0b935823eef918ec18e41ea9bc394f1d230 100644 (file)
@@ -3,7 +3,7 @@
  * Greg Ungerer <greg.ungerer@opengear.com>.
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIG_H
 #define __CONFIG_H
index d792240e9540651a78ddeb0677ae2ddf0cc9173d..306684ac0d17aa09717ab56e8f81c06d4540dfb1 100644 (file)
@@ -3,7 +3,7 @@
  * Greg Ungerer <greg.ungerer@opengear.com>.
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIG_H
 #define __CONFIG_H
index cfd63ad8317e05dc87dd4613b7972e1a09a44656..17824ec9a914a472a026b88c79b95b2567c32cff 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2007
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 885dfd476166b9a2ad1b81ec69023e1293229ca4..b13898815aef80cb53e04823cfaede76138d7c24 100644 (file)
@@ -3,7 +3,7 @@
  *
  * (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* ---
index 290a08d044e20fb8ac2cf9b7b3c0a0299cae45b2..ee0342b44b972febbd45af0689d6bf4f43e6411f 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 47215e59aa8983d6a5bec75533816f6db5124b6f..d1be5e3c0c3e8f826433bc1013ec587dc4fe95d2 100644 (file)
@@ -3,7 +3,7 @@
  * (C) Copyright 2008
  * Graeme Russ, graeme.russ@gmail.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm/ibmpc.h>
index 05529c8fce6188cbeedb0df85651557478228d6d..eb56f969880c73822010e0f530408fb25da2fd6d 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
 
  */
 
index c56fdd751719911103c8fcc42042e355ce053537..6742dbcd9215ccd9ba4d21dc7dc314967298a244 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Configuration settings for the CPUAT91 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _CONFIG_CPUAT91_H
index 49a144fd33f4c83f0773ba53a8e648d73b86eff6..6ae19e4b872375d6bdf9a1074b0cf6d0012f9ebb 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004
  * Tolunay Orkun, Nextio Inc., torkun@nextio.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 7705a5dda89f952d6d7b3a6c1f2e315586406299..0c467c51f83695a7b537a3c93e50a33af8619e95 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2004
  * Tolunay Orkun, Nextio Inc., torkun@nextio.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 96d35c5718300bede1cb4585f867334c7fcf9c1e..07b1bdd0829be2a5b79fefd8d6d7face88b6a901 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2009 David Brownell
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 82dc1a2579ed7efa58ca9bbef687c54b667737f4..1f49e514ace484f9421021d5145c64ba4c742d97 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2009 Texas Instruments Incorporated
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index a49a9891d481ab43fb4e3d795836a38f7c236be1..ca2cb2db72926350ab3a984424ad81518b70adf5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 1595bc7f6309d448a0defd492c85f7274262e34c..299a2e8bb24eb4011d34b080ecc9227c2fb12488 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 3eaa7c08401f53426b4825ea442772263718954e..a81364ce55f1f9420d02128c695f6eae6d208ce5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index cb79b4ef43b53b5f4e028edbc137510b653d27f2..c1e996e448c09f5b0103b7503765eb7b2908ca97 100644 (file)
@@ -9,7 +9,7 @@
  *
  * Configuration settings for the DevKit8000 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
 #define CONFIG_SYS_INIT_RAM_ADDR        0x4020f800
 #define CONFIG_SYS_INIT_RAM_SIZE        0x800
 #define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SYS_INIT_RAM_ADDR + \
-                                                        CONFIG_SYS_INIT_RAM_SIZE - \
-                                                        GENERATED_GBL_DATA_SIZE)
+                                                        CONFIG_SYS_INIT_RAM_SIZE - \
+                                                        GENERATED_GBL_DATA_SIZE)
 
 /* SRAM config */
 #define CONFIG_SYS_SRAM_START              0x40200000
index 30e39087c7643425ebd0afb62018e3dbf0e71d62..08d49fb00df13a8ced7358951e5b33ce2b32d928 100644 (file)
@@ -10,7 +10,7 @@
  *
  * Configuration settings for the Comelit DIG297 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 68e5246b6db0cc387f7a41b5240a58d91732f5bd..c527be49094af53948ee6d77d6a7f9cf31014367 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 2f8d6b4c904becbfd01791798d33cf95c5469944..c97963a3f8434b431f57c99b6f1f83af973549ce 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 51e0e801a2c34ba5be34dfb94f57ad8313e137d8..3a4c06bc8fe84b53ad58f1beff260dd86bc6723b 100644 (file)
@@ -6,7 +6,7 @@
  * Configuration settings for the TI DRA7XX board.
  * See omap5_common.h for omap5 common settings.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_DRA7XX_EVM_H
index 7321b60c2fb1f42ffc562bec883f51e8ca9d62d8..0767df199393d6958a04b49054c16209be120265 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* ------------------------------------------------------------------------- */
index 47014f9e30561ed46b7590a7b3be2ee6fae1dd09..8dc654ea507fb6d93375ab17f5d1025d240b49f9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index 32d5cd65b9e9d91a261a41d53eb3081692749e22..e95d312f9e038fa27aee5824d46c9628abe0fa0c 100644 (file)
@@ -4,7 +4,7 @@
  *
  * U-Boot configuration for Embedded Planet EP8248 boards.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index bcf01b6169642344a596d332d5f1c51260bfc2f3..a3b33495984ae54bc1219f97407a625ed84b6f19 100644 (file)
@@ -3,7 +3,7 @@
  *
  * U-Boot configuration for Embedded Planet EP82xxM boards.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index cfcaf1b232f113184f65f37629d3a528c86b370f..655df67961e0e9851dd93e57a3fceaf7d3ecbd7a 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Configuration for the flea3 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 47e65d8b72853e378c9b6de6190b7f41dca751b5..011a3b315c87d5d84fb07c0f49f551857dbfd466 100644 (file)
@@ -11,7 +11,7 @@
  * (C) Copyright 2009
  * Eric Millbrandt, DEKA Research and Development Corporation
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index cfb2a72716127370564fa27ece236133d239ffa9..a6f1afff9748a4ef0850d4e24d68336e7a8c7046 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2005-2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 4f286bd9415d7fe2f8c4c6e0371625bdab704ffa..86de48e4962d45252cf933aceb20a8840749ecbc 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2008
  * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H__
index fac7f1c5f1ecdc92d80bbc3c017ee2ef80d43aac..cb651b0b0ce7df219c92576dcdde0e262a52758c 100644 (file)
@@ -9,7 +9,7 @@
  * (C) Copyright 2008
  * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H__
index 7f0c5be0c92b1cb8ecfc5173a6a5cc1f5105ae0e..50cf3f6f526f15805b60bbd0831465e234265d1d 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2007
  * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H__
index 612451904fe025e41c563d23d253170b34a9e558..69ac0c10bf638bf6647773bd3d1d08657648e23e 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2007
  * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H__
index 2226f5bbb81c112acf860eed1d5df5e018e79110..531c4bc4bec50a3e90f221163a57594dbfc46bb9 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2007
  * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H__
index 747c43c070a67bae9870ae68021383d22df7eb2c..9073d7e6c740db064345ae206b7cce7cdcd8ad1b 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 55ea567bee1b60a55ea3e05e1a8f918a2838bb8c..3cae30a0b412aadb947709e3e2517fc5f9888618 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2006 Lab X Technologies <zachary.landau@labxtechnologies.com>
  * (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _IDMR_H
index 9982cf6e900c4d434bf49224af6a01cca0653759..e92bb684843e3bdb7da32edb375599e365ac790a 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2012
  * ISEE 2007 SL, <www.iseebcn.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __IGEP00X0_H
index cda7e0d92b9286dc2106494eb7131f9099419157..c6b852969bffe32401dfded7d0ca50894158301a 100644 (file)
@@ -4,7 +4,7 @@
  * based on:
  * Copyright (C) 2009 Ilya Yanok <yanok@emcraft.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __IMX27LITE_COMMON_CONFIG_H
index 805c05d77ec458a53cce76cc7b38567281be6997..c18c35ef53de7782780bd52f181e8e26ff0927b4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2009 Ilya Yanok <yanok@emcraft.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 30c65da53974c664a19468458f9d7bc1cc3c5bbd..0d0715869dd52d24066f86e0286e2fb5a88c4327 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Configuration settings for the LogicPD i.MX31 Litekit board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 720e1bf407144d4d573d1530387f645a7c49c004..1e2b12cb25e99888e276d9c0ae20fe9b241214ca 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Configuration settings for the phyCORE-i.MX31 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 5cc686f2ff3bd18ff75a417cd5cd61690416ab9e..6242a94172643300702250da9f9a0ccc0361b2dc 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2003-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 910c2431758e090774a5e192ca3c5ffcaeacfd1e..94cdfd29dadb56f06d73ab831c419e44d13bf39d 100644 (file)
@@ -4,7 +4,7 @@
  * Linus Walleij <linus.walleij@linaro.org>
  * Common ARM Integrator configuration settings
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #define CONFIG_INTEGRATOR
index fb71e3c26a8253b34c6d4eb40457f8be7e72e36d..edea769a921dd8c58fde863abb021b08d92fcceb 100644 (file)
@@ -9,7 +9,7 @@
  * Philippe Robin, <philippe.robin@arm.com>
  * Configuration for Integrator AP board.
  *.
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index dcbdd227fe05986c36fc335f74440c766843b90c..608719a7eacb7725a3cfac08521397a8b7d6acc0 100644 (file)
@@ -9,7 +9,7 @@
  * Philippe Robin, <philippe.robin@arm.com>
  * Configuration for Compact Integrator board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 79ada68ac7715b54964f842a16eaee47fb0518a4..2d67cfc66a5ce4751b7867c78552292ac66c726c 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index f110b706020f73fc01d6dee5a2f7497c5ece9e8f..39ed2850d29eab71771951beec82ecee70015115 100644 (file)
@@ -6,7 +6,7 @@
  * by Stefan Roese, DENX Software Engineering, sr@denx.de.
  * and Grant Erickson <gerickson@nuovations.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index ec9016a6d14b89ffa2444d4e725a11965658448f..788c715a2f188f125bc26be1c48ea68060f7255d 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 50fd995657364b052e24bd5fb50f419040b6321f..d2351cc53ad83e1b82e04602c5686729895f7e62 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2009
  * Wolfgang Grandegger, DENX Software Engineering, wg@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index bd3bbb79a5d69059a76f6575be52d8423b0bf0d6..d2acc281cd8bd05d2a63df06908da5486062ea20 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index 733023049f22940848803ac7bd58a8f27a4b0917..91ca480f48de5d850955f2531941b1c50db72eca 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008-2011
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_KEYMILE_H
index 7ceb5e7eda4f0346306d34e0c5bca57ee48d37be..8ee0ac6dbfaa00d7f4feb4aa7d3a6e0d0d625d98 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2011
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_KEYMILE_POWERPC_H
index 726c646bc5098c5e39da5658135ca57c5914376d..986c65f1e6639eda3ae0b4c35e8406a91bbf7385 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007-2011
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 5485a42fccbdea3f678db636962b2d851dfa51da..23270e68f59723cfdc07eb45a409acdb087349f7 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005
  * Sangmoon Kim, dogoil@etinsys.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 932dac36ad0d1443c61a71b5a2d43fdb272669c3..1bd467f59fff6ce1cfa5510969943842e86a42f9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2006 Mihai Georgian <u-boot@linuxnotincluded.org.uk>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 8ecdf8049df0268abc9f18c60e4ef3732da6cfdf..67f75c79a1da9226aaff87f4e498959371477cff 100644 (file)
@@ -3,7 +3,7 @@
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  * John Otken, jotken@softadvances.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index 08d633ba178f24b197a9a1de51de4862412c02e1..bab71f2aecf2ba79938cd7795a5335e48e301ad2 100644 (file)
@@ -8,7 +8,7 @@
  *
  * Configuation settings for the LUBBOCK board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 459c047b71743872049e2d55857946a3ad359dcd..a2aa56bd2dd9b52f260b5e9a5b85cd88184cc07a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index eba875954df2455cdd26b92578a8c057a4b00f91..bb1fa44d80dc780658a7204ce9ca084d44440a1c 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
  * on behalf of DENX Software Engineering GmbH
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIGS_M28EVK_H__
 #define __CONFIGS_M28EVK_H__
index ccb07e338470f4d34d6b80c0e5790ac2093206db..024d3a5aaf830f5f3e3c55c9f6d39a894c494086 100644 (file)
@@ -2,7 +2,7 @@
  * DENX M53 configuration
  * Copyright (C) 2012-2013 Marek Vasut <marex@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __M53EVK_CONFIG_H__
index d2da12fd062d12b8db482ccd0678c397ef1c2b9e..3364bde71fc6bc5c2886ad4f24308f75bbd4f342 100644 (file)
@@ -4,7 +4,7 @@
  * based on:
  * Copyright (C) 2009 Ilya Yanok <yanok@emcraft.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index e7ed917f8480fd4959d1c63a0dfab000775f67cd..d6207eb11faca1871d5c4edba8691d9251699183 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2007-2008
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index c31659928805fb25ff8ebd07aa6c36d923dcb4c8..a55b39b4bffb403e9f9a3e8559604f06e96a0800 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __MANROLAND_COMMON_H
index 29ea3043df6d869f2f9a0b842b468bf6d06ad3b7..98bfcc550698b0c895e795a319b224255774251e 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __MANROLAND_MPC52XX__COMMON_H
index 487574f6a7780b95c3f5fd48f6b4565329067c88..d73d2e43737eff750eb5895424511b7c8df6f6a0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006-2008
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 601bb79d1c82cf4211e1e5267fc8f19bac78fd5a..8b1e0922080350d70baf6549e962c22b9472f7d7 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 
index d7383a62c69072664bc8cde3d01221e44e1ebe53..2a818498752d8665316fece159cffd544677996e 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Based on Motion-PRO board config file by Robert McCullough, rob@promessinc.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 85ae3671f13fd580128f4af9f0cd997ad0210212..2af947a23161eee3d3e8a5d1258bf3bddeacc1b8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2007-2009 DENX Software Engineering
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index f8c46278ad3005bb457a7c0cedde594854512059..37cc4349f670ceec6a57baa47cc74d2f5191ef77 100644 (file)
@@ -5,7 +5,7 @@
  * Alex Bounine , Tundra Semiconductor Corp.
  * Roy Zang    , <tie-fei.zang@freescale.com> Freescale Corp.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 950d71b5cea9232862e0f1d257dc7c49aa00ea33..8eba0228b262da89bac6682cdb4f92690279c3ed 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index d875901d56f00044aafae0ed93264b2bc5aa88c5..ff75ead295ffb33ef1cf8f6216bac33b5b189651 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2003-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 7700a1d57dfaf62405ca0e94f540614725b5021b..f98360d96d3fa32d67dc1be6cdaa81f415552e12 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 4de4324f74513636f6d72b8e0c47dd9f9a4b1479..70d1dee6aa65649baf459a1c3e3f5551662bb129 100644 (file)
@@ -9,7 +9,7 @@
  *
  * This is the Configuration setting for Motorola MX1ADS board
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 575fe2a22ddb361d75d83e1339256c97d77ed0db..e377fea24a651da3596f33890367b83275f5a8eb 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2013 Marek Vasut <marex@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIGS_MX23_OLINUXINO_H__
 #define __CONFIGS_MX23_OLINUXINO_H__
index b1b68528a30e6d2a4cd0fc80e48669ce0688d90a..2736e3d7dc4446a217c9cbfa7f22bbf2981968fe 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Configuration settings for the MX31ADS Freescale board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 69045da131a7623c0e3ac96988ac49a0500157d4..d41f2cd411942a7f40a96b2634daa367b9370209 100644 (file)
@@ -8,7 +8,7 @@
  *
  * Configuration settings for the Freescale i.MX31 PDK board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index a25b20e4af2c7a4308495b119960b93af4df1d46..2f59104b83181714af92cddd60a990e7c840ba3f 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Configuration for the MX35pdk Freescale board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index f0c677640e5107e0f594b6086e07b02d7bed38f8..0772dd23c860ea8cc9f0b56d93cd411e2eadc9d3 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Configuration settings for the MX51EVK Board
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 122ffd074d469f43165fecfd38be46a7e1ec7c08..7956083c3508259baa38480776e0d091d9b347ee 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Configuration settings for the MX53ARD Freescale board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index d39ce7b6648d7c09b0327992e243771b532e9ae5..fe5cf3c701253682578caf234aa7e68da248df7e 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Configuration settings for the MX53-EVK Freescale board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 7237da5939e7939f6672b55ec4f6fef51f8a8aae..bd2fa43b95070836beabc24afb7309d34ced2a3a 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Configuration settings for Freescale MX53 low cost board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 7e4e1c9661d02ecbf118feb544bd3264ff6ae4d6..12b2c0de8679145d32ee4d958a90508c75f86959 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Configuration settings for the MX53SMD Freescale board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 1c5c837d3bd3eaf1c4d4a40884faa214b51a2e11..ef3058c18ff6004bffe6e6f487b70d15e84a15d4 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Configuration settings for the Freescale i.MX6Q Armadillo2 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index ccbb1fa9b16ebfefd311dcdc550b8196cfa2ad3b..62ea8eca86c47fdb4ba5806e412a671a748e0ee6 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007-2008
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 0997f49859b44f62a656a7da782450d5f2424105..181a6bfd418c491a57a348d4047400268e2cf39a 100644 (file)
@@ -4,7 +4,7 @@
  * Configuration settings for the "Nomadik Hardware Kit" NHK-8815,
  * the evaluation board for the Nomadik 8815 System on Chip.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index b528f5a6225a2e0156204cb3e96b660676c2b5a3..3f3449606590559abbdd4cc1992196d216237231 100644 (file)
@@ -3,7 +3,7 @@
  * Scott McNutt <smcnutt@psyent.com>
  * (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index cfc5f1205e12ada2522309172ff4f5843e8144da..64db0eb9441c107bcb469a252acd66a12bdd0fa1 100644 (file)
@@ -13,7 +13,7 @@
  *
  * Configuration settings for the Nokia RX-51 aka N900.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 90c45d5c47987321384b6e22b27e79b53d566889..f079289c5a257d48ebd69a30273800a7d1ea37dc 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2012
  * DENX Software Engineering, Anatolij Gustschin <agust@denx.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __O2D_CONFIG_H
index 60ee8da5583a28a35af7131a72caafbb44d81598..f3fb5852f9cae85a57c4820472fe106fe7be0dc8 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2005
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index c1245e7b841e1c633b217ba0daf933abe363df0f..9fcd50b5239f9e2548092f011db58ceca8d1ff94 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Configuration settings for the TI OMAP3530 Beagle board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index fc1ffea55b9e4f3845be4887a33ed23020807fda..3ace8bb6e5c8c6164155888406f530e7b8a40379 100644 (file)
@@ -11,7 +11,7 @@
  *
  * Manikandan Pillai <mani.pillai@ti.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __OMAP3EVM_CONFIG_H
index ee6db51274ca9f73e25b502c733afb3e93d266d0..42cea012da4233bff428b37195dc850cc658ebb3 100644 (file)
@@ -5,7 +5,7 @@
  * Configuration settings for the Logic OMAP35x/DM37x SOM LV/Torpedo
  * reference boards.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 0c88419f245eff14a7b8cd2b3244fec6d05fc088..73d5d30f012246a738624e6b9c38b17ef743c3c1 100644 (file)
@@ -9,7 +9,7 @@
  *
  * Configuration settings for the TI OMAP3530 Beagle board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 91a25684c7a69126ed4c0eca1e85ff469969a6d3..ee448bb812ec77d84c34dd29d4c6c71c33466401 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Configuration settings for the OMAP3 Pandora.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index a5e469ce32594b792e4b07e9bca8543746e87e81..fc219fa478ad4f3f6c69f7b941063b11bfcae3a7 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Configuration settings for the 3430 TI SDP3430 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index c747d5247b9e50f4f6689b5a65171b4442b3af7c..a4a739e4a0811a842b95e8ff4f9c44ebe64fad89 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Configuration settings for the TI OMAP3430 Zoom MDK board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 18800f3cc10667c7a9e29f1b19f44b47939320bf..82946229a49323efe90696afa33a6b3abb0349bc 100644 (file)
@@ -6,7 +6,7 @@
  * Configuration settings for the TI OMAP4 Panda board.
  * See omap4_common.h for OMAP4 common part
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_PANDA_H
index f40e0b718fc843d2a82a35e64e2829e35f1fbb22..acced46062dacb2ba768f8fe44a36698c53a58d4 100644 (file)
@@ -7,7 +7,7 @@
  * Configuration settings for the TI SDP4430 board.
  * See omap4_common.h for OMAP4 common part
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_SDP4430_H
index 75488de7610dfe7081848598b7ab84d67977deb1..c2b9e13c72b33f464069d5fe974ca1c52a791d7d 100644 (file)
@@ -4,7 +4,7 @@
  * Kshitij Gupta <kshitij@ti.com>
  * Configuation settings for the TI OMAP Innovator board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index eade6375cdb9c8609f09e1dc6cf11cb2e3298fbc..827eaabca835c414e91bf78bd1c9a10f02cdf1ee 100644 (file)
@@ -8,7 +8,7 @@
  *
  * TI OMAP5 AND DRA7XX common configuration settings
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  *
  * For more details, please see the technical documents listed at
  * http://www.ti.com/product/omap5432
index 0d1c43c2eb570dbdce1749c30000f65eaca8e7ac..4d3a8002982f5fb71a1fb09b0951dad3de9b67bb 100644 (file)
@@ -6,7 +6,7 @@
  * Configuration settings for the TI EVM5430 board.
  * See omap5_common.h for omap5 common settings.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_OMAP5_EVM_H
index dfe0258402eed3e955b25126d6e81dbce50b5150..ad3775e031340d6ba017690d0909fbe1e36c6cae 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2011, Stefan Kristiansson, stefan.kristianssons@saunalahti.fi
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index d1c7a1a2d4f96e833be4ec76246d3dd4fa55a4fa..8157f47cced698a27fc7de068c22053c429c97ac 100644 (file)
@@ -5,7 +5,7 @@
  * Based on original work by
  *      Roel Loeffen, (C) Copyright 2006 Prodrive B.V.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
        "flash_self=run ramargs addip addtty;"                          \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-               "bootm\0"                                               \
+               "bootm\0"                                               \
        "rootpath=/opt/eldk/ppc_6xx\0"                                  \
        "u-boot=p3mx/u-boot/u-boot.bin\0"                               \
        "load=tftp 100000 ${u-boot}\0"                                  \
index c4c50932c3e2e3ee926673c397591953365d5f3e..f6cb813bc8f80f275e285a9ea76fdb91f0f304c8 100644 (file)
@@ -4,7 +4,7 @@
  *
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
        "flash_self=run ramargs addip addtty;"                          \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-               "bootm\0"                                               \
+               "bootm\0"                                               \
        "rootpath=/opt/eldk/ppc_4xx\0"                                  \
        "bootfile=/tftpboot/p3p440/uImage\0"                            \
        "kernel_addr=ff800000\0"                                        \
index a608c872d5550f22a7144a211baf4cf4f5bae01c..423e2fa6db3ef8b8044efeeaec7607156c056b16 100644 (file)
@@ -8,7 +8,7 @@
  * (C) Copyright 2009
  * Jon Smirl <jonsmirl@gmail.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 5de8e98aca3dc68bc93a9921ae7e21d4e124a12f..7cf22ba7639423e4273f90cfde8985af209b8840 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2006
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
        "flash_self=run ramargs addip addtty;"                          \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-               "bootm\0"                                               \
+               "bootm\0"                                               \
        "rootpath=/opt/eldk/ppc_4xx\0"                                  \
        "bootfile=/tftpboot/pcs440ep/uImage\0"                          \
        "kernel_addr=FFF00000\0"                                        \
index 50321199c1c4aac5e2ead8b62ddc5ff77288eb9c..d31c13796735304756be974703316fbe1863ce70 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009-2010
  * Michael Weiß, ifm ecomatic gmbh, michael.weiss@ifm.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index c6640100677c865b12abb4bac09b02bc4342a039..d3e9017a005b25131e8ab96f9284bbf931ef7287 100644 (file)
        "flash_self=run ramargs addip addtty;"                          \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-               "bootm\0"                                               \
+               "bootm\0"                                               \
        "rootpath=/opt/buildroot\0"                                     \
        "bootfile=/tftpboot/netbox/uImage\0"                            \
        "kernel_addr=50080000\0"                                        \
 #define I2C_TRISTATE   GPIO_OUTPUT_DISABLE(CONFIG_SYS_GPIO_I2C_SDA)
 #define I2C_READ       ((*IXP425_GPIO_GPINR & PB_SDA) != 0)
 #define I2C_SDA(bit)   if (bit) GPIO_OUTPUT_SET(CONFIG_SYS_GPIO_I2C_SDA);      \
-                       else     GPIO_OUTPUT_CLEAR(CONFIG_SYS_GPIO_I2C_SDA)
+                       else     GPIO_OUTPUT_CLEAR(CONFIG_SYS_GPIO_I2C_SDA)
 #define I2C_SCL(bit)   if (bit) GPIO_OUTPUT_SET(CONFIG_SYS_GPIO_I2C_SCL);      \
                        else     GPIO_OUTPUT_CLEAR(CONFIG_SYS_GPIO_I2C_SCL)
 #define I2C_DELAY      udelay(3)       /* 1/4 I2C clock duration */
index 027ddd2d981b0063f66fa0b87579e4d3e693c06f..bb3351812e7ecbe64c7142b5f921fa07b6977b04 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*************************************************************************
index 7cf12ba0f649ba85139a4ddd9a764929317d974d..752321c2fba1ad99d6267f77c2999b1bc6b37684 100644 (file)
@@ -12,7 +12,7 @@
  *
  * Configuation settings for the WindRiver PPMC8260 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index e5e801508e13788d7dab5088e2509b917c9a21f9..5856ee180ba5977306e467dd879666195e2eedc8 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef        __CONFIG_PXA_COMMON_H__
index cd3dd763f7fe2629dc175e39d4a6257d964cfe94..5ea7e67da5f11a0b14a86f6cb94ee74a9e5795b4 100644 (file)
@@ -13,7 +13,7 @@
  * Cliff Brake <cliff.brake@gmail.com>
  * Configuation settings for the Accelent/Vibren PXA255 IDP
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index c57fddd6728043c3a18a06b59eefaa246babfb69..ee2ff7f0435db594b355d336dee5846708acfc2d 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Configuration settings for the Dave/DENX QongEVB-LITE board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index a51f2d4fafa318da752e140b07aa65e303c9119c..e0925f6934e74d571c575fe0e9ad64cab101370f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2008
  * Gary Jennejohn, DENX Software Engineering GmbH, garyj@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index aaf97ebe0c38ae10c453e03431306b56b9d4d73f..73156498ff2679237a54aad62ec319bd549ea8dd 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2010
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 0feef1eabb40dbc3081dba1c18b5b84518cfa739..033c1f30de35a50c2a6c2e298c6fdd29e2759fd5 100644 (file)
@@ -12,7 +12,7 @@
  *
  * Configuration settings for the SACSng 8260 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 072f97e602b4af21aec6b6bc069dddcd86b8a832..a139590be8494088f8d95a586b2578d6205b9bac 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2001
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 6f912ed2c3afdc27c1f32e642f946b5bd041fb74..63ee4537d6ed50e40704b8a57b0b7faf8bd5d914 100644 (file)
@@ -5,7 +5,7 @@
  * Paul Gortmaker <paul.gortmaker@windriver.com>
  * Based on the MPC8349EMDS config.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index cf97db94c81d4283e67d0acad35f3a1d69c2323a..a489bb12118968526cfdc0c08c41e4578c7f5ede 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Srikanth Srinivasan (srikanth.srinivasan@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index a96ffbcec3251c74bb34f97486e9aeb59d35d738..60710ba829c2b708fe0c4222d707ebdd560367d1 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2003
  * Juergen Beisert, EuroDesign embedded technologies, jbeisert@eurodsn.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 58ffa36dd9f7f316fb0dfd4afb3115a416237865..16d2e2d22b40a232a8b0be78b8f1c39df9a0d485 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2012 Marek Vasut <marex@denx.de>
  * on behalf of DENX Software Engineering GmbH
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef __CONFIGS_SC_SPS_1_H__
 #define __CONFIGS_SC_SPS_1_H__
index e73f9c174c3a63cc42709e06bef23b867a1e2f78..5250d47166459df92c253084f80d9b7e4c658420 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2002,2003 Motorola,Inc.
  * Xianghua Xiao <X.Xiao@motorola.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 564f3645c9a52db0f908c1b1b78ff2244590c633..a5b3b781ae20c2be24a575c60feb8d2f5e0caaba 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Configuation settings for the SPC1920 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __H
index e91f5ae47aae8fb793eae4e732a1c7773b693299..231263f2b5c190d0d404b53a50963ccb402280e2 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2004-2005
  * Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index c7689a729045ba785961f579bffc3a9b98c3cca9..100dae742e3a8e5c4fd8d59adb5977431b75c1a1 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2002,2003 Motorola,Inc.
  * Xianghua Xiao <X.Xiao@motorola.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* mpc8560ads board configuration file */
index f5f7f5434887dbd448654649d0941b60ea6736bc..e82a4b1c6fdf5fd107e74583c843543bc1f55d42 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2002,2003 Motorola,Inc.
  * Xianghua Xiao <X.Xiao@motorola.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* mpc8560ads board configuration file */
index e8d191e7f9b757f15f08b0a873bec6f0f3dee53b..4ebaf2e2a51ed865ec306a2c67e6a3117fc723c2 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2005-2007
  * Beijing UD Technology Co., Ltd., taihusupport@amcc.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index a1b772079622120eb4a0a2dc642942bfd7d5d89c..132e299167b033f5fcd6aa32517767ae04e148d7 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003
  * Masami Komiya <mkomiya@sonare.it>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
new file mode 100644 (file)
index 0000000..0e93836
--- /dev/null
@@ -0,0 +1,311 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ * Sanghee Kim <sh0130.kim@samsung.com>
+ * Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * Configuation settings for the SAMSUNG TRATS2 (EXYNOS4412) board.
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+/*
+ * High Level Configuration Options
+ * (easy to change)
+ */
+#define CONFIG_SAMSUNG         /* in a SAMSUNG core */
+#define CONFIG_S5P             /* which is in a S5P Family */
+#define CONFIG_EXYNOS4         /* which is in a EXYNOS4XXX */
+#define CONFIG_TIZEN           /* TIZEN lib */
+
+#define PLATFORM_NO_UNALIGNED
+
+#include <asm/arch/cpu.h>              /* get chip and board defs */
+
+#define CONFIG_ARCH_CPU_INIT
+#define CONFIG_DISPLAY_CPUINFO
+#define CONFIG_DISPLAY_BOARDINFO
+
+#define CONFIG_SKIP_LOWLEVEL_INIT
+
+#define CONFIG_SYS_CACHELINE_SIZE      32
+
+#ifndef CONFIG_SYS_L2CACHE_OFF
+#define CONFIG_SYS_L2_PL310
+#define CONFIG_SYS_PL310_BASE  0x10502000
+#endif
+
+#define CONFIG_NR_DRAM_BANKS   4
+#define PHYS_SDRAM_1           0x40000000      /* LDDDR2 DMC 0 */
+#define PHYS_SDRAM_1_SIZE      (256 << 20)     /* 256 MB in CS 0 */
+#define PHYS_SDRAM_2           0x50000000      /* LPDDR2 DMC 1 */
+#define PHYS_SDRAM_2_SIZE      (256 << 20)     /* 256 MB in CS 0 */
+#define PHYS_SDRAM_3           0x60000000      /* LPDDR2 DMC 1 */
+#define PHYS_SDRAM_3_SIZE      (256 << 20)     /* 256 MB in CS 0 */
+#define PHYS_SDRAM_4           0x70000000      /* LPDDR2 DMC 1 */
+#define PHYS_SDRAM_4_SIZE      (256 << 20)     /* 256 MB in CS 0 */
+#define PHYS_SDRAM_END         0x80000000
+
+#define CONFIG_SYS_MEM_TOP_HIDE                (1 << 20)       /* ram console */
+
+#define CONFIG_SYS_SDRAM_BASE          (PHYS_SDRAM_1)
+#define CONFIG_SYS_TEXT_BASE           0x78100000
+
+#define CONFIG_SYS_CLK_FREQ            24000000
+
+#define CONFIG_SETUP_MEMORY_TAGS
+#define CONFIG_CMDLINE_TAG
+#define CONFIG_REVISION_TAG
+
+/* MACH_TYPE_TRATS2 */
+#define MACH_TYPE_TRATS2               3765
+#define CONFIG_MACH_TYPE               MACH_TYPE_TRATS2
+
+#define CONFIG_DISPLAY_CPUINFO
+
+/*
+ * Size of malloc() pool
+ */
+#define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + (2 << 20))
+
+/* select serial console configuration */
+#define CONFIG_SERIAL2
+
+#define CONFIG_SYS_HUSH_PARSER         /* use "hush" command parser    */
+#define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
+
+#define CONFIG_CMDLINE_EDITING
+
+#define CONFIG_BAUDRATE                        115200
+
+/* It should define before config_cmd_default.h */
+#define CONFIG_SYS_NO_FLASH
+
+/***********************************************************
+ * Command definition
+ ***********************************************************/
+#include <config_cmd_default.h>
+
+#undef CONFIG_CMD_ECHO
+#undef CONFIG_CMD_FPGA
+#undef CONFIG_CMD_FLASH
+#undef CONFIG_CMD_IMLS
+#undef CONFIG_CMD_NAND
+#undef CONFIG_CMD_MISC
+#undef CONFIG_CMD_NFS
+#undef CONFIG_CMD_SOURCE
+#undef CONFIG_CMD_XIMG
+#define CONFIG_CMD_CACHE
+#define CONFIG_CMD_I2C
+#define CONFIG_CMD_MMC
+#define CONFIG_CMD_GPT
+#define CONFIG_CMD_PMIC
+
+#define CONFIG_BOOTDELAY       3
+#define CONFIG_ZERO_BOOTDELAY_CHECK
+
+#define CONFIG_CMD_FAT
+#define CONFIG_FAT_WRITE
+
+/* EXT4 */
+#define CONFIG_CMD_EXT4
+#define CONFIG_CMD_EXT4_WRITE
+
+/* To use the TFTPBOOT over USB, Please enable the CONFIG_CMD_NET */
+#undef CONFIG_CMD_NET
+
+/* MMC */
+#define CONFIG_GENERIC_MMC
+#define CONFIG_MMC
+#define CONFIG_S5P_SDHCI
+#define CONFIG_SDHCI
+#define CONFIG_MMC_SDMA
+#define CONFIG_MMC_DEFAULT_DEV 0
+
+/* PWM */
+#define CONFIG_PWM
+
+#define CONFIG_BOOTARGS                "Please use defined boot"
+#define CONFIG_BOOTCOMMAND     "run mmcboot"
+#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0"
+
+#define CONFIG_ENV_OVERWRITE
+#define CONFIG_SYS_CONSOLE_INFO_QUIET
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+
+/* Tizen - partitions definitions */
+#define PARTS_CSA              "csa-mmc"
+#define PARTS_BOOTLOADER       "u-boot"
+#define PARTS_BOOT             "boot"
+#define PARTS_ROOT             "platform"
+#define PARTS_DATA             "data"
+#define PARTS_CSC              "csc"
+#define PARTS_UMS              "ums"
+
+#define PARTS_DEFAULT \
+       "uuid_disk=${uuid_gpt_disk};" \
+       "name="PARTS_CSA",size=8MiB,uuid=${uuid_gpt_"PARTS_CSA"};" \
+       "name="PARTS_BOOTLOADER",size=60MiB," \
+               "uuid=${uuid_gpt_"PARTS_BOOTLOADER"};" \
+       "name="PARTS_BOOT",size=100MiB,uuid=${uuid_gpt_"PARTS_BOOT"};" \
+       "name="PARTS_ROOT",size=1GiB,uuid=${uuid_gpt_"PARTS_ROOT"};" \
+       "name="PARTS_DATA",size=3GiB,uuid=${uuid_gpt_"PARTS_DATA"};" \
+       "name="PARTS_CSC",size=150MiB,uuid=${uuid_gpt_"PARTS_CSC"};" \
+       "name="PARTS_UMS",size=-,uuid=${uuid_gpt_"PARTS_UMS"}\0" \
+
+#define CONFIG_EXTRA_ENV_SETTINGS \
+       "bootk=" \
+               "run loaddtb; run loaduimage; bootm 0x40007FC0 - ${fdtaddr}\0" \
+       "updatemmc=" \
+               "mmc boot 0 1 1 1; mmc write 0x42008000 0 0x200;" \
+               "mmc boot 0 1 1 0\0" \
+       "updatebackup=" \
+               "mmc boot 0 1 1 2; mmc write 0x42100000 0 0x200;" \
+               " mmc boot 0 1 1 0\0" \
+       "updatebootb=" \
+               "mmc read 0x51000000 0x80 0x200; run updatebackup\0" \
+       "updateuboot=" \
+               "mmc write 0x50000000 0x80 0x400\0" \
+       "mmcboot=" \
+               "setenv bootargs root=/dev/mmcblk${mmcdev}p${mmcrootpart} " \
+               "${lpj} rootwait ${console} ${meminfo} ${opts} ${lcdinfo}; " \
+               "run loaddtb; run loaduimage; bootm 0x40007FC0 - ${fdtaddr}\0" \
+       "bootchart=set opts init=/sbin/bootchartd; run bootcmd\0" \
+       "boottrace=setenv opts initcall_debug; run bootcmd\0" \
+       "verify=n\0" \
+       "rootfstype=ext4\0" \
+       "console=" CONFIG_DEFAULT_CONSOLE \
+       "kernelname=uImage\0" \
+       "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x40007FC0 uImage\0" \
+               "0x40007FC0 ${kernelname}\0" \
+       "loaddtb=ext4load mmc ${mmcdev}:${mmcbootpart} ${fdtaddr} " \
+               "${fdtfile}\0" \
+       "mmcdev=0\0" \
+       "mmcbootpart=2\0" \
+       "mmcrootpart=5\0" \
+       "opts=always_resume=1\0" \
+       "partitions=" PARTS_DEFAULT \
+       "uartpath=ap\0" \
+       "usbpath=ap\0" \
+       "consoleon=set console console=ttySAC2,115200n8; save; reset\0" \
+       "consoleoff=set console console=ram; save; reset\0" \
+       "spladdr=0x40000100\0" \
+       "splsize=0x200\0" \
+       "splfile=falcon.bin\0" \
+       "spl_export=" \
+                  "setexpr spl_imgsize ${splsize} + 8 ;" \
+                  "setenv spl_imgsize 0x${spl_imgsize};" \
+                  "setexpr spl_imgaddr ${spladdr} - 8 ;" \
+                  "setexpr spl_addr_tmp ${spladdr} - 4 ;" \
+                  "mw.b ${spl_imgaddr} 0x00 ${spl_imgsize};run loaduimage;" \
+                  "setenv bootargs root=/dev/mmcblk${mmcdev}p${mmcrootpart} " \
+                  "${lpj} rootwait ${console} ${meminfo} ${opts} ${lcdinfo};" \
+                  "spl export atags 0x40007FC0;" \
+                  "crc32 ${spladdr} ${splsize} ${spl_imgaddr};" \
+                  "mw.l ${spl_addr_tmp} ${splsize};" \
+                  "ext4write mmc ${mmcdev}:${mmcbootpart}" \
+                  " /${splfile} ${spl_imgaddr} ${spl_imgsize};" \
+                  "setenv spl_imgsize;" \
+                  "setenv spl_imgaddr;" \
+                  "setenv spl_addr_tmp;\0" \
+       "fdtaddr=40800000\0" \
+       "fdtfile=exynos4412-trats2.dtb\0"
+
+/*
+ * Miscellaneous configurable options
+ */
+#define CONFIG_SYS_LONGHELP                    /* undef to save memory */
+#define CONFIG_SYS_PROMPT      "Trats2 # "     /* Monitor Command Prompt */
+#define CONFIG_SYS_CBSIZE      256             /* Console I/O Buffer Size */
+#define CONFIG_SYS_PBSIZE      384             /* Print Buffer Size */
+#define CONFIG_SYS_MAXARGS     32              /* max number of command args */
+
+/* Boot Argument Buffer Size */
+#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
+
+/* memtest works on */
+#define CONFIG_SYS_MEMTEST_START       CONFIG_SYS_SDRAM_BASE
+#define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_SDRAM_BASE + 0x5000000)
+#define CONFIG_SYS_LOAD_ADDR           (CONFIG_SYS_SDRAM_BASE + 0x4800000)
+
+#define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_LOAD_ADDR \
+                                       - GENERATED_GBL_DATA_SIZE)
+
+#define CONFIG_SYS_HZ                  1000
+
+/* valid baudrates */
+#define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 }
+
+#define CONFIG_SYS_MONITOR_BASE                0x00000000
+
+/*-----------------------------------------------------------------------
+ * FLASH and environment organization
+ */
+
+#define CONFIG_SYS_MONITOR_LEN         (256 << 10)     /* Reserve 2 sectors */
+
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_MMC_ENV_DEV         CONFIG_MMC_DEFAULT_DEV
+#define CONFIG_ENV_SIZE                        4096
+#define CONFIG_ENV_OFFSET              ((32 - 4) << 10) /* 32KiB - 4KiB */
+#define CONFIG_EFI_PARTITION
+#define CONFIG_PARTITION_UUIDS
+
+#define CONFIG_MISC_INIT_R
+#define CONFIG_BOARD_EARLY_INIT_F
+
+/* I2C */
+#include <asm/arch/gpio.h>
+
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_SOFT            /* I2C bit-banged */
+#define CONFIG_SYS_I2C_SOFT_SPEED      50000
+#define CONFIG_SYS_I2C_SOFT_SLAVE      0x00
+#define I2C_SOFT_DECLARATIONS2
+#define CONFIG_SYS_I2C_SOFT_SPEED_2     50000
+#define CONFIG_SYS_I2C_SOFT_SLAVE_2     0x00
+#define I2C_SOFT_DECLARATIONS3
+#define CONFIG_SYS_I2C_SOFT_SPEED_3     50000
+#define CONFIG_SYS_I2C_SOFT_SLAVE_3     0x00
+#define CONFIG_SOFT_I2C_READ_REPEATED_START
+#define CONFIG_SYS_I2C_INIT_BOARD
+#define CONFIG_I2C_MULTI_BUS
+#define CONFIG_SOFT_I2C_MULTI_BUS
+#define CONFIG_SYS_MAX_I2C_BUS         15
+
+#define CONFIG_SOFT_I2C_I2C5_SCL exynos4x12_gpio_part1_get_nr(d0, 3)
+#define CONFIG_SOFT_I2C_I2C5_SDA exynos4x12_gpio_part1_get_nr(d0, 2)
+#define CONFIG_SOFT_I2C_I2C9_SCL exynos4x12_gpio_part1_get_nr(f1, 4)
+#define CONFIG_SOFT_I2C_I2C9_SDA exynos4x12_gpio_part1_get_nr(f1, 5)
+#define CONFIG_SOFT_I2C_I2C10_SCL exynos4x12_gpio_part2_get_nr(m2, 1)
+#define CONFIG_SOFT_I2C_I2C10_SDA exynos4x12_gpio_part2_get_nr(m2, 0)
+#define CONFIG_SOFT_I2C_GPIO_SCL get_multi_scl_pin()
+#define CONFIG_SOFT_I2C_GPIO_SDA get_multi_sda_pin()
+#define I2C_INIT multi_i2c_init()
+
+/* POWER */
+#define CONFIG_POWER
+#define CONFIG_POWER_I2C
+#define CONFIG_POWER_MAX77686
+#define CONFIG_POWER_PMIC_MAX77693
+#define CONFIG_POWER_MUIC_MAX77693
+#define CONFIG_POWER_FG_MAX77693
+#define CONFIG_POWER_BATTERY_TRATS2
+
+/* LCD */
+#define CONFIG_EXYNOS_FB
+#define CONFIG_LCD
+#define CONFIG_CMD_BMP
+#define CONFIG_BMP_32BPP
+#define CONFIG_FB_ADDR         0x52504000
+#define CONFIG_S6E8AX0
+#define CONFIG_EXYNOS_MIPI_DSIM
+#define CONFIG_VIDEO_BMP_GZIP
+#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE ((500 * 250 * 4) + (1 << 12))
+
+/* Pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT    1
+
+#endif /* __CONFIG_H */
index a9b271464a3026c44b9a5f67046360b0bb97977a..b102739a0e3cfbcf1d7578ace8900f5cebb8cdc8 100644 (file)
@@ -10,7 +10,7 @@
  *
  * Configuration settings for the Tricorder board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index c7c6952d2b73e86c8388fea8af18feb36c6352e6..885b3eeddc0445ad2be9646d9fe3f7ae64a108b6 100644 (file)
@@ -14,7 +14,7 @@
  *
  * Configuation settings for the LUBBOCK board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index a755d520d7c24bb9c8f02827935d324ecd986d1d..5942bdf21d20b0c09ade1612ebe0aaf103378cc0 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Configuration settings for the HALE TT-01 board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 93dd3c58a864d5338d4e95ebcf39035094081f84..69100364921fcffb2840fd165d91a98b0fdec263 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009 DENX Software Engineering
  * Author: John Rigby <jrigby@gmail.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 8bf7353bc1f3653f33e008c329acb127d3ed2189..faae7ffd263605983e1eb1cd64a0c4688bb7791f 100644 (file)
@@ -65,7 +65,7 @@
        "flash_self=run ramargs addip addtty;"                          \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-               "bootm\0"                                               \
+               "bootm\0"                                               \
        "rootpath=/opt/eldk/ppc_8xx\0"                                  \
        "bootfile=/tftpboot/uc100/uImage\0"                             \
        "kernel_addr=40000000\0"                                        \
index a11745fdb99678bf1bb2c548dd266069fa1f830e..f93dea7b374f49c204f1f6a225e611c774375f9d 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003-2009
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index bf044456ce6631ef9ac9e262a237a2337fe06b5c..8f4a4702ace33ee87db15606872d69042cd4f6b1 100644 (file)
@@ -7,7 +7,7 @@
  * Matthew E. Karger, karger@arlut.utexas.edu
  * Applied Research Laboratories, The University of Texas at Austin
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index a4b4732ce5ff6aa9f384f0c8a0d9148abc540596..5527511df2e771dbfbdb12d443029cf7710f3ba4 100644 (file)
@@ -4,7 +4,7 @@
  * (C) Copyright 2010
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 /*
  * ve8313 board configuration file
index 8d3ff6aab7eac4d30b00103e08ae78712362fa57..36daeb34a0d2e909eae3350c463a3bcda0042bce 100644 (file)
@@ -9,7 +9,7 @@
  * Philippe Robin, <philippe.robin@arm.com>
  * Configuration for Versatile PB.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 080603409698b92c1db2f599e801b7e55d0511a8..982f4a75ef6775e99f08c16ed6515501d490fbab 100644 (file)
@@ -5,7 +5,7 @@
  * Configuration for Versatile Express. Parts were derived from other ARM
  *   configurations.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __VEXPRESS_CA15X2_TC2_h
index 7926905b22c66a49a5e68efe5b94ab7e7d75bbe6..7719d59e15eb3e6be08bfceeaeff179d08cfa9ed 100644 (file)
@@ -5,7 +5,7 @@
  * Configuration for Versatile Express. Parts were derived from other ARM
  *   configurations.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __VEXPRESS_CA5X2_h
index 2c08caaa015b7a0ad23c977e0c401d557da042e3..38ac4ed38ddee4012970c54e10264bc5d05a0130 100644 (file)
@@ -5,7 +5,7 @@
  * Configuration for Versatile Express. Parts were derived from other ARM
  *   configurations.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __VEXPRESS_CA9X4_H
index 75a45000ec4a5e9e57e054e313e60d8519538278..5598961aa7b854702bc3e67818edad848840499a 100644 (file)
@@ -6,7 +6,7 @@
  * Configuration for Versatile Express. Parts were derived from other ARM
  *   configurations.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __VEXPRESS_COMMON_H
index c24ce9c057c091f149fc6926f0a6530809e79e6d..4744d7cb68bc40e6d4b612a0231908b9f30d601e 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Configuration settings for the MX51-3Stack Freescale board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index b450ab5e17423caad8daa142ddd31aa443ce1a63..d5666227e391f99a6bb5d382c638ec114ca4c63c 100644 (file)
@@ -8,7 +8,7 @@
  * reinhard.arlt@esd-electronics.de
  * Based on the MPC8349EMDS config.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index b23824bd0abe2096d5803e2925403e56fc08c085..a5691825ee8e7452a10309ee807529c3a7767e8f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2005
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 3191ff98ae3ca81eaf8852e7d8b317a7ca724a71..c14f7d47d061b7aa0a7661c9c4e87f02a551bd0e 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Configuration for the woodburn board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 6b7e81f3071cd464e98da1eb327bc94572d20ad3..5c442ad865c07fc979511800bdb94ff11e521459 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Configuration for the woodburn board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __WOODBURN_COMMON_CONFIG_H
index c86692da5ce1262146971909cae399292a5aa77e..10e1d170ba20d98f2c4cb147803af339eba552ee 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Configuration for the woodburn board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 28c84db032a65196bf1d55a830a81061201b0e35..5f34fc76940155689d757fe6e3773f4ad3748477 100644 (file)
@@ -14,7 +14,7 @@
  *
  * Configuation settings for the xaeniax board.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index ea270509c1e405ab40faf3e207be098c88207946..a1dea657afab1413cc8bfc7238c9f9ef1c0161d4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 4d3abf08bd717bbf91e8a38f6bf9334ba4c60eb5..2dd742e327b7910bd53a3c619566f1e443dfbd4e 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2005-2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
index 386f9deb701f8dc50922c57e7ca15ec31b7ecbf9..237fcb15127222b7fa6613fe6daea730d264955a 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2007
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /************************************************************************
                " ramdisk_size=${ramdisk_size}\0"                       \
        "addip=setenv bootargs ${bootargs} "                            \
                "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"      \
-               ":${hostname}:${netdev}:off panic=1\0"                  \
+               ":${hostname}:${netdev}:off panic=1\0"                  \
        "addtty=setenv bootargs ${bootargs} console=ttyS0,"             \
                "${baudrate}\0"                                         \
        "net_nfs=tftp ${kernel_mem_addr} ${file_kernel};"               \
        "file_fs=/zeus/rootfs_ba.img\0"                                 \
        "tftp_fs=tftp 100000 ${file_fs}\0"                              \
        "update_fs=protect off ff300000 ff87ffff;era ff300000 ff87ffff;"\
-               "cp.b 100000 ff300000 580000\0"                         \
+               "cp.b 100000 ff300000 580000\0"                         \
        "upd_fs=run tftp_fs;run update_fs\0"                            \
        "bootcmd=chkreset;run ramargs addip addtty addmisc;"            \
                "bootm ${kernel_fl_addr} ${ramdisk_fl_addr}\0"          \
index c2dbdcb99f5ab8dfb9ed4142c3a10322bed11029..69aafa74cd253c5e9d23fd3f115b6f2af16304d3 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2009-2010 Marek Vasut <marek.vasut@gmail.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __CONFIG_H
index 769354914fe0b9e15f38af52402797e528740930..142b55546f3efc21c8cc4235c6e1d2a95eb05616 100644 (file)
@@ -3,7 +3,7 @@
  * Data Flash Atmel Description File
  * Author : Hamid Ikdoumi (Atmel)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* File Name           : dataflash.h                                   */
index 9e74d8729e23c2a56c48424a84a8a76210a66529..f5809e5e1bfcaa7e1d4526237f0c976e95f3d30d 100644 (file)
@@ -39,7 +39,7 @@ typedef struct ddr1_spd_eeprom_s {
        unsigned char dev_attr;    /* 22 SDRAM Device Attributes */
        unsigned char clk_cycle2;  /* 23 Min SDRAM Cycle time @ CL=X-0.5 */
        unsigned char clk_access2; /* 24 SDRAM Access from
-                                        Clk @ CL=X-0.5 (tAC) */
+                                        Clk @ CL=X-0.5 (tAC) */
        unsigned char clk_cycle3;  /* 25 Min SDRAM Cycle time @ CL=X-1 */
        unsigned char clk_access3; /* 26 Max Access from Clk @ CL=X-1 (tAC) */
        unsigned char trp;         /* 27 Min Row Precharge Time (tRP)*/
@@ -112,9 +112,9 @@ typedef struct ddr2_spd_eeprom_s {
        unsigned char ca_setup;    /* 32 Addr+Cmd Setup Time Before Clk (tIS) */
        unsigned char ca_hold;     /* 33 Addr+Cmd Hold Time After Clk (tIH) */
        unsigned char data_setup;  /* 34 Data Input Setup Time
-                                        Before Strobe (tDS) */
+                                        Before Strobe (tDS) */
        unsigned char data_hold;   /* 35 Data Input Hold Time
-                                        After Strobe (tDH) */
+                                        After Strobe (tDH) */
        unsigned char twr;         /* 36 Write Recovery time tWR */
        unsigned char twtr;        /* 37 Int write to read delay tWTR */
        unsigned char trtp;        /* 38 Int read to precharge delay tRTP */
@@ -128,40 +128,40 @@ typedef struct ddr2_spd_eeprom_s {
        unsigned char pll_relock;  /* 46 PLL Relock time */
        unsigned char Tcasemax;    /* 47 Tcasemax */
        unsigned char psiTAdram;   /* 48 Thermal Resistance of DRAM Package from
-                                        Top (Case) to Ambient (Psi T-A DRAM) */
+                                        Top (Case) to Ambient (Psi T-A DRAM) */
        unsigned char dt0_mode;    /* 49 DRAM Case Temperature Rise from Ambient
-                                        due to Activate-Precharge/Mode Bits
+                                        due to Activate-Precharge/Mode Bits
                                         (DT0/Mode Bits) */
        unsigned char dt2n_dt2q;   /* 50 DRAM Case Temperature Rise from Ambient
-                                        due to Precharge/Quiet Standby
+                                        due to Precharge/Quiet Standby
                                         (DT2N/DT2Q) */
        unsigned char dt2p;        /* 51 DRAM Case Temperature Rise from Ambient
-                                        due to Precharge Power-Down (DT2P) */
+                                        due to Precharge Power-Down (DT2P) */
        unsigned char dt3n;        /* 52 DRAM Case Temperature Rise from Ambient
-                                        due to Active Standby (DT3N) */
+                                        due to Active Standby (DT3N) */
        unsigned char dt3pfast;    /* 53 DRAM Case Temperature Rise from Ambient
-                                        due to Active Power-Down with
+                                        due to Active Power-Down with
                                         Fast PDN Exit (DT3Pfast) */
        unsigned char dt3pslow;    /* 54 DRAM Case Temperature Rise from Ambient
-                                        due to Active Power-Down with Slow
+                                        due to Active Power-Down with Slow
                                         PDN Exit (DT3Pslow) */
        unsigned char dt4r_dt4r4w; /* 55 DRAM Case Temperature Rise from Ambient
-                                        due to Page Open Burst Read/DT4R4W
+                                        due to Page Open Burst Read/DT4R4W
                                         Mode Bit (DT4R/DT4R4W Mode Bit) */
        unsigned char dt5b;        /* 56 DRAM Case Temperature Rise from Ambient
-                                        due to Burst Refresh (DT5B) */
+                                        due to Burst Refresh (DT5B) */
        unsigned char dt7;         /* 57 DRAM Case Temperature Rise from Ambient
-                                        due to Bank Interleave Reads with
+                                        due to Bank Interleave Reads with
                                         Auto-Precharge (DT7) */
        unsigned char psiTApll;    /* 58 Thermal Resistance of PLL Package form
-                                        Top (Case) to Ambient (Psi T-A PLL) */
+                                        Top (Case) to Ambient (Psi T-A PLL) */
        unsigned char psiTAreg;    /* 59 Thermal Reisitance of Register Package
-                                        from Top (Case) to Ambient
+                                        from Top (Case) to Ambient
                                         (Psi T-A Register) */
        unsigned char dtpllactive; /* 60 PLL Case Temperature Rise from Ambient
-                                        due to PLL Active (DT PLL Active) */
+                                        due to PLL Active (DT PLL Active) */
        unsigned char dtregact;    /* 61 Register Case Temperature Rise from
-                                        Ambient due to Register Active/Mode Bit
+                                        Ambient due to Register Active/Mode Bit
                                         (DT Register Active/Mode Bit) */
        unsigned char spd_rev;     /* 62 SPD Data Revision Code */
        unsigned char cksum;       /* 63 Checksum for bytes 0-62 */
index 29268f64ea2b478515b3974ac968fad02177d87e..058bca4d5d6c0193e7e83bb1ab3714359cdd2a8c 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Erik Theisen,  Wave 7 Optics, etheisen@mindspring.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index a7010269d383f6cae79842918bb8ef579cbc8dca..90431beb192db11a16fef8ba8108a65ef5b19392 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Andreas Heppel <aheppel@sysgo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <env_callback.h>
index 77f8b7e47a0ffbbfd67e269a4d39ce2d9a32e7f4..5454c9ea218e29d27e1a883657bfdf59ba38be22 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2005
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _FLASH_H_
index f50e0e2733764bb3fcd8dfb27031c28771c37a80..85ddbcb93be6c4bed23190a3691d13826e30651d 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2010
  * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __GDSYS_FPGA_H
index e1943e507c023f650b687461137264e7ca36da64..dd0d23fa52a48fafab5ea2d29c56c9771ef8afc0 100644 (file)
@@ -32,8 +32,8 @@ struct part_info {
        struct list_head link;
        char *name;                     /* partition name */
        u8 auto_name;                   /* set to 1 for generated name */
-       u32 size;                       /* total size of the partition */
-       u32 offset;                     /* offset within device */
+       u64 size;                       /* total size of the partition */
+       u64 offset;                     /* offset within device */
        void *jffs2_priv;               /* used internaly by jffs2 */
        u32 mask_flags;                 /* kernel MTD mask flags */
        u32 sector_size;                /* size of sector */
@@ -44,7 +44,7 @@ struct mtdids {
        struct list_head link;
        u8 type;                        /* device type */
        u8 num;                         /* device number */
-       u32 size;                       /* device size */
+       u64 size;                       /* device size */
        char *mtd_id;                   /* linux kernel device id */
 };
 
index b54255a51e08491cd0dc73b01aeb91765bdd2677..40e8d2a86b5018fa7ac56211f8aa97685c1c4906 100644 (file)
@@ -7,7 +7,7 @@
  * (C) Copyright 2001
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _LCD_H_
index 2055584374d6277629ee3ec16b8c9a812af65483..0546565593546734d1e91b822d555fe2e25572db 100644 (file)
@@ -464,6 +464,8 @@ struct nand_buffers {
  * @pagemask:          [INTERN] page number mask = number of (pages / chip) - 1
  * @pagebuf:           [INTERN] holds the pagenumber which is currently in
  *                     data_buf.
+ * @pagebuf_bitflips:  [INTERN] holds the bitflip count for the page which is
+ *                     currently in data_buf.
  * @subpagesize:       [INTERN] holds the subpagesize
  * @onfi_version:      [INTERN] holds the chip ONFI version (BCD encoded),
  *                     non 0 if ONFI supported.
@@ -531,6 +533,7 @@ struct nand_chip {
        uint64_t chipsize;
        int pagemask;
        int pagebuf;
+       unsigned int pagebuf_bitflips;
        int subpagesize;
        uint8_t cellinfo;
        int badblockpos;
index df214a17987c6c5987da1fd0f2c06e442e683939..8e45a81f92408756cfe5a1ac859c0b629c057ca0 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2003
  * Orbacom Systems, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __LYNXKDI_H__
index 975a5dd2a7eec619f7f57065370bcaa2f0da1e0b..31d6f693dafeb705f4ad06482338500b621762fe 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright Rob Taylor, Flying Pig Systems Ltd. 2000.
  * Copyright (C) 2001, James Dougherty, jfd@cs.stanford.edu
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __MPC824X_H__
index 3cde26b940883582864b9d93abeac6cba27fc4e6..33a2cd805791d254c01462893e4d1279fc39948e 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index ed4ba8d2b609d4dc0bdb1d65bba4d45e5fae32d3..84116f493722e41d1cd808c2005802ccf07782c0 100644 (file)
@@ -8,7 +8,7 @@
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
- * version 2 as published by the Free Software Foundation. 
+ * version 2 as published by the Free Software Foundation.
  */
 
 #ifndef _NAND_H_
index ff62407d055e9eaf4bf9e4b6c960c5a915aeee1d..ce840bd841b21d7ce4fb1080264567c42c3d4b65 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef _PART_H
 #define _PART_H
index 33cd3be75c8b3fc12a643e572e48d6b1f47bcbc1..d68ef3bb3741691baa1becb09f094400850bbc89 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 2008 RuggedCom, Inc.
  * Richard Retanubun <RichardRetanubun@RuggedCom.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index c98db1b75d2ac6cd7bc525d59ea4d3418029db29..16e90160894d2d3fee30e182b9758e663751f092 100644 (file)
@@ -36,7 +36,7 @@ enum {
        MAX77686_REG_PMIC_BUCK2DVS7,
        MAX77686_REG_PMIC_BUCK2DVS8,
        MAX77686_REG_PMIC_BUCK3CTRL,
-       MAX77686_REG_PMIC_BUCK3DVS1,
+       MAX77686_REG_PMIC_BUCK3DVS1     = 0x1e,
        MAX77686_REG_PMIC_BUCK3DVS2,
        MAX77686_REG_PMIC_BUCK3DVS3,
        MAX77686_REG_PMIC_BUCK3DVS4,
diff --git a/include/power/max77693_fg.h b/include/power/max77693_fg.h
new file mode 100644 (file)
index 0000000..42626ed
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ * Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#ifndef __MAX77693_FG_H_
+#define __MAX77693_FG_H_
+
+/* MAX 77693 registers */
+enum {
+       MAX77693_STATUS         = 0x00,
+       MAX77693_SOCREP         = 0x06,
+       MAX77693_VCELL          = 0x09,
+       MAX77693_CURRENT        = 0x0A,
+       MAX77693_AVG_CURRENT    = 0x0B,
+       MAX77693_SOCMIX         = 0x0D,
+       MAX77693_SOCAV          = 0x0E,
+       MAX77693_DESIGN_CAP     = 0x18,
+       MAX77693_AVG_VCELL      = 0x19,
+       MAX77693_CONFIG         = 0x1D,
+       MAX77693_VERSION        = 0x21,
+       MAX77693_LEARNCFG       = 0x28,
+       MAX77693_FILTERCFG      = 0x29,
+       MAX77693_RELAXCFG       = 0x2A,
+       MAX77693_MISCCFG        = 0x2B,
+       MAX77693_CGAIN          = 0x2E,
+       MAX77693_COFF           = 0x2F,
+       MAX77693_RCOMP0         = 0x38,
+       MAX77693_TEMPCO         = 0x39,
+       MAX77693_FSTAT          = 0x3D,
+       MAX77693_VFOCV          = 0xEE,
+       MAX77693_VFSOC          = 0xFF,
+
+       FG_NUM_OF_REGS          = 0x100,
+};
+
+#define MAX77693_POR (1 << 1)
+
+#define MODEL_UNLOCK1          0x0059
+#define MODEL_UNLOCK2          0x00c4
+#define MODEL_LOCK1            0x0000
+#define MODEL_LOCK2            0x0000
+
+#define MAX77693_FUEL_I2C_ADDR (0x6C >> 1)
+
+int power_fg_init(unsigned char bus);
+#endif /* __MAX77693_FG_H_ */
diff --git a/include/power/max77693_muic.h b/include/power/max77693_muic.h
new file mode 100644 (file)
index 0000000..a2c29eb
--- /dev/null
@@ -0,0 +1,74 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ * Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#ifndef __MAX77693_MUIC_H_
+#define __MAX77693_MUIC_H_
+
+#include <power/power_chrg.h>
+
+/*
+ * MUIC REGISTER
+ */
+
+#define MAX77693_MUIC_PREFIX   "max77693-muic:"
+
+/* MAX77693_MUIC_STATUS1 */
+#define MAX77693_MUIC_ADC_MASK 0x1F
+
+/* MAX77693_MUIC_STATUS2 */
+#define MAX77693_MUIC_CHG_NO           0x00
+#define MAX77693_MUIC_CHG_USB          0x01
+#define MAX77693_MUIC_CHG_USB_D                0x02
+#define MAX77693_MUIC_CHG_TA           0x03
+#define MAX77693_MUIC_CHG_TA_500       0x04
+#define MAX77693_MUIC_CHG_TA_1A                0x05
+#define MAX77693_MUIC_CHG_MASK         0x07
+
+/* MAX77693_MUIC_CONTROL1 */
+#define MAX77693_MUIC_CTRL1_DN1DP2     ((0x1 << 3) | 0x1)
+#define MAX77693_MUIC_CTRL1_UT1UR2     ((0x3 << 3) | 0x3)
+#define MAX77693_MUIC_CTRL1_ADN1ADP2   ((0x4 << 3) | 0x4)
+#define MAX77693_MUIC_CTRL1_AUT1AUR2   ((0x5 << 3) | 0x5)
+#define MAX77693_MUIC_CTRL1_MASK       0xC0
+
+#define MUIC_PATH_USB  0
+#define MUIC_PATH_UART 1
+
+#define MUIC_PATH_CP   0
+#define MUIC_PATH_AP   1
+
+enum muic_path {
+       MUIC_PATH_USB_CP,
+       MUIC_PATH_USB_AP,
+       MUIC_PATH_UART_CP,
+       MUIC_PATH_UART_AP,
+};
+
+/* MAX 777693 MUIC registers */
+enum {
+       MAX77693_MUIC_ID        = 0x00,
+       MAX77693_MUIC_INT1      = 0x01,
+       MAX77693_MUIC_INT2      = 0x02,
+       MAX77693_MUIC_INT3      = 0x03,
+       MAX77693_MUIC_STATUS1   = 0x04,
+       MAX77693_MUIC_STATUS2   = 0x05,
+       MAX77693_MUIC_STATUS3   = 0x06,
+       MAX77693_MUIC_INTMASK1  = 0x07,
+       MAX77693_MUIC_INTMASK2  = 0x08,
+       MAX77693_MUIC_INTMASK3  = 0x09,
+       MAX77693_MUIC_CDETCTRL  = 0x0A,
+       MAX77693_MUIC_CONTROL1  = 0x0C,
+       MAX77693_MUIC_CONTROL2  = 0x0D,
+       MAX77693_MUIC_CONTROL3  = 0x0E,
+
+       MUIC_NUM_OF_REGS        = 0x0F,
+};
+
+#define MAX77693_MUIC_I2C_ADDR (0x4A >> 1)
+
+int power_muic_init(unsigned int bus);
+#endif /* __MAX77693_MUIC_H_ */
diff --git a/include/power/max77693_pmic.h b/include/power/max77693_pmic.h
new file mode 100644 (file)
index 0000000..616d051
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ * Piotr Wilczek <p.wilczek@samsung.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#ifndef __MAX77693_PMIC_H_
+#define __MAX77693_PMIC_H_
+
+#include <power/power_chrg.h>
+
+enum {CHARGER_ENABLE, CHARGER_DISABLE};
+
+#define CHARGER_MIN_CURRENT 200
+#define CHARGER_MAX_CURRENT 2000
+
+#define MAX77693_CHG_PREFIX    "max77693-chg:"
+
+/* Registers */
+
+#define MAX77693_CHG_BASE      0xB0
+#define MAX77693_CHG_INT_OK    0xB2
+#define MAX77693_CHG_CNFG_00   0xB7
+#define MAX77693_CHG_CNFG_02   0xB9
+#define MAX77693_CHG_CNFG_06   0xBD
+#define MAX77693_SAFEOUT       0xC6
+
+#define PMIC_NUM_OF_REGS       0xC7
+
+#define MAX77693_CHG_DETBAT    (0x1 << 7)      /* MAX77693_CHG_INT_OK */
+#define MAX77693_CHG_MODE_ON   0x05            /* MAX77693_CHG_CNFG_00 */
+#define MAX77693_CHG_CC                0x3F            /* MAX77693_CHG_CNFG_02 */
+#define MAX77693_CHG_LOCK      (0x0 << 2)      /* MAX77693_CHG_CNFG_06 */
+#define MAX77693_CHG_UNLOCK    (0x3 << 2)      /* MAX77693_CHG_CNFG_06 */
+
+#define MAX77693_ENSAFEOUT1    (1 << 6)
+#define MAX77693_ENSAFEOUT2    (1 << 7)
+
+#define MAX77693_PMIC_I2C_ADDR (0xCC >> 1)
+
+int pmic_init_max77693(unsigned char bus);
+#endif /* __MAX77693_PMIC_H_ */
index 1ff5af4dfcb446caf6f549f2c62b365090023c24..25ca8f177b3452329e277c83dd357946ce6749ba 100644 (file)
@@ -9,7 +9,7 @@
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
- * version 2 as published by the Free Software Foundation. 
+ * version 2 as published by the Free Software Foundation.
  */
 
 #ifndef _SPI_FLASH_H_
index a0beba73e4640bd7051b31909216ab0f40819d9a..9b635e150ab89722ef1f987b3729c09499f32105 100644 (file)
@@ -5,7 +5,7 @@
  *
  * (C) Copyright 2003 Stefan Roese, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _tsi148_h
index 535b403a62ca020d63d6c71b417cfaa4cca4e605..eb81e073d8cd75aa080b872a13aa117072aea1a0 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2003 Stefan Roese, stefan.roese@esd-electronics.com
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _universe_h
index 6447b15f20431416e693729a484aad2808017adc..6a0230e5a1bde963eb9e7928c00a62b8e4517874 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000
  * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _VIDEO_AD7176_H_
index 7226ed2e2f85fb2ef77d449422ca1c4a690c1ff2..38436d641471fa065ff39a091f0b0d083e36aa57 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000
  * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _VIDEO_AD7177_H_
index d1778d5b5be11cee55b08e35772ceda3a0e55bce..0dcd2debcbdcc8d9c4d3e813e93d3507b360137a 100644 (file)
 s{((0x)?[0-9a-fA-F]+)(.*\[([\*\ ]{4})\])}{
 
        ($num,$pat,$bits) = ($1,$3,$4);
-       
+
        $bits =~ s/([^\s0])|(.)/ defined($1) + 0 /ge;
-       
+
        $num = ord(pack("B8", $bits));
        $num |= $num >> 4;
        $num = sprintf("0x%.2x", $num);
-       
+
        #print "$num,$pat,$bits\n";
-       
+
        $num . $pat;
 }ge;
 
index 2ac41d1923069bcda08fd5cba4bb8067899a3f32..5624482d573b947fb3d533562bda755d75995853 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2009
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __VSPRINTF_H
index b2219044ddd48dc66f92f0aefcd72d5c0f34c2ac..aacacb970a1bab2f03f5b6731811bf0379a9fa42 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2001
  * Erik Theisen,  Wave 7 Optics, etheisen@mindspring.com.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index ac6c1fb04ffbaa3ecf877d68faa5b9b1d5399b9b..34f1c8443130051a6e77e25841a8760f96948398 100644 (file)
@@ -36,4 +36,3 @@ int fdt_create_empty_tree(void *buf, int bufsize)
 
        return fdt_open_into(buf, buf, bufsize);
 }
-
index 8cdd192ea3279af01b119d6062f73a553446282d..f90749f8ed17f4f659c75aceb8d92833c58d1a9b 100644 (file)
@@ -688,7 +688,7 @@ int main(int argc, char *argv[])
                fprintf(stderr, "Error compiling slre: %s\n", slre.err_str);
                return 1;
        }
-       
+
        slre_dump(&slre, stderr);
 
        while (fgets(data, sizeof(data), fp) != NULL) {
index 3a82efab6194ce394ebc57e225a17062f7e17757..29c2ca7ef6b12688ccfec0c4ec8451ad47f49e1f 100644 (file)
@@ -675,4 +675,3 @@ void *memchr_inv(const void *start, int c, size_t bytes)
        return check_bytes8(start, value, bytes % 8);
 }
 #endif
-
index 03e25f37ea7f478548083999c07a679cb280e415..1afa1a27a90ec33f651e8d1a090b555050670773 100644 (file)
@@ -126,7 +126,7 @@ void nand_boot(void)
         * Load U-Boot image from NAND into RAM
         */
        nand_load(CONFIG_SYS_NAND_U_BOOT_OFFS, CONFIG_SYS_NAND_U_BOOT_SIZE,
-                 (uchar *)CONFIG_SYS_NAND_U_BOOT_DST);
+                 (uchar *)CONFIG_SYS_NAND_U_BOOT_DST);
 
        /*
         * Jump to U-Boot image
index 878b2ca7abeea993fd0cc2aa588e40fde20125be..8a4b89b9835b166c3a8a4384bb36b527b374b539 100644 (file)
@@ -89,7 +89,7 @@ int cpu_post_test_andi (void)
 
            if (ret != 0)
            {
-               post_log ("Error at andi test %d !\n", i);
+               post_log ("Error at andi test %d !\n", i);
            }
        }
     }
index 66adad8f79aac071b23db62c92999fbba4e423a4..b5c588919e76186703005f41ff8df019cb1b7d2e 100644 (file)
 
 #define ASM_0(opcode)                  (opcode)
 #define ASM_1(opcode, rd)              ((opcode) +             \
-                                        ((rd) << 21))
+                                        ((rd) << 21))
 #define ASM_1C(opcode, cr)             ((opcode) +             \
-                                        ((cr) << 23))
+                                        ((cr) << 23))
 #define ASM_11(opcode, rd, rs)         ((opcode) +             \
-                                        ((rd) << 21) +         \
+                                        ((rd) << 21) +         \
                                         ((rs) << 16))
 #define ASM_11C(opcode, cd, cs)                ((opcode) +             \
-                                        ((cd) << 23) +         \
+                                        ((cd) << 23) +         \
                                         ((cs) << 18))
 #define ASM_11X(opcode, rd, rs)                ((opcode) +             \
-                                        ((rs) << 21) +         \
+                                        ((rs) << 21) +         \
                                         ((rd) << 16))
 #define ASM_11I(opcode, rd, rs, simm)  ((opcode) +             \
-                                        ((rd) << 21) +         \
+                                        ((rd) << 21) +         \
                                         ((rs) << 16) +         \
                                         ((simm) & 0xffff))
 #define ASM_11IF(opcode, rd, rs, simm) ((opcode) +             \
-                                        ((rd) << 21) +         \
+                                        ((rd) << 21) +         \
                                         ((rs) << 16) +         \
                                         ((simm) << 11))
 #define ASM_11S(opcode, rd, rs, sh)    ((opcode) +             \
-                                        ((rs) << 21) +         \
+                                        ((rs) << 21) +         \
                                         ((rd) << 16) +         \
                                         ((sh) << 11))
 #define ASM_11IX(opcode, rd, rs, imm)  ((opcode) +             \
-                                        ((rs) << 21) +         \
+                                        ((rs) << 21) +         \
                                         ((rd) << 16) +         \
                                         ((imm) & 0xffff))
 #define ASM_12(opcode, rd, rs1, rs2)   ((opcode) +             \
-                                        ((rd) << 21) +         \
+                                        ((rd) << 21) +         \
                                         ((rs1) << 16) +        \
                                         ((rs2) << 11))
 #define ASM_12F(opcode, fd, fs1, fs2)  ((opcode) +             \
-                                        ((fd) << 21) +         \
+                                        ((fd) << 21) +         \
                                         ((fs1) << 16) +        \
                                         ((fs2) << 11))
 #define ASM_12X(opcode, rd, rs1, rs2)  ((opcode) +             \
-                                        ((rs1) << 21) +        \
+                                        ((rs1) << 21) +        \
                                         ((rd) << 16) +         \
                                         ((rs2) << 11))
 #define ASM_2C(opcode, cr, rs1, rs2)   ((opcode) +             \
-                                        ((cr) << 23) +         \
+                                        ((cr) << 23) +         \
                                         ((rs1) << 16) +        \
                                         ((rs2) << 11))
 #define ASM_1IC(opcode, cr, rs, imm)   ((opcode) +             \
-                                        ((cr) << 23) +         \
+                                        ((cr) << 23) +         \
                                         ((rs) << 16) +         \
                                         ((imm) & 0xffff))
 #define ASM_122(opcode, rd, rs1, rs2, imm1, imm2)              \
                                        ((opcode) +             \
-                                        ((rs1) << 21) +        \
+                                        ((rs1) << 21) +        \
                                         ((rd) << 16) +         \
                                         ((rs2) << 11) +        \
                                         ((imm1) << 6) +        \
                                         ((imm2) << 1))
 #define ASM_113(opcode, rd, rs, imm1, imm2, imm3)              \
                                        ((opcode) +             \
-                                        ((rs) << 21) +         \
+                                        ((rs) << 21) +         \
                                         ((rd) << 16) +         \
                                         ((imm1) << 11) +       \
                                         ((imm2) << 6) +        \
index eccf71daa3b55fcfbc8eb7c0dc903c6c94d2db14..6bd53d06cbc5ece45d1814a01a9014d821d2a6af 100644 (file)
@@ -114,7 +114,7 @@ int cpu_post_test_rlwimi (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at rlwimi test %d !\n", i);
+                   post_log ("Error at rlwimi test %d !\n", i);
                }
            }
 
@@ -127,8 +127,8 @@ int cpu_post_test_rlwimi (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at rlwimi test %d !\n", i);
-               }
+                   post_log ("Error at rlwimi test %d !\n", i);
+               }
            }
        }
     }
index 5eaf30b8e77677fa13a5edcb775639b1ebb60c93..35a1a40fc9d68bec8868cd961349183ed90ef524 100644 (file)
@@ -107,7 +107,7 @@ int cpu_post_test_rlwinm (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at rlwinm test %d !\n", i);
+                   post_log ("Error at rlwinm test %d !\n", i);
                }
            }
 
@@ -120,8 +120,8 @@ int cpu_post_test_rlwinm (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at rlwinm test %d !\n", i);
-               }
+                   post_log ("Error at rlwinm test %d !\n", i);
+               }
            }
        }
     }
index 83ee70b52d20e85600e2019fd4d416940c0f4a51..6e828939e0286a8a09386e2590763a6e84dd4b04 100644 (file)
@@ -117,7 +117,7 @@ int cpu_post_test_rlwnm (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at rlwnm test %d !\n", i);
+                   post_log ("Error at rlwnm test %d !\n", i);
                }
            }
 
@@ -130,8 +130,8 @@ int cpu_post_test_rlwnm (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at rlwnm test %d !\n", i);
-               }
+                   post_log ("Error at rlwnm test %d !\n", i);
+               }
            }
        }
     }
index b2760140b52d5f9fe2b9fa59f0a97fc8e16fb0cf..3723e339b9ccb8182723843e8f873b24c47f8027 100644 (file)
@@ -108,7 +108,7 @@ int cpu_post_test_srawi (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at srawi test %d !\n", i);
+                   post_log ("Error at srawi test %d !\n", i);
                }
            }
 
@@ -121,8 +121,8 @@ int cpu_post_test_srawi (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at srawi test %d !\n", i);
-               }
+                   post_log ("Error at srawi test %d !\n", i);
+               }
            }
        }
     }
index f7317dded09deea306af238553cc406af03670f0..c3e7f681ab100fd3d00f6a037edc44619253b4e1 100644 (file)
@@ -211,7 +211,7 @@ int cpu_post_test_three (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at three test %d !\n", i);
+                   post_log ("Error at three test %d !\n", i);
                }
            }
 
@@ -224,8 +224,8 @@ int cpu_post_test_three (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at three test %d !\n", i);
-               }
+                   post_log ("Error at three test %d !\n", i);
+               }
            }
        }
     }
index f6d90525325ec3f5f6a3cf10f9ac3a2511a415ad..1d40e1af33c4932ea1a379ba584b81168d9098f5 100644 (file)
@@ -103,7 +103,7 @@ int cpu_post_test_threei (void)
 
            if (ret != 0)
            {
-               post_log ("Error at threei test %d !\n", i);
+               post_log ("Error at threei test %d !\n", i);
            }
        }
     }
index 906fefd0d353ce1d6537f078bd215e3f265699ec..ce1edf89db5a9394bf955f170f2ecbd45b5be886 100644 (file)
@@ -181,7 +181,7 @@ int cpu_post_test_threex (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at threex test %d !\n", i);
+                   post_log ("Error at threex test %d !\n", i);
                }
            }
 
@@ -194,8 +194,8 @@ int cpu_post_test_threex (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at threex test %d !\n", i);
-               }
+                   post_log ("Error at threex test %d !\n", i);
+               }
            }
        }
     }
index 3a9b13684fa6873e5f81300a7017d8e1174ba78f..9549dbb750b8897426f25f1c72a31063a17db2ab 100644 (file)
@@ -128,7 +128,7 @@ int cpu_post_test_twox (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at twox test %d !\n", i);
+                   post_log ("Error at twox test %d !\n", i);
                }
            }
 
@@ -141,8 +141,8 @@ int cpu_post_test_twox (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at twox test %d !\n", i);
-               }
+                   post_log ("Error at twox test %d !\n", i);
+               }
            }
        }
     }
index 8834d5e8ab3433830c073b56488c416807af43e4..139ea019f24b4bb06a9effb0d01e6700f416a6a0 100644 (file)
@@ -127,8 +127,8 @@ static int uncompress_using_gzip(void *in, unsigned long in_size,
 }
 
 static int compress_using_bzip2(void *in, unsigned long in_size,
-                               void *out, unsigned long out_max,
-                               unsigned long *out_size)
+                               void *out, unsigned long out_max,
+                               unsigned long *out_size)
 {
        /* There is no bzip2 compression in u-boot, so fake it. */
        assert(in_size == strlen(plain));
index c36cde200745b0da9959d280606ca76ccd498798..ca76f947e5d323830f2573085b0d3120be88df8e 100644 (file)
@@ -162,7 +162,7 @@ HOSTCPPFLAGS =      -include $(SRCTREE)/include/libfdt_env.h \
                -idirafter $(SRCTREE)/include \
                -idirafter $(OBJTREE)/include2 \
                -idirafter $(OBJTREE)/include \
-               -I $(SRCTREE)/lib/libfdt \
+               -I $(SRCTREE)/lib/libfdt \
                -I $(SRCTREE)/tools \
                -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
                -DUSE_HOSTCC \
index 980bf2e1a7b9c700389df00a57525c8cf78cf63c..04fb649899bd7beb9698aab044f74eb8125cdd1f 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2011
  * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include "mkimage.h"
index 1f092dbc7e5234701d47f371171615624ae3a47d..e1aa3ef7030319a74af5847060eb620476dd4f41 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2011
  * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _AISIMAGE_H_
index b7518e3f797554b32b4b70300c23368572932aa9..0b50602823d778701f858fa0f5ba0402a5a648f8 100644 (file)
        function enum_to_index($name, $vals) {
                $index = array_search($GLOBALS[$name], $vals);
                if ($vals[0] != '')
-                       $index++;
+                       $index++;
                return $index;
        }
 
index f63f27867323cb870641470e3cc88f89d1973293..090b653116e40a5fcd405d70fef9f0c0d2806d1f 100644 (file)
@@ -677,7 +677,6 @@ the build speed by building all commits for a board instead of the other
 way around.
 
 
-
 Simon Glass
 sjg@chromium.org
 Halloween 2012
index 62082937907e0a183a5f7d7d999c65a84ebafb59..aff471ba1926916a1bf3c8bf63030bf661658d22 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2002-2008
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* Pull in the current config to define the default environment */
index 5f42df3889e4c3b3a6b64afad3f154715f5b6ab6..2b85d78864561d9414e085cfbd8081fa305112b9 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2008
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
index 1be1edb16a84b82504c1e4609be0e4fddf854e53..e371983275433f8a1cc155701dd8836c7aca96ca 100644 (file)
@@ -39,7 +39,7 @@ LIBFDT_OBJS   := $(addprefix $(obj),$(LIBFDT_OBJ_FILES-y))
 HOSTCPPFLAGS  = -idirafter $(SRCTREE)/include \
                -idirafter $(OBJTREE)/include2 \
                -idirafter $(OBJTREE)/include \
-               -I $(SRCTREE)/lib/libfdt \
+               -I $(SRCTREE)/lib/libfdt \
                -I $(SRCTREE)/tools \
                -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
 
index 32e4efe423d55e3dc9029042eced877807508762..511e3f20387757c891156b33c5b007467c410be8 100644 (file)
@@ -6,7 +6,7 @@
  * Marvell Semiconductor <www.marvell.com>
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include "mkimage.h"
index efe6a88d9ea4ebea22e909f96420a3be176ca872..01f861e7a577c988ea06b68c0c40e6818af8d63d 100644 (file)
@@ -2,7 +2,7 @@
  * (C) Copyright 2009
  * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _IMXIMAGE_H_
index d4fc42e4cc6286c4e153610738ddef062e2ae46b..a9b49c59a0cc347884bb76cec5e6c25bc72cc71e 100644 (file)
@@ -153,7 +153,7 @@ int symfilecnt = 0;
 static void add_new_symbol(struct symfile *sym, char * symname)
 {
        sym->symbollist =
-          realloc(sym->symbollist, (sym->symbolcnt + 1) * sizeof(char *));
+         realloc(sym->symbollist, (sym->symbolcnt + 1) * sizeof(char *));
        sym->symbollist[sym->symbolcnt++].name = strdup(symname);
 }
 
@@ -214,7 +214,7 @@ static void find_export_symbols(char * filename)
                        char *p;
                        char *e;
                        if (((p = strstr(line, "EXPORT_SYMBOL_GPL")) != NULL) ||
-                            ((p = strstr(line, "EXPORT_SYMBOL")) != NULL)) {
+                           ((p = strstr(line, "EXPORT_SYMBOL")) != NULL)) {
                                /* Skip EXPORT_SYMBOL{_GPL} */
                                while (isalnum(*p) || *p == '_')
                                        p++;
@@ -290,24 +290,24 @@ static void extfunc(char * filename) { docfunctions(filename, FUNCTION);   }
 static void singfunc(char * filename, char * line)
 {
        char *vec[200]; /* Enough for specific functions */
-        int i, idx = 0;
-        int startofsym = 1;
+       int i, idx = 0;
+       int startofsym = 1;
        vec[idx++] = KERNELDOC;
        vec[idx++] = DOCBOOK;
 
-        /* Split line up in individual parameters preceded by FUNCTION */
-        for (i=0; line[i]; i++) {
-                if (isspace(line[i])) {
-                        line[i] = '\0';
-                        startofsym = 1;
-                        continue;
-                }
-                if (startofsym) {
-                        startofsym = 0;
-                        vec[idx++] = FUNCTION;
-                        vec[idx++] = &line[i];
-                }
-        }
+       /* Split line up in individual parameters preceded by FUNCTION */
+       for (i=0; line[i]; i++) {
+               if (isspace(line[i])) {
+                       line[i] = '\0';
+                       startofsym = 1;
+                       continue;
+               }
+               if (startofsym) {
+                       startofsym = 0;
+                       vec[idx++] = FUNCTION;
+                       vec[idx++] = &line[i];
+               }
+       }
        for (i = 0; i < idx; i++) {
                if (strcmp(vec[i], FUNCTION))
                        continue;
@@ -456,14 +456,14 @@ static void parse_file(FILE *infile)
                                        break;
                                case 'D':
                                        while (*s && !isspace(*s)) s++;
-                                        *s = '\0';
-                                        symbolsonly(line+2);
-                                        break;
+                                       *s = '\0';
+                                       symbolsonly(line+2);
+                                       break;
                                case 'F':
                                        /* filename */
                                        while (*s && !isspace(*s)) s++;
                                        *s++ = '\0';
-                                        /* function names */
+                                       /* function names */
                                        while (isspace(*s))
                                                s++;
                                        singlefunctions(line +2, s);
@@ -511,11 +511,11 @@ int main(int argc, char *argv[])
        }
        /* Open file, exit on error */
        infile = fopen(argv[2], "r");
-        if (infile == NULL) {
-                fprintf(stderr, "docproc: ");
-                perror(argv[2]);
-                exit(2);
-        }
+       if (infile == NULL) {
+               fprintf(stderr, "docproc: ");
+               perror(argv[2]);
+               exit(2);
+       }
 
        if (strcmp("doc", argv[1]) == 0) {
                /* Need to do this in two passes.
index 6347418904811d60c3ba316653c2d931a3baea7b..cbbf34c27cfa11abbbe81fa4b889459a7b9ebc38 100755 (executable)
@@ -432,7 +432,7 @@ sub dump_doc_section {
     my $contents = join "\n", @_;
 
     if ($no_doc_sections) {
-        return;
+       return;
     }
 
     if (($function_only == 0) ||
index 00853dd7413bdc68d5c1d80623dd48931b646449..8774a7e3acea56521fa9358f371da85c4df6a5d2 100644 (file)
@@ -11,7 +11,7 @@
  * Marvell Semiconductor <www.marvell.com>
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include "mkimage.h"
index 058013498b114a51a475cf563894b90b9b6d8a47..45d14eaf9cc4731e8cd86c454dfb83c8a9ff7674 100644 (file)
@@ -4,7 +4,7 @@
  * Author John Rigby <john.rigby@linaro.org>
  * Based on TI's signGP.c
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _OMAPIMAGE_H_
index a0f1fc53ab37818d3cb3edd04fc995ca4f54ec2a..12bece50a7ded6e0167de1f007448b185a3c98eb 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2012 Freescale Semiconductor, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef PBLIMAGE_H
index 7e038905c2c84a607119e3f74b117428d83c3b77..61306d0235da5b23d6f3ec07e4a417a178f09d37 100755 (executable)
@@ -49,7 +49,7 @@ try:
                ["ignore-case","default","split="])
 except getopt.GetoptError as err:
        print str(err) # will print something like "option -a not recognized"
-        sys.exit(2)
+       sys.exit(2)
 
 for o, a in opts:
        if o in ("-s", "--split"):
index b4ef7f080ea3d70a6a486055f59bd1f9b2d2a143..aafe24875892af9fb1bd9796e8f1404ee855ee15 100644 (file)
@@ -10,7 +10,7 @@
  * Marvell Semiconductor <www.marvell.com>
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include "mkimage.h"
index b7318e95352fbecca1379542860f8bccb94f0301..32cc5822cab36a07cd9c2eef669d847c77e28946 100644 (file)
@@ -6,7 +6,7 @@
  * (C) Copyright 2009
  * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _UBLIMAGE_H_
index c003f9ad19f1c648e710d89e9d98d0950398f965..1041588d0b037aa7bdd5909644d352c5b20bab25 100644 (file)
@@ -63,10 +63,10 @@ int main (int argc, char **argv)
                sha1_csum ((unsigned char *) data, len, (unsigned char *)output);
 
                printf ("U-Boot sum:\n");
-               for (i = 0; i < 20 ; i++) {
-                   printf ("%02X ", output[i]);
-               }
-               printf ("\n");
+               for (i = 0; i < 20 ; i++) {
+                   printf ("%02X ", output[i]);
+               }
+               printf ("\n");
                /* overwrite the sum in the bin file, with the actual */
                lseek (ifd, SHA1_SUM_POS, SEEK_END);
                if (write (ifd, output, SHA1_SUM_LEN) != SHA1_SUM_LEN) {
index 254493345d802d1931711f7a60aa7490d4af9684..54a910b1780121d51060669d571c002ede543d66 100644 (file)
@@ -5,7 +5,7 @@
  * (C) Copyright 2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>