Skip to content
Snippets Groups Projects
  1. Feb 21, 2015
    • Masahiro Yamada's avatar
      ARM: tegra: collect SoC sources into mach-tegra · 09f455dc
      Masahiro Yamada authored
      
      This commit moves files as follows:
      
       arch/arm/cpu/arm720t/tegra20/*      -> arch/arm/mach-tegra/tegra20/*
       arch/arm/cpu/arm720t/tegra30/*      -> arch/arm/mach-tegra/tegra30/*
       arch/arm/cpu/arm720t/tegra114/*     -> arch/arm/mach-tegra/tegra114/*
       arch/arm/cpu/arm720t/tegra124*      -> arch/arm/mach-tegra/tegra124/*
       arch/arm/cpu/arm720t/tegra-common/* -> arch/arm/mach-tegra/*
       arch/arm/cpu/armv7/tegra20/*        -> arch/arm/mach-tegra/tegra20/*
       arch/arm/cpu/armv7/tegra30/*        -> arch/arm/mach-tegra/tegra30/*
       arch/arm/cpu/armv7/tegra114/*       -> arch/arm/mach-tegra/tegra114/*
       arch/arm/cpu/armv7/tegra124/*       -> arch/arm/mach-tegra/tegra124/*
       arch/arm/cpu/armv7/tegra-common/*   -> arch/arm/mach-tegra/*
       arch/arm/cpu/tegra20-common/*       -> arch/arm/mach-tegra/tegra20/*
       arch/arm/cpu/tegra30-common/*       -> arch/arm/mach-tegra/tegra30/*
       arch/arm/cpu/tegra114-common/*      -> arch/arm/mach-tegra/tegra114/*
       arch/arm/cpu/tegra124-common/*      -> arch/arm/mach-tegra/tegra124/*
       arch/arm/cpu/tegra-common/*         -> arch/arm/mach-tegra/*
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: Simon Glass <sjg@chromium.org> [ on nyan-big ]
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Tom Warren <twarren@nvidia.com>
      09f455dc
    • Masahiro Yamada's avatar
      ARM: at91: collect SoC sources into mach-at91 · 62011840
      Masahiro Yamada authored
      
      This commit moves source files as follows:
      
        arch/arm/cpu/arm920t/at91/*   -> arch/arm/mach-at91/arm920t/*
        arch/arm/cpu/arm926ejs/at91/* -> arch/arm/mach-at91/arm926ejs/*
        arch/arm/cpu/armv7/at91/*     -> arch/arm/mach-at91/armv7/*
        arch/arm/cpu/at91-common/*    -> arch/arm/mach-at91/*
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarAndreas Bießmann <andreas.devel@googlemail.co>
      62011840
    • Masahiro Yamada's avatar
      ARM: prepare for moving SoC sources into mach-* · 01f14456
      Masahiro Yamada authored
      In U-boot, the directory structure, arch/$(ARCH)/cpu/$(CPU)/$(SOC)/
      has been adopted except that $(CPU) is missing from some
      architectures and $(SOC) is missing from some CPUs.
      
      This structure did not fit very well in some cases.
      
      [1] AT91
      
      AT91 SoC family have been developed across some ARM processor
      generations.  Generally speaking, some IPs are often re-used in the
      same SoC family (same SoC vendor) even when the main processor is
      updated.  As a result, a SoC-common directory is needed in the upper
      level.  Currently, AT91 source files are placed as follows:
      
        arch/arm/cpu/arm920t/at91/*
        arch/arm/cpu/arm926ejs/at91/*
        arch/arm/cpu/armv7/at91/*
        arch/arm/cpu/at91-common/*
      
      Once directories are split, the motivation for refactorings across
      CPU directories is lost.  Some files in arm920t/at91/ and
      arm926ejs/at91/ are so similar that they could be merged.
      
      [2] Tegra
      
      Tegra is a little bit special case where different CPUs are used for
      SPL and the main U-boot.  To obey the arch/$(ARCH)/cpu/$(CPU)/$(SOC)
      structure, the source files must be placed across the CPUs,
      again SoC-common directory is necessary in the upper level.
      
      Moreover, there are several families in Tegra: Tegra20, Tegra30,
      Tegra114, Tegra124.  Here again, the tegra-common directory is needed
      to contain commonly-used files.
      
      Tegra directories have been sprinkled in the directory structure.
      
        arch/arm/cpu/arm720t/tegra20
        arch/arm/cpu/arm720t/tegra30
        arch/arm/cpu/arm720t/tegra114
        arch/arm/cpu/arm720t/tegra124
        arch/arm/cpu/arm720t/tegra-common
        arch/arm/cpu/armv7/tegra20
        arch/arm/cpu/armv7/tegra30
        arch/arm/cpu/armv7/tegra114
        arch/arm/cpu/armv7/tegra124
        arch/arm/cpu/armv7/tegra-common
        arch/arm/cpu/tegra20-common
        arch/arm/cpu/tegra30-common
        arch/arm/cpu/tegra114-common
        arch/arm/cpu/tegra124-common
        arch/arm/cpu/tegra-common
      
      As you see, splitting SoC code by the CPU is not going well,
      especially for ARM.
      Why don't we collect SoC-specific files into a single place?
      
      A good example we can follow is Linux's arch/arm/mach-* structure.
      
      This item was discussed in the following thread:
      http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/188548/
      
      
      
      Looks like I got some positive responses and we are almost ready to
      start this movement.
      
      This commit prepares arch/arm/Makefile for describing machdirs in it.
      
      After this commit, we can move SoC directory to arch/arm/mach-$(SOC)
      in simple steps although some cases such as AT91 and Tegra need more
      fixes.
      
      What we generally have to do is:
      
      [1] Move files arch/arm/cpu/$(CPU)/$(SOC)/* to arch/arm/mach-$(SOC)/*
      [2] Add machine entry into arch/arm/Makefile
      [3] Remove "obj-y += $(SOC)" from arch/arm/cpu/$(CPU)/Makefile
      [4] Fix the Kconfig file path in arch/arm/Kconfig
      [5] Modify MAINTAINERS if necessary
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      01f14456
    • Masahiro Yamada's avatar
      ARM: at91: move board select menu and common settings · 4614b891
      Masahiro Yamada authored
      
      The board select menu in arch/arm/Kconfig is still big.
      To slim down it, this commit moves AT91 boards to
      arch/arm/mach-at91/Kconfig.
      Also, consolidate "config SYS_SOC" in each board Kconfig.
      
      The Kconfig files under board/ directory were modified with the
      following command:
      
          find board -name Kconfig | xargs sed -i -e '
          /config SYS_SOC/ {
              N
              /default "at91"/ {
                  N
                  d
              }
          }
          '
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarAndreas Bießmann <andreas.devel@googlemail.co>
      4614b891
  2. Feb 17, 2015
  3. Feb 16, 2015
  4. Feb 13, 2015
  5. Feb 12, 2015
  6. Feb 10, 2015
    • Graeme Russ's avatar
      arm: mxs: Add 'Wait for JTAG user' if booted in JTAG mode · 2d6286ab
      Graeme Russ authored
      
      When booting in JTAG mode, there is no way to use soft break-points, and
      no way of knowing when SPL has finished executing (so the user can issue
      a 'halt' command to load u-boot.bin for example)
      
      Add a debug output and simple loop to stop execution at the completion of
      the SPL initialisation as a pseudo break-point when booting in JTAG mode
      
      Signed-off-by: default avatarGraeme Russ <gruss@tss-engineering.com>
      2d6286ab
    • Graeme Russ's avatar
      arm: mxs: Enable booting of mx28 without battery · 7a086037
      Graeme Russ authored
      
      Section 4.1.2 of Freescale Application Note AN4199 describes the
      configuration required to operate the mx28 from a 5V source without a
      battery.
      
      This patch changes the behaviour of the dropout control of the DC-DC
      converter (refer to section 11.12.9 of the mx28 Application Processor
      Reference Manual - Document Number: MCIMX28RM, Rev 2, 08/2013) to the
      following:
       - Always use 4P2 Linear Regulator if CONFIG_SYS_MXS_VDD5V_ONLY is defined
       - Switch between 4P2 Linear Regulator and Battery, using whichever has
         the highest voltage if CONFIG_SYS_MXS_VDD5V_ONLY isnot set (this is
         the same as the pre-patch behaviour)
      
      Signed-off-by: default avatarGraeme Russ <gruss@tss-engineering.com>
      Signed-off-by: default avatarDamien Gotfroi <dgotfroi@greenwatch.be>
      7a086037
    • Graeme Russ's avatar
      arm: mxs: Add debug outputs and comments to mxs SPL source files · 950eaf62
      Graeme Russ authored
      
      It is difficult to track down fail to boot issues in the mxs SPL.
      Implement the following to make it easier:
       - Add debug outputs to allow tracing of SPL progress in order to track
      where failure to boot occurs. DEUBUG and CONFIG_SPL_SERIAL_SUPPORT must
      be defined to enable debug output in SPL
       - Add TODO comments where it is not clear if the code is doing what it
      is meant to be doing, even tough the board boots properly (these comments
      refer to existing code, not to any code added by this patch)
      
      Signed-off-by: default avatarGraeme Russ <gruss@tss-engineering.com>
      950eaf62
    • Ye.Li's avatar
      imx: mx6: Fixed AIPS3 base address issue · e8cdeefc
      Ye.Li authored
      
      Should use AIPS3 configuration address 0x0227C000 to set AIPS3,
      not the AIPS3 base address.
      Additional, replace AIPS1_BASE_ADDR to AIPS3_ARB_BASE_ADDR to align with
      AIPS1 and AIPS2, and resolve the AIPS3_ARB_BASE_ADDR undefine problem.
      
      Signed-off-by: default avatarYe.Li <B37916@freescale.com>
      e8cdeefc
    • Peng Fan's avatar
      imx:mx6 update fuse_bank0_regs · 1730af1b
      Peng Fan authored
      
      Update fuse_bank0_regs structure according reference mannual.
      
      Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
      1730af1b
Loading