1. 12 7月, 2017 4 次提交
  2. 10 7月, 2017 1 次提交
    • L
      cmd, nand: fix broken output of "nand info" · 66dc09c5
      Lothar Waßmann 提交于
      If the value of either "nand options" or "bbt options" has a zero in
      the most significant nibble, the '0x' prefix will be isolated from the
      value like shown below:
      |Device 0: nand0, sector size 128 KiB
      |  Page size       2048 b
      |  OOB size          64 b
      |  Erase size    131072 b
      |  subpagesize     2048 b
      |  options     0x40000200
      |  bbt options 0x   60000
      
      Change the format string to produce leading zeroes filling the gap.
      Signed-off-by: NLothar Waßmann <LW@KARO-electronics.de>
      66dc09c5
  3. 09 7月, 2017 2 次提交
    • C
      powerpc, 8xx: move specific reginfo · d7949665
      Christophe Leroy 提交于
      Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      d7949665
    • C
      powerpc: Partialy restore core of mpc8xx · 907208c4
      Christophe Leroy 提交于
      CS Systemes d'Information (CSSI) manufactures 8xx boards for
      critical communication systems. Those boards have been
      running U-Boot since 2010 and will have to be maintained
      until at least 2027.
      
      commit 5b8e76c3
      ("powerpc, 8xx: remove support for 8xx") orphaned those boards
      by removing support for the mpc8xx CPU.
      
      This commit partially restores support for the 8xx, with the
      following limitations:
      - Restores support for MPC866 and MPC885 only
      - Does not restore IDE, PCMCIA, I2C, USB
      - Does not restore examples
      - Does not restore POST
      - Does not restore Ethernet on SCC
      - Does not restore console on SCC
      - Does not restore bedbug and kgdb support
      
      As the 866 and 885 do not support the following features,
      they are not restored either:
      - VIDEO / LCD
      - RTC clock
      
      The CPM uCODE patch is not restored either, because:
      - 866 and 885 already have support for I2C and SPI relocation
      without a uCODE patch
      - relocation of SMC, I2C or SPI is only needed for using SCCs
      for Ethernet or QMC
      
      The dynamic setup/calculation of clocks is removed, we
      expect the target being use with the clock and PLPRCR register
      defined in the configuration.
      All the clock settings for 8xx prior to 866 is removed as
      well as we now only support 866 and 885.
      
      This code is mature and addresses mature boards. Therefore
      all code enclosed in '#if 0/#endif' and '#if XX_DEBUG/#endif'
      is unneeded.
      
      The following files are not restored by this patch:
      
      - arch/powerpc/cpu/mpc8xx/bedbug_860.c
      - arch/powerpc/cpu/mpc8xx/fec.h
      - arch/powerpc/cpu/mpc8xx/kgdb.S
      - arch/powerpc/cpu/mpc8xx/plprcr_write.S
      - arch/powerpc/cpu/mpc8xx/scc.c
      - arch/powerpc/cpu/mpc8xx/upatch.c
      - arch/powerpc/cpu/mpc8xx/video.c
      - arch/powerpc/include/asm/status_led.h
      - arch/powerpc/lib/ide.c
      - arch/powerpc/lib/ide.h
      - doc/README.MPC866
      - drivers/pcmcia/mpc8xx_pcmcia.c
      - drivers/rtc/mpc8xx.c
      - drivers/usb/gadget/mpc8xx_udc.c
      - drivers/video/mpc8xx_lcd.c
      - examples/standalone/test_burst.c
      - examples/standalone/test_burst.h
      - examples/standalone/test_burst_lib.S
      - examples/standalone/timer.c
      - include/mpc823_lcd.h
      - include/usb/mpc8xx_udc.h
      - post/cpu/mpc8xx/Makefile
      - post/cpu/mpc8xx/cache.c
      - post/cpu/mpc8xx/cache_8xx.S
      - post/cpu/mpc8xx/ether.c
      - post/cpu/mpc8xx/spr.c
      - post/cpu/mpc8xx/uart.c
      - post/cpu/mpc8xx/usb.c
      - post/cpu/mpc8xx/watchdog.c
      
      Some of the restored files are not located in a proper location.
      In order to keep traceability of the changes, they will be
      moved to their correct location and moved to Kconfig in a
      followup patch.
      
      This patch also declares CSSI as point of contact for the update
      of the 8xx platform, as those boards are the only ones still
      being maintained on the 8xx area. A later patch will add
      those boards to the tree.
      Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
      907208c4
  4. 07 7月, 2017 1 次提交
  5. 04 7月, 2017 1 次提交
  6. 03 7月, 2017 1 次提交
  7. 23 6月, 2017 1 次提交
  8. 19 6月, 2017 2 次提交
  9. 16 6月, 2017 2 次提交
  10. 12 6月, 2017 7 次提交
  11. 10 6月, 2017 2 次提交
  12. 09 6月, 2017 1 次提交
  13. 06 6月, 2017 2 次提交
    • T
      cmd/ethsw: Disable implicit enum conversion warning · 18b29165
      Tom Rini 提交于
      With clang-3.8 we see warnings like:
      cmd/ethsw.c:304:6: warning: implicit conversion from
            enumeration type 'enum ethsw_keyword_opt_id' to different enumeration type
            'enum ethsw_keyword_id' [-Wenum-conversion]
                                              ethsw_id_pvid_no,
                                              ^~~~~~~~~~~~~~~~
      
      Because we have one enum for ethsw_keyword_id and a second enum for
      ethsw_keyword_opt_id.  This ends up being safe as ethsw_keyword_opt_id
      explicitly starts after ethsw_keyword_id enum ends.   Disable the
      warning here rather than collapse these into one enum and rely on
      comments to denote where optional keywords begin.
      
      Cc: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      18b29165
    • T
      cmd/elf.c: Support passing arguments with bootelf · be1b8679
      Tom Rini 提交于
      The bootelf command could, but does not, pass additional arguments along
      on the command line.  Make do_bootelf consume bootelf/flags/address as
      needed and then pass along anything else to the ELF application we've
      launched.
      Reported-by: NThomas Doerfler <thomas.doerfler@embedded-brains.de>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      be1b8679
  14. 04 6月, 2017 1 次提交
  15. 03 6月, 2017 1 次提交
    • S
      pci: Correct cast for sandbox · 84d7f916
      Simon Glass 提交于
      This gives a warning with some native compilers:
      
      cmd/pci.c:152:11: warning: format ‘%llx’ expects argument of type
         ‘long long unsigned int’, but argument 3 has type
         ‘u64 {aka long unsigned int}’ [-Wformat=]
      
      Fix it with a cast.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      84d7f916
  16. 01 6月, 2017 2 次提交
  17. 23 5月, 2017 9 次提交