09 Feb, 2022

1 commit


27 Sep, 2021

1 commit


23 Sep, 2021

1 commit


01 Sep, 2021

1 commit


03 Feb, 2021

1 commit

  • Move this out of the common header and include it only where needed. In
    a number of cases this requires adding "struct udevice;" to avoid adding
    another large header or in other cases replacing / adding missing header
    files that had been pulled in, very indirectly. Finally, we have a few
    cases where we did not need to include at all, so
    remove that include.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

17 Jul, 2020

1 commit

  • The Linux coding style guide (Documentation/process/coding-style.rst)
    clearly says:

    It's a **mistake** to use typedef for structures and pointers.

    Besides, using typedef for structures is annoying when you try to make
    headers self-contained.

    Let's say you have the following function declaration in a header:

    void foo(bd_t *bd);

    This is not self-contained since bd_t is not defined.

    To tell the compiler what 'bd_t' is, you need to include

    #include
    void foo(bd_t *bd);

    Then, the include direcective pulls in more bloat needlessly.

    If you use 'struct bd_info' instead, it is enough to put a forward
    declaration as follows:

    struct bd_info;
    void foo(struct bd_info *bd);

    Right, typedef'ing bd_t is a mistake.

    I used coccinelle to generate this commit.

    The semantic patch that makes this change is as follows:


    @@
    typedef bd_t;
    @@
    -bd_t
    +struct bd_info

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

19 May, 2020

3 commits


20 Jan, 2020

2 commits


06 Dec, 2019

5 commits

  • The board has both VDD_SOC_IN and VDD_ARM_IN rails connected to the same
    PMIC rail, align the LDO voltages to avoid leaking inside the MX6SX SoC.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Silvio Fricke
    Cc: Stefano Babic

    Marek Vasut
     
  • Ever since the conversion to DM PCI, the board was missing the PCIe DT
    nodes, hence the PCI did not really work. Fill in the DT nodes and add
    missing PCIe device reset.

    Moreover, bring the PCIe power domain up before booting Linux. This is
    mandatory to keep old broken vendor kernels working, as they do not do
    so and depend on the bootloader to bring the power domain up.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Silvio Fricke
    Cc: Stefano Babic

    Marek Vasut
     
  • Convert the board to ethernet DM support. Adjust board file accordingly,
    as the board_eth_init() contains custom clock configuration required for
    this board to work. Furthermore, enable FEC1 clock to make FEC1 work as
    well.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Silvio Fricke
    Cc: Stefano Babic

    Marek Vasut
     
  • Enable DRAM calibration in SPL to improve behavior of the board
    in edge conditions of the thermal envelope of the board and make
    it even more stable.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Silvio Fricke
    Cc: Stefano Babic

    Marek Vasut
     
  • In preparation for use of DDR DRAM fine-tuning upon boot,
    convert the board to SPL framework instead of using DCD
    tables to bring up DRAM and pinmux.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Silvio Fricke
    Cc: Stefano Babic

    Marek Vasut
     

03 Dec, 2019

3 commits


10 Oct, 2019

3 commits


12 Aug, 2019

2 commits


23 Jun, 2019

1 commit


11 Jun, 2019

4 commits