25 Oct, 2015

1 commit

  • We have finished Generic Board conversion for ARM and PowerPC, i.e.
    all the boards have been converted except OpenRISC, SuperH, SPARC,
    which have not supported Generic Board framework yet.

    Select SYS_GENERIC_BOARD in arch/Kconfig and delete all the macro
    defines in include/configs/*.h.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

13 Aug, 2015

1 commit


13 Mar, 2015

1 commit

  • Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into
    the console and hitting enter afterwards, causes a hang in the system because
    CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error
    message:
    "Unknown command '' - try 'help'".

    Use the default CONFIG_SYS_PBSIZE definition from config_fallbacks.h to solve
    this problem.

    Cc: Marek Vasut
    Signed-off-by: Fabio Estevam
    Acked-by: Marek Vasut

    Fabio Estevam
     

29 Oct, 2014

1 commit

  • This patch just converts the function prototypes used throughout
    this driver to match those of the i2c framework. There is so far
    no functional change. This patch does not do the deeper integration
    of the framework bits.

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Heiko Schocher

    Marek Vasut
     

11 Aug, 2014

1 commit


31 Jul, 2014

1 commit


30 Jul, 2014

1 commit

  • We are about to switch to Kconfig in the next commit.
    But there are something to get done beforehand.

    In Kconfig, include/generated/autoconf.h defines boolean
    CONFIG macros as 1.

    CONFIG_SPL and CONFIG_TPL, if defined, must be set to 1.
    Otherwise, when switching to Kconfig, the build log
    would be sprinkled with warning messages like this:
    warning: "CONFIG_SPL" redefined [enabled by default]

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass

    Masahiro Yamada
     

23 Jul, 2014

1 commit

  • As a result of 0defddc851edfc34bcf3c3379fe74b11dc01a493 , which did
    a consolidation of the prompt string, this ifdef became empty. Remove
    it.

    Signed-off-by: Marek Vasut
    Cc: Tom Rini
    Cc: Stefano Babic

    Marek Vasut
     

28 Apr, 2014

1 commit


01 Apr, 2014

2 commits

  • Add yet another OCOTP driver for this i.MX family. This time, it's a driver for
    the OCOTP variant found in the i.MX23 and i.MX28. This version of OCOTP is too
    different from the i.MX6 one that I could not use the mxc_ocotp.c driver without
    making it into a big pile of #ifdef . This driver implements the regular fuse
    command interface, but due to the IP blocks' limitation, we support only READ
    and PROG functions.

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic

    Marek Vasut
     
  • When using HAB, there are additional special requirements on the placement of
    U-Boot and the U-Boot SPL in memory. To fullfill these, this patch moves the
    U-Boot binary a little further from the begining of the DRAM, so the HAB CST
    and IVT can be placed in front of the U-Boot binary. This is necessary, since
    both the U-Boot and the IVT must be contained in single CST signature. To
    make things worse, the IVT must be concatenated with one more entry at it's
    end, that is the length of the entire CST signature, IVT and U-Boot binary
    in memory. By placing the blocks in this order -- CST, IVT, U-Boot, we can
    easily align them all and then produce the length field as needed.

    As for the SPL, on i.MX23/i.MX28, the SPL size is limited to 32 KiB, thus
    we place the IVT at 0x8000 offset, CST right past IVT and claim the size
    is correct. The HAB library accepts this setup.

    Finally, to make sure the vectoring in SPL still works even after moving
    the SPL from 0x0 to 0x1000, we add a small function which copies the
    vectoring code and tables to 0x0. This is fine, since the vectoring code
    is position independent.

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic

    Marek Vasut
     

20 Feb, 2014

1 commit


05 Nov, 2013

2 commits


22 Aug, 2013

1 commit


24 Jul, 2013

1 commit

  • Pull all the duplicate configuration options into configs/mxs.h
    from the board configuration files. This reduces the files greatly
    and makes them somewhat more readable. Besides, we do no longer
    have such a horrible duplication of code.

    Note that the mx23evk grew in size slightly. This is due to the
    CONFIG_SYS_CBSIZE now being set to 1024 as it is on the rest of
    MXS systems.

    This patch also fixes the OCRAM size for i.MX23. The i.MX23 has
    only 32kB of OCRAM, while i.MX28 has 128kB of OCRAM.

    I verified the configuration didn't change for each of the boards,
    but I didn't boot-test it on the boards I do not have. I configured
    U-Boot for each board using the "make ... _config" command
    and then ran "cpp -I include -dM include/config.h" , which dumped
    all the configuration options. I did this both before and after this
    patch and finally compared the results for each MXS board. Actually,
    the results do differ slightly, since the configs/mxs.h file now
    properly includes the correct iomux-mx23.h or iomux-mx28.h , so
    while comparing, I had to ignore these new defines. These have no
    impact on U-Boot configuration though.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Lauri Hintsala
    Cc: Otavio Salvador
    Cc: Stefano Babic

    Marek Vasut