Skip to content
Snippets Groups Projects
  1. Feb 20, 2020
  2. Dec 02, 2019
  3. Oct 08, 2019
  4. Sep 11, 2018
  5. Aug 16, 2018
    • Tom Rini's avatar
      configs: Migrate CONFIG_NR_DRAM_BANKS · 86cf1c82
      Tom Rini authored
      
      We have the following cases:
      - CONFIG_NR_DRAM_BANKS was defined, migrate normally
      - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
        CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
      - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
        2), set this to 8.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      86cf1c82
  6. Jul 19, 2018
  7. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  8. Oct 03, 2017
    • Paul Burton's avatar
      microblaze: Use asm-generic/io.h · dbee7152
      Paul Burton authored
      
      Convert the microblaze architecture to make use of the new
      asm-generic/io.h to provide address mapping functions. As the generic
      implementations are suitable for microblaze this is primarily a matter
      of removing code.
      
      Feedback from architecture maintainers is welcome.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Cc: Michal Simek <monstr@monstr.eu>
      dbee7152
  9. Oct 19, 2016
  10. Sep 23, 2016
  11. Jun 06, 2016
  12. Nov 19, 2015
  13. Nov 05, 2015
  14. Mar 28, 2015
  15. Feb 09, 2015
  16. Sep 09, 2014
  17. May 12, 2014
    • Masahiro Yamada's avatar
      bd_info: remove bi_barudrate member from struct bd_info · 8e261575
      Masahiro Yamada authored
      
      gd->bd->bi_baudrate is a copy of gd->baudrate.
      
      Since baudrate is a common feature for all architectures,
      keep gd->baudrate only.
      
      It is true that bi_baudrate was passed to the kernel in that structure
      but it was a long time ago.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Acked-by: Michal Simek <monstr@monstr.eu> (For microblaze)
      8e261575
  18. Feb 04, 2014
  19. Nov 08, 2013
  20. Oct 16, 2013
  21. Oct 14, 2013
  22. Jul 24, 2013
  23. May 09, 2013
    • Michal Simek's avatar
      gpio: Add support for microblaze xilinx GPIO · 4e779ad2
      Michal Simek authored
      
      Microblaze uses gpio which is connected to the system reset.
      Currently gpio subsystem wasn't used for it.
      
      Add gpio driver and change Microblaze reset logic to be done
      via gpio subsystem.
      
      There are various configurations which Microblaze can have
      that's why gpio_alloc/gpio_alloc_dual(for dual channel)
      function has been introduced and gpio can be allocated
      dynamically.
      
      Adding several gpios IP is also possible and supported.
      
      For listing gpio configuration please use "gpio status" command
      
      This patch also remove one compilation warning:
      microblaze-generic.c: In function 'do_reset':
      microblaze-generic.c:38:47: warning: operation on '*1073741824u'
       may be undefined [-Wsequence-point]
      
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      4e779ad2
  24. Apr 30, 2013
  25. Mar 15, 2013
    • Simon Glass's avatar
      Introduce generic link section.h symbol files · 18652864
      Simon Glass authored
      
      We create a separate header file for link symbols defined by the link
      scripts. It is helpful to have these all in one place and try to
      make them common across architectures. Since Linux already has a similar
      file, we bring this in even though many of the symbols there are not
      relevant to us.
      
      Each architecture has its own asm/sections.h where symbols specifc to
      that architecture can be added. For now everything except AVR32 just
      includes the generic header.
      
      One change is needed in arch/avr32/lib/board.c to make this conversion
      work.
      
      Reviewed-by: Tom Rini <trini@ti.com> (version 5)
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      18652864
  26. Feb 04, 2013
  27. Feb 01, 2013
    • Simon Glass's avatar
      Add architecture-specific global data · 5cb48582
      Simon Glass authored
      
      We plan to move architecture-specific data into a separate structure so
      that we can make the rest of it common.
      
      As a first step, create struct arch_global_data to hold these fields.
      Initially it is empty.
      
      This patch applies to all archs at once. I can split it if this is really
      a pain.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      5cb48582
  28. Nov 07, 2012
    • Michal Simek's avatar
      microblaze: Remove asm/bitops.h from asm/posix_types.h · f8c1ed09
      Michal Simek authored
      
      The patch
      "include/linux/byteorder: import latest endian definitions from linux"
      (sha1: eef1cf2d)
      
      Introduced a lot of compilation failures with unknow types.
      include/linux/byteorder/big_endian.h:45:1: error: unknown type name '__le64'
      include/linux/byteorder/big_endian.h: In function '__cpu_to_le64p':
      include/linux/byteorder/big_endian.h:47:18: error: '__le64' undeclared (first use in this function)
      include/linux/byteorder/big_endian.h:47:18: note: each undeclared identifier is reported only once for each function it appears in
      include/linux/byteorder/big_endian.h:47:25: error: expected ';' before '__swab64p'
      include/linux/byteorder/big_endian.h: At top level:
      include/linux/byteorder/big_endian.h:49:1: error: unknown type name '__le64'
      include/linux/byteorder/big_endian.h:53:1: error: unknown type name '__le32'
      include/linux/byteorder/big_endian.h: In function '__cpu_to_le32p':
      include/linux/byteorder/big_endian.h:55:18: error: '__le32' undeclared (first use in this function)
      include/linux/byteorder/big_endian.h:55:25: error: expected ';' before '__swab32p'
      include/linux/byteorder/big_endian.h: At top level:
      include/linux/byteorder/big_endian.h:57:1: error: unknown type name '__le32'
      include/linux/byteorder/big_endian.h:61:1: error: unknown type name '__le16'
      ...
      
      Removing asm/bitops.h solved this problem.
      
      Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
      f8c1ed09
    • Michal Simek's avatar
      microblaze: Fix byteorder for microblaze · ea012281
      Michal Simek authored
      
      Just remove ancient code.
      
      Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
      Acked-by: default avatarStephan Linz <linz@li-pro.net>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      ea012281
    • Michal Simek's avatar
      microblaze: Fix compilation warning in ext2_find_next_zero_bit · 548ce4bf
      Michal Simek authored
      
      ext2_find_next_zero_bit must be also static if __swab32 is also static.
      
      Warning:
      include/asm/bitops.h:369:22: warning: '__fswab32' is static but
      used in inline function 'ext2_find_next_zero_bit'
      which is not static [enabled by default]
      
      Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
      Acked-by: default avatarStephan Linz <linz@li-pro.net>
      548ce4bf
  29. Oct 19, 2012
Loading