1. 10 Nov, 2015 1 commit
    • Tom Rini's avatar
      Various Makefiles: Add SPDX-License-Identifier tags · da58dec8
      Tom Rini authored
      After consulting with some of the SPDX team, the conclusion is that
      Makefiles are worth adding SPDX-License-Identifier tags too, and most of
      ours have one.  This adds tags to ones that lack them and converts a few
      that had full (or in one case, very partial) license blobs into the
      equivalent tag.
      
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Signed-off-by: 's avatarTom Rini <trini@konsulko.com>
      da58dec8
  2. 16 Dec, 2013 1 commit
  3. 25 Nov, 2013 2 commits
  4. 17 Nov, 2013 1 commit
  5. 31 Oct, 2013 1 commit
    • Masahiro Yamada's avatar
      powerpc: convert makefiles to Kbuild style · 06c14117
      Masahiro Yamada authored
      Note:
      arch/powerpc/cpu/mpc8260/Makefile is originally like follows:
      
          ---<snip>---
          START   = start.o kgdb.o
          COBJS   = traps.o serial_smc.o serial_scc.o cpu.o cpu_init.o speed.o \
          ---<snip>---
          COBJS-$(CONFIG_ETHER_ON_SCC) = ether_scc.o
          ---<snip>---
          $(LIB): $(OBJS)
                  $(call cmd_link_o_target, $(OBJS) $(obj)kgdb.o)
      
      The link rule `$(call cmd_link_o_target, $(OBJS) $(obj)kgdb.o)'
      is weird.
      kbdg.o is not included in $(OBJS) but linked into $(LIB)
      and $(LIB) is not dependent on kgdb.o.
      (Broken dependency tracking)
      
      So,
          START   = start.o kgdb.o
      shoud have been
          START   = start.o
          SOBJS   = kgdb.o
      
      That is why this commit adds kgdb.o to obj-y, not to extra-y.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      06c14117
  6. 26 Nov, 2012 2 commits
  7. 04 Apr, 2011 1 commit
    • Dipen Dudhat's avatar
      powerpc/85xx: Add support for Integrated Flash Controller (IFC) · d789b5f5
      Dipen Dudhat authored
      The Integrated Flash Controller (IFC) is used to access the external
      NAND Flash, NOR Flash, EPROM, SRAM and Generic ASIC memories.Four chip
      selects are provided in IFC so that maximum of four Flash devices can be
      hooked, but only one can be accessed at a given time.
      
      Features supported by IFC are,
              - Functional muxing of pins between NAND, NOR and GPCM
              - Support memory banks of size 64KByte to 4 GBytes
              - Write protection capability (only for NAND and NOR)
              - Provision of Software Reset
              - Flexible Timing programmability for every chip select
              - NAND Machine
                      - x8/ x16 NAND Flash Interface
                      - SLC and MLC NAND Flash devices support with
                        configurable
                        page sizes of upto 4KB
                      - Internal SRAM of 9KB which is directly mapped and
                        availble at
                        boot time for NAND Boot
                      - Configurable block size
                      - Boot chip select (CS0) available at system reset
              - NOR Machine
                      - Data bus width of 8/16/32
                      - Compatible with asynchronous NOR Flash
                      - Directly memory mapped
                      - Supports address data multiplexed (ADM) NOR device
                      - Boot chip select (CS0) available at system reset
              - GPCM Machine (NORMAL GPCM Mode)
                      - Support for x8/16/32 bit device
                      - Compatible with general purpose addressable device
                        e.g. SRAM, ROM
                      - External clock is supported with programmable division
                        ratio
              - GPCM Machine (Generic ASIC Mode)
                      - Support for x8/16/32 bit device
                      - Address and Data are shared on I/O bus
                      - Following Address and Data sequences can be supported
                        on I/O bus
                             - 32 bit I/O: AD
                             - 16 bit I/O: AADD
                             - 8 bit I/O : AAAADDDD
                      - Configurable Even/Odd Parity on Address/Data bus
                        supported
      Signed-off-by: 's avatarDipen Dudhat <Dipen.Dudhat@freescale.com>
      Acked-by: 's avatarScott Wood <scottwood@freescale.com>
      Signed-off-by: 's avatarKumar Gala <galak@kernel.crashing.org>
      d789b5f5
  8. 14 Jan, 2011 2 commits
    • Kumar Gala's avatar
      powerpc/8xxx: Refactor SRIO initialization into common code · a09b9b68
      Kumar Gala authored
      Moved the SRIO init out of corenet_ds and into common code for
      8xxx/QorIQ processors that have SRIO.  We mimic what we do with PCIe
      controllers for SRIO.
      
      We utilize the fact that SRIO is over serdes to determine if its
      configured or not and thus can setup the LAWs needed for it dynamically.
      
      We additionally update the device tree (to remove the SRIO nodes) if the
      board doesn't have SRIO enabled.
      
      Introduced the following standard defines for board config.h:
      
      CONFIG_SYS_SRIO - Chip has SRIO or not
      CONFIG_SRIO1 - Board has SRIO 1 port available
      CONFIG_SRIO2 - Board has SRIO 2 port available
      
      (where 'n' is the port #)
      CONFIG_SYS_SRIOn_MEM_VIRT - virtual address in u-boot
      CONFIG_SYS_SRIOn_MEM_PHYS - physical address (for law setup)
      CONFIG_SYS_SRIOn_MEM_SIZE - size of window (for law setup)
      
      [ These mimic what we have for PCI and PCIe controllers ]
      Signed-off-by: 's avatarKumar Gala <galak@kernel.crashing.org>
      Acked-by: 's avatarWolfgang Denk <wd@denx.de>
      a09b9b68
    • Kumar Gala's avatar
      powerpc/8xxx: Replace is_fsl_pci_cfg with is_serdes_configured · 5d27e02c
      Kumar Gala authored
      Now that we have serdes support for all 85xx/86xx/Pxxx chips we can
      replace the is_fsl_pci_cfg() code with the is_serdes_configured().
      Signed-off-by: 's avatarKumar Gala <galak@kernel.crashing.org>
      5d27e02c
  9. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: 's avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  10. 16 Jul, 2010 2 commits
  11. 21 Apr, 2010 1 commit
  12. 13 Apr, 2010 1 commit
  13. 03 Oct, 2009 2 commits
  14. 08 Sep, 2009 2 commits
  15. 28 Aug, 2009 1 commit