1. 08 12月, 2011 5 次提交
    • K
      powerpc: Minimal private libgcc to build on Debian · 01baa056
      Kyle Moffett 提交于
      Standard Debian powerpc and powerpcspe systems only include hard-float
      libgcc in their native compilers, which causes scary build warnings when
      building U-Boot.
      
      Debian and other PowerPC-supporting distributions used to provide libgcc
      and other libraries in a "nof" (soft-float) form in the "multilib"
      packages.  As they were completely unused by the distribution and
      therefore tended to be very buggy it was decided to save some time on
      the part of the maintainers and build-servers by removing them.
      
      Admittedly, right now the linker warnings do not indicate any problems,
      as the included routines do not use any floating point at all.
      
      The concern is that if floating-point code were ever added it might
      cause hard-float code to be unexpectedly included in U-Boot without
      generating a hard error.  This would cause unexplained crashes or
      indeterminate results at runtime.
      
      The easiest way to resolve this is to borrow the routines that U-Boot
      needs from the Linux kernel, which has the same issue.
      
      Specifically, the routines are: _ashldi3(), _ashrdi3(), and _lshrdi3().
      They were borrowed from arch/powerpc/kernel/misc_32.S as of v2.6.38-rc5,
      commit 85e2efbb1db9a18d218006706d6e4fbeb0216213, and are GPLv2+.
      
      The Makefile framework was copied from the U-Boot ARM port.
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Andy Fleming <afleming@gmail.com>
      Cc: Kumar Gala <kumar.gala@freescale.com>
      Cc: Stefan Roese <sr@denx.de>
      01baa056
    • W
      Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx · 1086c5d6
      Wolfgang Denk 提交于
      * 'master' of git://git.denx.de/u-boot-mpc83xx:
        powerpc/83xx: fix sdram initialization for keymile boards
        powerpc/mpc83xx: cleanup makefile for mpc83xx
      1086c5d6
    • A
      video: cfb_console: fix build warnings · a45adde9
      Anatolij Gustschin 提交于
      Fix:
      cfb_console.c:371: warning: 'cursor_state' defined but not used
      cfb_console.c:372: warning: 'old_col' defined but not used
      cfb_console.c:373: warning: 'old_row' defined but not used
      cfb_console.c:435: warning: 'video_invertchar' defined but not used
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Tested-by: NWolfgang Denk <wd@denx.de>
      a45adde9
    • M
      1affd5c1
    • S
      ppc4xx: Remove usbdev.c · ce2acd37
      Stefan Roese 提交于
      As this "driver" doesn't seem to be really used, let's remove
      it completely.
      Signed-off-by: NStefan Roese <sr@denx.de>
      ce2acd37
  2. 07 12月, 2011 35 次提交
    • W
      Merge branch 'master' of git://git.denx.de/u-boot-arm · c786f54b
      Wolfgang Denk 提交于
      * 'master' of git://git.denx.de/u-boot-arm:
        davinci: Remove unwanted memsize.c from hawkboard's nand spl build
        devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss
        da850evm: pass board revision info to kernel
        arch/arm/include/asm/arch-omap5/clocks.h: Fix GCC 4.2 warnings
        arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix GCC 4.6 warnings
        arch/arm/cpu/armv7/omap-common/spl.c: Fix GCC 4.2 warnings
        MX35: flea3: changes due to hardware revision B
        MX: serial_mxc: cleanup removing nasty #ifdef
        M28: Fix OB1 bug in GPIO driver
        MXS: Add static annotations to dma driver
        apbh_dma: return error value on timeout
        Efika: Configure additional regulators for HDMI output
        mx5: Correct a warning in clock.c
        MC13892: Add REGMODE0 bits definitions
        mx51evk: Configure the pins as GPIOs prior to using gpio_get_value
        mx53smd: Configure the pins as GPIOs prior to using gpio_get_value
        mx53evk: Configure the pins as GPIOs prior to using gpio_get_value
        mx53ard: Configure the pins as GPIOs prior to using gpio_get_value
        mx53loco: Configure the pins as GPIOs prior to using gpio_get_value
        OMAP3: Add SPL_BOARD_INIT hook
        AM3517 CraneBoard: Add SPL support
        AM3517: Add SPL support
        OMAP3: Add SPL support to omap3_evm
        OMAP3: Add SPL support to Beagleboard
        OMAP3 SPL: Add identify_nand_chip function
        OMAP3 SPL: Rework memory initalization and devkit8000 support
        OMAP3: Suffix all Micron memory timing parts with their speed
        OMAP3: Add optimal SDRC autorefresh control values
        omap3: mem: Add MCFG helper macro
        OMAP3: Remove get_mem_type prototype
        OMAP3: Change mem_ok to clear again after reading back
        OMAP3: Add a helper function to set timings in SDRC
        OMAP3: Update SDRC dram_init to always call make_cs1_contiguous()
        omap3: mem: Comment enable_gpmc_cs_config more
        ARM: davici_emac: Fix condition for number of phy detects
        arm: printf() is not available in some SPL configurations
        arm, davinci: add support for am1808 based enbw_cmc board
        arm, davinci: move misc function in arch tree
        arm, board/davinci/common/misc.c: Codingstyle cleanup
        arm, davinci, da850: add uart1 tx rx pinmux config
        arm, davinci: move davinci_rtc struct to hardware.h
        arm, davinci: Remove duplication of pinmux configuration code
        arm, hawkboard: Use the pinmux configurations defined in the arch tree
        arm, da850evm: Use the pinmux configurations defined in the arch tree
        arm, da850: Add pinmux configurations to the arch tree
        arm, da850evm: Do pinmux configuration for EMAC together with other pinmuxes
        arm, hawkboard: Remove obsolete struct pinmux_config i2c_pins
        arm, davinci: Move pinmux functions from board to arch tree
        arm, arm926ejs: always do cpu critical inits
        omap_gpmc: use SOFTECC in SPL if it's enabled
        nand_spl_simple: add support for software ECC
        AM3517: move AM3517 specific mux defines to generic header
        AM35xx: add EMAC support
        davinci_emac: hardcode 100Mbps for AM35xx and RMII
        davinci_emac: fix for running with dcache enabled
        arm926ejs: add noop implementation for dcache ops
        davinci_emac: conditionally compile specific PHY support
        davinci_emac: use internal addresses in buffer descriptors
        davinci_emac: move arch-independent defines to separate header
        BeagleBoard: config: Really switch to ttyO2
        ARM: davinci_dm6467Tevm: Fix build breakage
        ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused
        ARM: OMAP3: Remove unused define SDRC_R_C_B
        ARM: OMAP3: Remove unused define CONFIG_OMAP3430
        omap4: fix IO setting
        omap4+: streamline CONFIG_SYS_TEXT_BASE and other SDRAM addresses
        omap4460: add ES1.1 identification
        omap4: emif: fix error in driver
        omap: remove I2C from SPL
        omap4460: fix TPS initialization
        omap: fix cache line size for omap3/omap4 boards
        omap4: ttyO2 instead of ttyS2 in default bootargs
        omap: Improve PLL parameter calculation tool
        start.S: remove omap3 specific code from start.S
        armv7: setup vector
        armv7: include armv7/cpu.c in SPL build
        armv7: disable L2 cache in cleanup_before_linux()
        arm, arm926ejs: Fix clear bss loop for zero length bss
        PXA: Move colibri_pxa270 to board/toradex/
        PXA: Flip colibri_pxa27x to pxa-common.h
        PXA: Introduce common configuration header for PXA
        PXA: Rename pxa_dram_init to pxa2xx_dram_init
        PXA: Squash extern pxa_dram_init()
        PXA: Export cpu_is_ and pxa_dram_init functions
        PXA: Cleanup Colibri PXA270
        PXA: Replace timer driver
        PXA: Add cpuinfo display for PXA2xx
        PXA: Separate PXA2xx CPU init
        PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X
        PXA: Unify vpac270 environment size
        PXA: Enable command line editing for vpac270
        PXA: Adapt Voipac PXA270 to OneNAND SPL
        PXA: Drop Voipac PXA270 OneNAND IPL
        PXA: Fixup PXA25x boards after start.S update
        PXA: Re-add the Dcache locking as RAM for pxa250
        PXA: Rework start.S to be closer to other ARMs
        PXA: Drop XM250 board
        PXA: Drop PLEB2 board
        PXA: Drop CRADLE board
        PXA: Drop CERF250 board
        Fix regression in SMDK6400
        nand: Add common functions to linux/mtd/nand.h
        Ethernut 5 board support
        net: Armada100: Fix compilation warnings
        ARM: remove duplicated code for LaCie boards
        ARM: add support for LaCie 2Big Network v2
        mvsata: fix ide_preinit for missing disks
        netspace_v2: Read Ethernet MAC address from EEPROM
        omap3evm: Add support for EFI partitions
        part_efi: Fix compile errors
      c786f54b
    • W
      Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx · 99dee4b2
      Wolfgang Denk 提交于
      * 'master' of git://git.denx.de/u-boot-mpc85xx:
        p2041rdb: fix serdes clock map
      99dee4b2
    • W
      Merge branch 'master' of git://git.denx.de/u-boot-video · 9294fd60
      Wolfgang Denk 提交于
      * 'master' of git://git.denx.de/u-boot-video:
        video: cfb_console: Make the software cursor non-destructive
      9294fd60
    • V
      Introduce generic TPM support in u-boot · 5e124724
      Vadim Bendebury 提交于
      TPM (Trusted Platform Module) is an integrated circuit and
      software platform that provides computer manufacturers with the
      core components of a subsystem used to assure authenticity,
      integrity and confidentiality.
      
      This driver supports version 1.2 of the TCG (Trusted Computing
      Group) specifications.
      
      The TCG specification defines several so called localities in a
      TPM chip, to be controlled by different software layers. When
      used on a typical x86 platform during the firmware phase, only
      locality 0 can be accessed by the CPU, so this driver even while
      supporting the locality concept presumes that only locality zero
      is used.
      
      This implementation is loosely based on the article "Writing a
      TPM Device Driver" published on http://ptgmedia.pearsoncmg.com
      
      Compiling this driver with DEBUG defined will generate trace of
      all accesses to TMP registers.
      
      This driver has been tested and is being used in three different
      functional ChromeOS machines (Pinetrail and Sandy Bridge Intel
      chipsets) all using the same Infineon SLB 9635 TT 1.2 device.
      
      A u-boot cli command allowing access to the TPM was also
      implemented and is being submitted as a second patch.
      
      Change-Id: I22a33c3e5b2e20eec9557a7621bd463b30389d73
      Signed-off-by: NVadim Bendebury <vbendeb@chromium.org>
      CC: Wolfgang Denk <wd@denx.de>
      5e124724
    • S
      Fix unused function in cmd_bdinfo.c · 5f3dfadc
      Simon Glass 提交于
      It is fine to use __maybe_unused instead of #ifdef, but we also need one
      for print_eth() since not all boards have Ethernet. This fixes this
      warning:
      
      cmd_bdinfo.c:39:13: warning: 'print_eth' defined but not used [-Wunused-function]
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      5f3dfadc
    • S
      Fix SPI build errors in exports.c · 80729a54
      Simon Glass 提交于
      The spi.h include is no longer included in exports.h, so must be included
      here.
      
      This fixes these errors:
      
      In file included from exports.c:41:0:
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h: In function 'jumptable_init':
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:27:1: error: 'spi_init' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:27:1: note: each undeclared identifier is reported only once for each function it appears in
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:28:1: error: 'spi_setup_slave' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:29:1: error: 'spi_free_slave' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:30:1: error: 'spi_claim_bus' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:31:1: error: 'spi_release_bus' undeclared (first use in this function)
      /home/sjg/trunk/src/third_party/u-boot/files/include/_exports.h:32:1: error: 'spi_xfer' undeclared (first use in this function)
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      80729a54
    • S
      Include common.h in qsort.c to fix build warning · 42c4a23a
      Simon Glass 提交于
      exports.h no longer includes common.h, which contains assert(). qsort.c
      needs to be updated. This fixes this warning:
      
      qsort.c: In function 'qsort':
      qsort.c:30:3: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration]
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      Tested-by: NHeiko Schocher <hs@denx.de>
      42c4a23a
    • W
      Revert "mii: miiphy register address width change" · f915c931
      Wolfgang Denk 提交于
      This reverts commit 5c45a22b.
      
      It causes a lot of "incompatible pointer type" warnings for a large
      number of Ethernet drivers, which are not really worth fixing
      especially as this patch was only supposed to help the old,
      deprecated miiphy API.  Instead of adding more efforts to a lost case
      we rather revert it.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      f915c931
    • S
      p2041rdb: fix serdes clock map · 4497861a
      Shaohui Xie 提交于
      Description of SerDes clock Bank2 setting in p2041 hardware specification
      is wrong, the clock map which based on it is wrong either, so fix the
      serdes clock map.
      
      wrong setting of SERDES Reference Clocks Bank2:
      SW2[5:6] = ON OFF	=>100MHz for PCI mode
      SW2[5:6] = OFF ON	=>125MHz for SGMII mode
      
      right setting of SERDES Reference Clocks Bank2:
      SW2[5:6] = OFF OFF	=>100MHz for PCI mode
      SW2[5:6] = OFF ON	=>125MHz for SGMII mode
      SW2[5:6] = ON OFF	=>156.25MHZ
      Signed-off-by: NShaohui Xie <Shaohui.Xie@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      4497861a
    • S
      davinci: Remove unwanted memsize.c from hawkboard's nand spl build · 15422043
      Sughosh Ganu 提交于
      dram_init function in board/davinci/common/misc.c does not get
      compiled for spl builds, thus rendering inclusion of memsize.c
      useless.
      Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com>
      15422043
    • S
      devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss · 5183b7ec
      Simon Schwarz 提交于
      This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move
      CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for the u-boot
      image.
      
      CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the
      reason for the problems with MMC boot described here:
      http://article.gmane.org/gmane.comp.boot-loaders.u-boot/118711Signed-off-by: NSimon Schwarz <simonschwarzcor@gmail.com>
      Tested-by: NThomas Weber <weber@corscience.de>
      Signed-off-by: NTom Rini <trini@ti.com>
      5183b7ec
    • M
      da850evm: pass board revision info to kernel · 754f8cb6
      Manjunath Hadli 提交于
      there are two boards based on da850 SOC - OMAP-L138 and AM18x.
      In order to differentiate between these two boards, revision id
      is passed to kernel via second byte of ATAG_REVISION.
      Signed-off-by: NManjunathappa, Prakash <prakash.pm@ti.com>
      Signed-off-by: NManjunath Hadli <manjunath.hadli@ti.com>
      754f8cb6
    • A
      arch/arm/include/asm/arch-omap5/clocks.h: Fix GCC 4.2 warnings · e8f47354
      Anatolij Gustschin 提交于
      Fix:
      clocks.c: In function 'setup_post_dividers':
      clocks.c:175: warning: comparison is always true due to limited range of
      data type
      clocks.c:177: warning: comparison is always true due to limited range of
      data type
      clocks.c:179: warning: comparison is always true due to limited range of
      data type
      clocks.c:181: warning: comparison is always true due to limited range of
      data type
      clocks.c:183: warning: comparison is always true due to limited range of
      data type
      clocks.c:185: warning: comparison is always true due to limited range of
      data type
      clocks.c:187: warning: comparison is always true due to limited range of
      data type
      clocks.c:189: warning: comparison is always true due to limited range of
      data type
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: sricharan <r.sricharan@ti.com>
      Cc: Tom Rini <trini@ti.com>
      e8f47354
    • A
      arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix GCC 4.6 warnings · 164a7507
      Anatolij Gustschin 提交于
      Fix:
      clocks-common.c: In function 'setup_dplls':
      clocks-common.c:256:6: warning: variable 'sysclk_ind' set but not used
      [-Wunused-but-set-variable]
      clocks-common.c: In function 'setup_non_essential_dplls':
      clocks-common.c:292:6: warning: variable 'sysclk_ind' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: sricharan <r.sricharan@ti.com>
      Cc: Tom Rini <trini@ti.com>
      Acked-by: NMarek Vasut <marek.vasut@gmail.com>
      Acked-by: NTom Rini <trini@ti.com>
      164a7507
    • A
      arch/arm/cpu/armv7/omap-common/spl.c: Fix GCC 4.2 warnings · b0a86a27
      Anatolij Gustschin 提交于
      Fix:
      spl.c: In function 'jump_to_image_no_args':
      spl.c:103: warning: assignment makes pointer from integer without a cast
      spl.c:105: warning: dereferencing type-punned pointer will break
      strict-aliasing rules
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: sricharan <r.sricharan@ti.com>
      Cc: Tom Rini <trini@ti.com>
      Acked-by: NMarek Vasut <marek.vasut@gmail.com>
      Acked-by: NTom Rini <trini@ti.com>
      b0a86a27
    • S
      MX35: flea3: changes due to hardware revision B · fda241d5
      Stefano Babic 提交于
      Revision B of the board uses CSD0 for the DRAM,
      as usual for MX3 boards. The patch fixes also
      some values in the U-Boot environment.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      fda241d5
    • S
      MX: serial_mxc: cleanup removing nasty #ifdef · 40f6fffe
      Stefano Babic 提交于
      The serial driver for iMX SOCs is continuosly changed if a
      new SOC or not yet used port is used. CONFIG_SYS_<SOC>_<UART Port>
      defines were used only to find the base address for the selected UART.
      Instead of that, move the base address to the board configuration
      file and drop all #ifdef from driver.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      CC: Marek Vasut <marek.vasut@gmail.com>
      CC: Wolfgang Denk <wd@denx.de>
      CC: Fabio Estevam <fabio.estevam@freescale.com>
      CC: Helmut Raiger <helmut.raiger@hale.at>
      CC: John Rigby <jcrigby@gmail.com>
      CC: Matthias Weisser <weisserm@arcor.de>
      CC: Jason Liu <jason.hui@linaro.org>
      Acked-by: NJason Liu <jason.hui@linaro.org>
      40f6fffe
    • R
      M28: Fix OB1 bug in GPIO driver · 5a42cd33
      Robert Deliën 提交于
      This patch fixes a small off-by-one bug in the GPIO driver for the mxs platform that allowed the selection gpio pins of one bank more than the SoC actually has.
      
      Signed-off-by: Robert Deliën <robert at delien.nl>
      Acked-by: NMarek Vasut <marek.vasut@gmail.com>
      Acked-by: NMarek Vasut <marek.vasut@gmail.com>
      5a42cd33
    • M
      MXS: Add static annotations to dma driver · aa72e43b
      Marek Vasut 提交于
      Some functions were internal to the apbh dma driver, so annotate them static.
      Some of the functions weren't used at all so drop them. This makes the U-Boot
      binary smaller by about 1500 bytes.
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: NStefano Babic <sbabic@denx.de>
      aa72e43b
    • W
      apbh_dma: return error value on timeout · 12dab4ce
      Wolfram Sang 提交于
      When a timeout occurs, the return value is prepared but never returned.
      Fix that.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Acked-by: NStefano Babic <sbabic@denx.de>
      12dab4ce
    • M
      Efika: Configure additional regulators for HDMI output · 55723954
      Marek Vasut 提交于
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      Cc: Stefano Babic <sbabic@denx.de>
      55723954
    • S
      mx5: Correct a warning in clock.c · 5acc9072
      Simon Glass 提交于
      This corects the warning below, obtained with my gcc 4.6 compiler.
      
      arch/arm/cpu/armv7/mx5/libmx5.o: In function `decode_pll':
      arch/arm/cpu/armv7/mx5/clock.c:94: undefined reference to `__aeabi_uldivmod'
      
      I am not able to test this on MX5x hardware, but it does improve the
      MAKEALL output for me. You may already have a similar patch, but I cannot
      see it on the list.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      5acc9072
    • M
      MC13892: Add REGMODE0 bits definitions · 761e83a9
      Marek Vasut 提交于
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      Cc: Stefano Babic <sbabic@denx.de>
      761e83a9
    • F
      mx51evk: Configure the pins as GPIOs prior to using gpio_get_value · 58aef72d
      Fabio Estevam 提交于
      Configure the pins as GPIO prior to using gpio_get_value.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      58aef72d
    • F
      mx53smd: Configure the pins as GPIOs prior to using gpio_get_value · 3ee3729e
      Fabio Estevam 提交于
      Configure the pins as GPIO prior to using gpio_get_value.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      3ee3729e
    • F
      mx53evk: Configure the pins as GPIOs prior to using gpio_get_value · a146dca5
      Fabio Estevam 提交于
      Configure the pins as GPIO prior to using gpio_get_value.
      
      Cc: Jason Liu <r64343@freescale.com>
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: NJason Liu <jason.hui@linaro.org>
      a146dca5
    • F
      mx53ard: Configure the pins as GPIOs prior to using gpio_get_value · d59c33a1
      Fabio Estevam 提交于
      Configure the pins as GPIO prior to using gpio_get_value.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      d59c33a1
    • F
      mx53loco: Configure the pins as GPIOs prior to using gpio_get_value · 73128aad
      Fabio Estevam 提交于
      Configure the pins as GPIO prior to using gpio_get_value.
      
      Cc: Jason Liu <r64343@freescale.com>
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: NJason Liu <jason.hui@linaro.org>
      73128aad
    • T
      OMAP3: Add SPL_BOARD_INIT hook · ee08a826
      Tom Rini 提交于
      Add an SPL_BOARD_INIT hook and for OMAP3 have it turn on i2c.  OMAP4
      doesn't need i2c enabled in SPL.  Enable SPL_BOARD_INIT on devkit8000.
      
      Cc: Frederik Kriewitz <frederik@kriewitz.eu>
      Signed-off-by: NTom Rini <trini@ti.com>
      ee08a826
    • T
      AM3517 CraneBoard: Add SPL support · d067cc46
      Tom Rini 提交于
      The only change of note is that we move from 0x80008000 to 0x80100000
      for CONFIG_SYS_TEXT_BASE
      
      Cc: Nagendra T S <nagendra@mistralsolutions.com>
      Tested-by: NKoen Kooi <k-kooi@ti.com>
      Signed-off-by: NTom Rini <trini@ti.com>
      d067cc46
    • T
      AM3517: Add SPL support · 5059a2a4
      Tom Rini 提交于
      The only change of note is that we move from 0x80008000 to 0x80100000
      for CONFIG_SYS_TEXT_BASE
      
      Cc: Vaibhav Hiremath <hvaibhav@ti.com>
      Signed-off-by: NTom Rini <trini@ti.com>
      5059a2a4
    • T
      OMAP3: Add SPL support to omap3_evm · 673283f3
      Tom Rini 提交于
      Add Hynix 200MHz timing information to <asm/arch-omap3/mem.h>.
      This also changes CONFIG_SYS_TEXT_BASE to 0x80100000.
      Signed-off-by: NTom Rini <trini@ti.com>
      673283f3
    • T
      OMAP3: Add SPL support to Beagleboard · 75c57a35
      Tom Rini 提交于
      This introduces 200MHz Micron parts timing information based on x-loader
      to <asm/arch-omap3/mem.h> and Numonyx MCFG calculation.  The memory init
      logic is also based on what x-loader does in these cases.  Note that
      while previously u-boot would be flashed in with SW ECC in this case it
      now must be flashed with HW ECC.  We also change CONFIG_SYS_TEXT_BASE to
      0x80100000.
      
      Cc: Dirk Behme <dirk.behme@gmail.com>
      Beagleboard rev C5, xM rev A:
      Tested-by: NTom Rini <trini@ti.com>
      Beagleboard xM rev C:
      Tested-by: NMatt Ranostay <mranostay@gmail.com>
      Beagleboard rev B7, C2, xM rev B:
      Tested-by: NMatt Porter <mporter@ti.com>
      Signed-off-by: NTom Rini <trini@ti.com>
      75c57a35
    • T
      OMAP3 SPL: Add identify_nand_chip function · 4e647e12
      Tom Rini 提交于
      A number of boards are populated with a PoP chip for both DDR and NAND
      memory.  Other boards may simply use this as an easy way to identify
      board revs.  So we provide a function that can be called early to reset
      the NAND chip and return the result of NAND_CMD_READID.  All of this
      code is put into spl_id_nand.c and controlled via CONFIG_SPL_OMAP3_ID_NAND.
      Signed-off-by: NTom Rini <trini@ti.com>
      4e647e12
    • T
      OMAP3 SPL: Rework memory initalization and devkit8000 support · 9ae0d550
      Tom Rini 提交于
      This changes to making the board be responsible for providing the
      memory initialization timings in SPL and converts the devkit8000
      to this framework.  In SPL we try and initialize both CS0 and CS1.
      
      Cc: Frederik Kriewitz <frederik@kriewitz.eu>
      Signed-off-by: NTom Rini <trini@ti.com>
      9ae0d550