Skip to content
Snippets Groups Projects
  1. Feb 17, 2017
  2. Feb 12, 2017
    • 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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  3. Feb 10, 2017
  4. Feb 09, 2017
  5. Feb 08, 2017
  6. Feb 07, 2017
  7. Feb 03, 2017
  8. Feb 01, 2017
  9. Jan 31, 2017
  10. Jan 30, 2017
  11. Jan 28, 2017
  12. Jan 27, 2017
    • 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: default 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.html
      
      
      
      Suggested-by: default avatarTom Rini <trini@konsulko.com>
      Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      d4b1b527
  13. Jan 25, 2017
  14. Jan 24, 2017
  15. Jan 21, 2017
    • 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: default avatarUri Mashiach <uri.mashiach@compulab.co.il>
      2d8d190c
  16. Jan 20, 2017
    • 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: default avatarHeiko Schocher <hs@denx.de>
      Signed-off-by: default avatarLadislav Michl <ladis@linux-mips.org>
      Tested-by: default avatarAdam Ford <aford173@gmail.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      17fa0326
  17. Jan 18, 2017
    • Yangbo Lu's avatar
      armv8: ls1012a: define esdhc_status_fixup for RDB board · 5e4a6db8
      Yangbo Lu authored
      
      On LS1012ARDB board, three dual 1:4 mux/demux devices drive the SDHC2
      signals to eMMC, SDIO wifi, SPI and Ardiuno shield. Only when we select
      eMMC and SDIO wifi, the SDHC2 could be used. Otherwise, the command
      inhibit bits of eSDHC2_PRSSTAT register will never release. This would
      cause below continious error messages in linux since it uses polling
      mode to detect card.
      "mmc1: Controller never released inhibit bit(s)."
      "mmc1: Controller never released inhibit bit(s)."
      "mmc1: Controller never released inhibit bit(s)."
      This patch is to define esdhc_status_fixup function for RDB to disable
      SDHC2 status if no SDIO wifi or eMMC is selected.
      
      Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      5e4a6db8
    • Yangbo Lu's avatar
      armv8: ls1012a: define esdhc_status_fixup for QDS board · 208e1ae8
      Yangbo Lu authored
      
      The LS1012AQDS board has a hardware issue. When there is no eMMC
      adapter card inserted in SDHC2 adapter slot, the command inhibit
      bits of eSDHC2_PRSSTAT register will never release. This would cause
      below continious error messages in linux since it uses polling mode
      to detect card.
      "mmc1: Controller never released inhibit bit(s)."
      "mmc1: Controller never released inhibit bit(s)."
      "mmc1: Controller never released inhibit bit(s)."
      This patch is to define esdhc_status_fixup function for QDS to
      disable SDHC2 status if no eMMC adapter card is detected.
      
      Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      208e1ae8
    • Hou Zhiqiang's avatar
      ls1046ardb: Add support power initialization · dccef2ec
      Hou Zhiqiang authored
      
      Add the chip power supply voltage initialization on LS1046ARDB.
      Add function power_init_board(), and it will initialize the
      PMIC and call the chip power initialization function.
      
      Signed-off-by: default avatarHou Zhiqiang <Zhiqiang.Hou@nxp.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      dccef2ec
Loading