1. 28 7月, 2019 1 次提交
  2. 26 7月, 2019 1 次提交
  3. 06 6月, 2019 1 次提交
    • S
      ARM: davinci: SPL: fix BSS initialization · 2a766db9
      Sekhar Nori 提交于
      U-Boot README recommends initializing SDRAM in board_init_f(). DA850
      was doing it as part of board_init_r() (through call to spl_board_init()
      which calls arch_cpu_init() which calls da850_ddr_setup())
      
      This worked fine till commit 15b8c750 ("davinci:
      da850evm/omapl138-lcdk: Move BSS to SDRAM because SRAM is full") moved
      BSS to SDRAM.
      
      Functions like mmc_initialize() called in board_init_r() assume BSS is
      available. Since SDRAM was not initialized when arch/arm/lib/crt0.S tried
      to initialize BSS to 0, BSS is not initialized correctly.
      
      Fix this by simply calling arch_cpu_init() from board_init_f(). Also move
      preloader_console_init() there to help debug issues with board_init_r().
      
      With this spl_board_init() is no longer needed, we remove it.
      
      Tested using MMC/SD boot on OMAP-L138 LCDK board.
      
      Tested-by: Adam Ford <aford173@gmail.com> #da850evm
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Tested-by: Peter Howard <phoward@gme.net.au> #omapl138_lcdk
      2a766db9
  4. 19 5月, 2019 1 次提交
  5. 05 5月, 2019 1 次提交
  6. 30 4月, 2019 2 次提交
  7. 27 4月, 2019 2 次提交
    • A
      ARM: da850evm: Fix TI boot scripts for MMC · cd2d8245
      Adam Ford 提交于
      The da850evm include environment/ti/mmc.h and places
      DEFAULT_MMC_TI_ARGS, defined int that file, in
      CONFIG_EXTRA_ENV_SETTINGS.  This has been broken for some time
      since neither CMD_PART nor CMD_UUID are available, so manually
      changing the environmental variables was always required before
      booting from MMC. With this patch, these scripts should work
      again, and by default they point to mmc 0, partition 2, and
      the dtb file exists in a /boot directory on partition 2.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      cd2d8245
    • A
      ARM: da850evm: Fix broken SPI Flash · fd3c26f3
      Adam Ford 提交于
      A previous patch converted a bunch of settings for CONFIG_SF_DEFAULT
      but it broke the SPI Flash which now prevents booting.  This patch
      now correctly sets CONFIG_SF_DEFAULT_SPEED=30000000 to match what it
      was before the conversion.
      
      Fixes: 14453fbf ("Convert CONFIG_SF_DEFAULT_* to Kconfig")
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      fd3c26f3
  8. 12 4月, 2019 2 次提交
    • A
      ARM: davinci: da850evm: Enable SPL_OF_CONTROL without PLATDATA · f7c1d536
      Adam Ford 提交于
      With the memory mapping giving us some more avialable RAM, this
      updates the da850-evm-u-boot.dtsi to include the serial port, SPI
      and Flash nodes along with some dependent nodes in the SPL dtb.
      This also removes the platform data initialization code for the
      serial port and SPI Flash.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      f7c1d536
    • P
      dm: spi: Read default speed and mode values from DT · b0cc1b84
      Patrick Delaunay 提交于
      This patch update the behavior introduced by
      commit 96907c0f ("dm: spi: Read default speed and mode values from DT")
      
      In case of DT boot, don't read default speed and mode for SPI from
      CONFIG_* but instead read from DT node. This will make sure that boards
      with multiple SPI/QSPI controllers can be probed at different
      bus frequencies and SPI modes.
      
      Remove also use in boards of the value speed=0 (no more supported)
      for ENV in SPI by using CONFIG_ENV_SPI_MAX_HZ=0.
      
      DT values will be always used when available (full DM support of
      SPI slave with available DT node) even if speed and mode are requested;
      for example in splash screen support (in splash_sf_read_raw)
      or in SPL boot (in spl_spi_load_image).
      The caller of spi_get_bus_and_cs() no more need to force speed=0.
      
      But the current behavior don't change if the SPI slave is not
      present (device with generic driver is created automatically)
      or if platdata is used (CONFIG_OF_PLATDATA).
      Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
      Acked-by: NJagan Teki <jagan@amarulasolutions.com>
      b0cc1b84
  9. 26 3月, 2019 1 次提交
  10. 19 2月, 2019 1 次提交
    • A
      ARM: da850evm: Increase Malloc Size · 591353d0
      Adam Ford 提交于
      The SPI NOR frameware was recently updated, but they require a little
      more memory that we had previosly allocated, so it stopped booting.
      This patch doubles the size of CONFIG_SPL_SYS_MALLOC_F_LEN to 0x800.
      
      Fixes: c4e88623 ("mtd: spi: Switch to new SPI NOR framework")
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      591353d0
  11. 08 1月, 2019 1 次提交
  12. 14 11月, 2018 2 次提交
  13. 10 10月, 2018 1 次提交
  14. 29 9月, 2018 2 次提交
  15. 12 9月, 2018 1 次提交
  16. 04 9月, 2018 1 次提交
  17. 20 8月, 2018 3 次提交
    • A
      ARM: da850evm: Enable SPL_SYS_MALLOC_SIMPLE · c4fa049a
      Adam Ford 提交于
      The SPL space is limited.  In order to try to enable DM in SPL,
      we need more space. When combined wtih TINY_PRINTF, this reduces
      the size of SPL by 6.5k
      
      Original:
      
         text	   data	    bss	    dec	    hex	filename
        20760	   1216	     80	  22056	   5628	spl/u-boot-spl
      
      Tiny Printf
         text	   data	    bss	    dec	    hex	filename
        17947	   1216	     80	  19243	   4b2b	spl/u-boot-spl
      
      Malloc Simple + Tiny Printf
         text	   data	    bss	    dec	    hex	filename
        15187	    176	     28	  15391	   3c1f	spl/u-boot-spl
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      c4fa049a
    • A
      ARM: da850evm: Enable USE_TINY_PRINTF · f09d8315
      Adam Ford 提交于
      The SPL space is limited.  In order to try to enable DM in SPL,
      we need more space. This reduces the size of SPL by ~2.7K
      
      before:
         text	   data	    bss	    dec	    hex	filename
        20760	   1216	     80	  22056	   5628	spl/u-boot-spl
      after:
         text	   data	    bss	    dec	    hex	filename
        17947	   1216	     80	  19243	   4b2b	spl/u-boot-spl
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      f09d8315
    • A
      configs: da850evm: Remove DM_I2C_COMPAT · 391328dc
      Adam Ford 提交于
      Since using DM_I2C_COMPAT throws a warning during compilation,
      and it isn't really needed any longer, so this patch removes
      this feature and shrinks the code a bit.
      
      from:
         text	   data	    bss	    dec	    hex	filename
       343326	  13388	 123448	 480162	  753a2	u-boot
      
      to:
         text	   data	    bss	    dec	    hex	filename
       342924	  13380	 123440	 479744	  75200	u-boot
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      391328dc
  18. 18 8月, 2018 3 次提交
  19. 17 8月, 2018 1 次提交
    • T
      configs: Migrate CONFIG_NR_DRAM_BANKS · 86cf1c82
      Tom Rini 提交于
      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: NTom Rini <trini@konsulko.com>
      86cf1c82
  20. 24 7月, 2018 1 次提交
  21. 23 7月, 2018 1 次提交
  22. 19 6月, 2018 1 次提交
  23. 04 6月, 2018 1 次提交
  24. 28 4月, 2018 1 次提交
    • A
      Convert CONFIG_SPI to Kconfig · f1b1f770
      Adam Ford 提交于
      This converts the following to Kconfig:
         CONFIG_SPI
      
      This partly involves updating code that assumes that CONFIG_SPI implies
      things that are specific to the MPC8xx SPI driver.  For now, just update
      the CONFIG tests.  This also involves reworking the default for
      CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
      reasonable default, as it does not cause any compile failures.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      f1b1f770
  25. 17 4月, 2018 1 次提交
  26. 12 4月, 2018 1 次提交
  27. 08 4月, 2018 1 次提交
  28. 24 2月, 2018 1 次提交
  29. 11 2月, 2018 1 次提交
    • T
      configs: Migrate CONFIG_SYS_TEXT_BASE · 278b90ce
      Tom Rini 提交于
      On the NIOS2 and Xtensa architectures, we do not have
      CONFIG_SYS_TEXT_BASE set.  This is a strict migration of the current
      values into the defconfig and removing them from the headers.
      
      I did not attempt to add more default values in and for now will leave
      that to maintainers.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      278b90ce
  30. 23 1月, 2018 1 次提交
  31. 06 11月, 2017 1 次提交