05 Dec, 2019

2 commits


04 Dec, 2019

1 commit


23 Sep, 2019

1 commit


26 Aug, 2019

1 commit


27 Jul, 2019

2 commits

  • Like the other Logic PD OMAP35/DM37 boards, this board has device
    tree enabled for U-Boot. This patch converts the board to enable
    SPL_OF_CONTROL and further shrinks the device tree in SPL to limit
    it to UART3 (console), MMC1, i2c1, and GPIO4 (for mmc1 CD and WP).

    There appears to be a bug in minicom so users may need to
    switch the minicom terminal emulation to ANSI from VT102 due
    to the junk that gets pushed out of the UART on startup.

    Signed-off-by: Adam Ford

    Adam Ford
     
  • The PBIAS regulator is available on OMAP3's, and it's shared on
    the AM35, so this patch enables that in U-Boot along with GPIO
    based regulators.

    Signed-off-by: Adam Ford

    Adam Ford
     

26 Jul, 2019

1 commit


30 Apr, 2019

2 commits


19 Feb, 2019

1 commit


01 Feb, 2019

2 commits


08 Jan, 2019

1 commit


17 Nov, 2018

2 commits

  • After the recomendation, some testing shows like these are unnecessary.

    Suggested-by: Jean-Jacques Hiblot
    Signed-off-by: Adam Ford

    Adam Ford
     
  • In an effort to free up more resources in SPL and U-Boot, building
    for Thumb shrinks the code side.

    Before:

    text data bss dec hex filename
    685588 25808 275724 987120 f0ff0 u-boot

    text data bss dec hex filename
    55324 417 67460 123201 1e141 spl/u-boot-spl

    After:

    text data bss dec hex filename
    515502 25808 275708 817018 c777a u-boot

    text data bss dec hex filename
    42910 417 67460 110787 1b0c3 spl/u-boot-spl

    Signed-off-by: Adam Ford

    Adam Ford
     

14 Nov, 2018

2 commits


29 Sep, 2018

2 commits


12 Sep, 2018

1 commit


04 Sep, 2018

1 commit


18 Aug, 2018

1 commit


17 Aug, 2018

1 commit

  • 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: Tom Rini

    Tom Rini
     

24 Jul, 2018

1 commit


13 Jun, 2018

2 commits

  • The SPL doesn't have much room, so in order to support OF_CONTROL
    in SPL, we need the extra functionality of SPL_OF_PLATDATA.

    Adding these features allows us to remove a small part of code without
    losing the serial port during SPL.

    Signed-off-by: Adam Ford

    Adam Ford
     
  • The am3517-evm boards stores the environment in NAND, but after merging
    various configs, the board was trying to load environment variables from
    FAT which would ultimately fail and cause some chatter.

    This patch removes the ENV_IS_IN_FAT flag to eliminate the noise.

    Signed-off-by: Adam Ford

    Adam Ford
     

28 Apr, 2018

1 commit

  • 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: Adam Ford
    Signed-off-by: Tom Rini

    Adam Ford
     

08 Apr, 2018

1 commit


16 Mar, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_CONS_INDEX

    We have existing entries for this option in a number of places, with
    different guards on them. They're also sometimes used for things not
    directly inside of the serial driver. First, introduce a new symbol to
    guard the use of CONFIG_CONS_INDEX, so that in the case where we don't
    need this for the serial driver, but for some other use, we can still do
    it. Next, consolidate all of these into the single entry in
    drivers/serial/Kconfig. Finally, introduce CONS_INDEX_[023456] so that
    we can imply a correct value here to make the defconfig side of this
    smaller.

    Signed-off-by: Adam Ford
    [trini: Rework a lot of the logic here, such that I took authorship from
    Adam, but kept his S-o-B line]
    Signed-off-by: Tom Rini

    Tom Rini
     

23 Feb, 2018

1 commit


11 Feb, 2018

1 commit


06 Feb, 2018

1 commit

  • cmd/Makefile has:

    ifdef CONFIG_FPGA
    obj-$(CONFIG_CMD_FPGA) += fpga.o
    endif

    which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
    does nothing. Let's remove that Makefile conditional and instead express
    this equivalent dependency in Kconfig, so a lot of redundant

    # CONFIG_CMD_FPGA is not set

    can be removed from board defconfigs that don't actually have an FPGA.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

23 Jan, 2018

1 commit


19 Dec, 2017

1 commit


06 Nov, 2017

1 commit


21 Oct, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_NAND_MXC
    CONFIG_NAND_OMAP_GPMC
    CONFIG_NAND_OMAP_GPMC_PREFETCH
    CONFIG_NAND_OMAP_ELM
    CONFIG_SPL_NAND_AM33XX_BCH
    CONFIG_SPL_NAND_SIMPLE
    CONFIG_SYS_NAND_BUSWIDTH_16BIT

    Signed-off-by: Adam Ford
    Reviewed-by: Heiko Schocher
    [trini: Finish migration of CONFIG_SPL_NAND_SIMPLE, fix some build issues,
    add CONFIG_NAND_MXC so we can do CONFIG_SYS_NAND_BUSWIDTH_16BIT]
    Signed-off-by: Tom Rini

    Adam Ford
     

11 Oct, 2017

1 commit

  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

30 Sep, 2017

1 commit


13 Sep, 2017

1 commit