1. 12 Feb, 2017 1 commit
    • Masahiro Yamada's avatar
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada authored
      We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
      not completed. Finish this work by the tool.
      
      During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
      Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
      than those of "#ifdef CONFIG_SYS_NO_FLASH".  Flipping the logic will
      make the code more readable.  Besides, negative meaning symbols do
      not fit in obj-$(CONFIG_...) style Makefiles.
      
      This commit was created as follows:
      
      [1] Edit "default n" to "default y" in the config entry in
          common/Kconfig.
      
      [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
      
      [3] Rename the instances in defconfigs by the following:
        find . -path './configs/*_defconfig' | xargs sed -i \
        -e '/CONFIG_SYS_NO_FLASH=y/d' \
        -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'
      
      [4] Change the conditionals by the following:
        find . -name '*.[ch]' | xargs sed -i \
        -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
        -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
        -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
        -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'
      
      [5] Modify the following manually
        - Rename the rest of instances
        - Remove the description from README
        - Create the new Kconfig entry in drivers/mtd/Kconfig
        - Remove the old Kconfig entry from common/Kconfig
        - Remove the garbage comments from include/configs/*.h
      Signed-off-by: 's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  2. 10 Feb, 2017 1 commit
  3. 09 Feb, 2017 2 commits
  4. 08 Feb, 2017 2 commits
  5. 07 Feb, 2017 4 commits
    • Bin Meng's avatar
      x86: qemu: Add a config for 64-bit U-Boot · bda40d56
      Bin Meng authored
      Add a new board config which uses 64-bit U-Boot. Supported features
      are the same as the other 64-bit board (Google Chromebook Link).
      It is a start for us to test 64-bit U-Boot easily without the need
      to access a real hardware.
      
      Note CONFIG_SPL_ENV_SUPPORT is required for QEMU 64-bit as without
      this the SPL build fails at the end. This is just a workaround as
      CONFIG_SPL_ENV_SUPPORT is not needed at all.
      
      common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
      lib/built-in.o: In function `hsearch_r':
      lib/hashtable.c:380: undefined reference to 'env_callback_init'
      lib/hashtable.c:382: undefined reference to 'env_flags_init'
      make[1]: *** [spl/u-boot-spl] Error 1
      
      Except those SPL options required by 64-bit, compared to 32-bit
      config, the following options are different:
      
      - CONFIG_SYS_MALLOC_F_LEN has to be increased to 0x1000 for SPL.
      - CONFIG_DEBUG_UART has to be included due to the weird issue.
        See TODO comments in arch/x86/cpu/x86_64/cpu.c:arch_setup_gd().
        Once this issue gets fixed, debug uart can be optional.
      Signed-off-by: 's avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: 's avatarSimon Glass <sjg@chromium.org>
      bda40d56
    • Bin Meng's avatar
      x86: qemu: Add a text base for 64-bit U-Boot · 8149d114
      Bin Meng authored
      Set up the 64-bit U-Boot text base if building for that target.
      Signed-off-by: 's avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: 's avatarSimon Glass <sjg@chromium.org>
      8149d114
    • Simon Glass's avatar
      x86: link: Add a config for 64-bit U-Boot · fda4eb48
      Simon Glass authored
      Add a new board config which uses 64-bit U-Boot. This is not fully
      functional but is it a start. Missing features:
      
      - SDRAM sizing
      - Booting linux
      - EFI support
      - SCSI device init
      (and others)
      Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: 's avatarBin Meng <bmeng.cn@gmail.com>
      fda4eb48
    • Simon Glass's avatar
      x86: link: Add a text base for 64-bit U-Boot · 19f8b32c
      Simon Glass authored
      Set up the 64-bit U-Boot text base if building for that target.
      Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: 's avatarBin Meng <bmeng.cn@gmail.com>
      19f8b32c
  6. 03 Feb, 2017 2 commits
  7. 01 Feb, 2017 1 commit
  8. 31 Jan, 2017 1 commit
  9. 30 Jan, 2017 1 commit
  10. 28 Jan, 2017 9 commits
  11. 27 Jan, 2017 2 commits
    • Peng Fan's avatar
      imx: mx6sxsabreauto: enable more dm drivers · e389033f
      Peng Fan authored
      Enable MMC/I2C/GPIO/PMIC/REGULATOR/PCA953X DM drivers
      for mx6sxsabreauto board. Drop non-DM code.
      
      Note:
      The i.MX DM drivers has such dependency.
        MXC GPIO -> MXC I2C -> PFUZE/REGULATOR
        MXC GPIO -> PCA953X
        MXC GPIO -> FSL_USDHC
      
      So the drivers needs to be enabled all to avoid
      compiling error.
      
      The uboot dm tree log:
      => dm tree
       Class       Probed   Name
       ----------------------------------------
        root        [ + ]    root_driver
        thermal     [   ]    |-- imx_thermal
        simple_bus  [ + ]    |-- soc
        simple_bus  [ + ]    |   |-- aips-bus@02000000
        simple_bus  [   ]    |   |   |-- spba-bus@02000000
        gpio        [ + ]    |   |   |-- gpio@0209c000
        gpio        [ + ]    |   |   |-- gpio@020a0000
        gpio        [ + ]    |   |   |-- gpio@020a4000
        gpio        [ + ]    |   |   |-- gpio@020a8000
        gpio        [ + ]    |   |   |-- gpio@020ac000
        gpio        [ + ]    |   |   |-- gpio@020b0000
        gpio        [ + ]    |   |   |-- gpio@020b4000
        simple_bus  [   ]    |   |   |-- anatop@020c8000
        simple_bus  [   ]    |   |   |-- snvs@020cc000
        pinctrl     [ + ]    |   |   `-- iomuxc@020e0000
        pinconfig   [ + ]    |   |       `-- imx6x-sabreauto
        pinconfig   [ + ]    |   |           |-- i2c2grp-1
        pinconfig   [ + ]    |   |           |-- i2c3grp-2
        pinconfig   [   ]    |   |           |-- uart1grp
        pinconfig   [ + ]    |   |           |-- usdhc3grp
        pinconfig   [   ]    |   |           |-- usdhc3grp-100mhz
        pinconfig   [   ]    |   |           |-- usdhc3grp-200mhz
        pinconfig   [ + ]    |   |           |-- usdhc4grp
        pinconfig   [ + ]    |   |           `-- vccsd3grp
        simple_bus  [ + ]    |   |-- aips-bus@02100000
        mmc         [ + ]    |   |   |-- usdhc@02198000
        mmc         [ + ]    |   |   |-- usdhc@0219c000
        i2c         [ + ]    |   |   |-- i2c@021a4000
        i2c_generic [ + ]    |   |   |   |-- generic_8
        i2c_generic [ + ]    |   |   |   `-- generic_4e
        i2c         [ + ]    |   |   `-- i2c@021a8000
        gpio        [ + ]    |   |       |-- gpio@30
        gpio        [ + ]    |   |       `-- gpio@32
        simple_bus  [   ]    |   `-- aips-bus@02200000
        simple_bus  [   ]    |       `-- spba-bus@02200000
        simple_bus  [ + ]    `-- regulators
        regulator   [ + ]        `-- regulator@0
      Signed-off-by: 's avatarPeng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      e389033f
    • Marcin Niestroj's avatar
      ARM: imx6ul: Move liteSOM source to SoC directory · d4b1b527
      Marcin Niestroj authored
      Moving arch/arm/mach-litesom/ to arch/arm/cpu/armv7/mx6/ was requested
      in [1] during discussion of chiliSOM support patches.
      
      [1] http://lists.denx.de/pipermail/u-boot/2017-January/279137.htmlSuggested-by: 's avatarTom Rini <trini@konsulko.com>
      Signed-off-by: 's avatarMarcin Niestroj <m.niestroj@grinn-global.com>
      Reviewed-by: 's avatarTom Rini <trini@konsulko.com>
      d4b1b527
  12. 25 Jan, 2017 2 commits
  13. 24 Jan, 2017 5 commits
  14. 21 Jan, 2017 1 commit
    • Uri Mashiach's avatar
      status_led: Kconfig migration · 2d8d190c
      Uri Mashiach authored
      Move all of the status LED feature to drivers/led/Kconfig.
      The LED status definitions were moved from the board configuration
      files to the defconfig files.
      
      TBD: Move all of the definitions in the include/status_led.h to the
      relevant board's defconfig files.
      
      Tested boards: CL-SOM-AM57x, CM-T335
      Signed-off-by: 's avatarUri Mashiach <uri.mashiach@compulab.co.il>
      2d8d190c
  15. 20 Jan, 2017 1 commit
    • Heiko Schocher's avatar
      serial, ns16550: bugfix: ns16550 fifo not enabled · 17fa0326
      Heiko Schocher authored
      commit: 65f83802 "serial: 16550: Add getfcr accessor"
      breaks u-boot commandline working with long commands
      sending to the board.
      
      Since the above patch, you have to setup the fcr register.
      
      For board/archs which enable OF_PLATDATA, the new field
      fcr in struct ns16550_platdata is not filled with a
      default value ...
      
      This leads in not setting up the uarts fifo, which ends
      in problems, when you send long commands to u-boots
      commandline.
      
      Detected this issue with automated tbot tests on am335x
      based shc board.
      
      The error does not popup, if you type commands. You need
      to copy&paste a long command to u-boots commandshell
      (or send a long command with tbot)
      
      Possible boards/plattforms with problems:
      ./arch/arm/cpu/arm926ejs/lpc32xx/devices.c
      ./arch/arm/mach-tegra/board.c
      ./board/overo/overo.c
      ./board/quipos/cairo/cairo.c
      ./board/logicpd/omap3som/omap3logic.c
      ./board/logicpd/zoom1/zoom1.c
      ./board/timll/devkit8000/devkit8000.c
      ./board/lg/sniper/sniper.c
      ./board/ti/beagle/beagle.c
      ./drivers/serial/serial_rockchip.c
      Signed-off-by: 's avatarHeiko Schocher <hs@denx.de>
      Signed-off-by: 's avatarLadislav Michl <ladis@linux-mips.org>
      Tested-by: 's avatarAdam Ford <aford173@gmail.com>
      Reviewed-by: 's avatarTom Rini <trini@konsulko.com>
      17fa0326
  16. 18 Jan, 2017 5 commits