11 Jan, 2018

2 commits


16 Aug, 2017

4 commits


12 Jul, 2017

1 commit

  • As part of preparation for nand DM conversion the new API has been
    introduced to remove direct access to nand_info array. So, use it here
    instead of accessing to nand_info array directly.

    Signed-off-by: Grygorii Strashko
    Reviewed-by: Hannes Schmelzer
    Reviewed-by: Simon Glass

    Grygorii Strashko
     

16 Jun, 2017

1 commit

  • since commit

    'd5abcf94c7123167725fc22ace342f0d455093c1' -
    ti: boot: Register the MMC controllers in SPL in the same way as in u-boot

    MMC boot on brxre1 board is broken, with this commit we make our board
    working again.

    Signed-off-by: Hannes Schmelzer
    Reviewed-by: Tom Rini
    Reviewed-by: Jean-Jacques Hiblot

    Hannes Schmelzer
     

15 May, 2017

1 commit


06 May, 2017

1 commit


20 Mar, 2017

1 commit

  • To keep a consistent MMC device mapping in SPL and in u-boot, let's
    register the MMC controllers the same way in u-boot and in the SPL.
    In terms of boot time, it doesn't hurt to register more controllers than
    needed because the MMC device is initialized only prior being accessed for
    the first time.
    Having the same device mapping in SPL and u-boot allows us to use the
    environment in SPL whatever the MMC boot device.

    Signed-off-by: Jean-Jacques Hiblot

    Jean-Jacques Hiblot
     

25 Jun, 2016

2 commits


04 Jun, 2016

1 commit

  • nand_info[] is now an array of pointers, with the actual mtd_info
    instance embedded in struct nand_chip.

    This is in preparation for syncing the NAND code with Linux 4.6,
    which makes the same change to struct nand_chip. It's in a separate
    commit due to the large amount of changes required to accommodate the
    change to nand_info[].

    Signed-off-by: Scott Wood

    Scott Wood
     

25 Feb, 2016

1 commit


13 Nov, 2015

1 commit

  • Since we don't have for sure a valid IP-setup during
    board_late_init(...) because it maybe allready stored in environment or
    not, we cannot form a proper vxWorks bootline at this place.

    So we move to the way, forming the bootline just before
    executing/launching vxWorks. To do this we use the bootvx command
    instead go.

    We only have to form the "othbootargs" environment variable, the rest is
    done pretty good by the "bootvx" commannd.

    Signed-off-by: Hannes Schmelzer
    Reviewed-by: Bin Meng

    Hannes Petermaier
     

12 Sep, 2015

1 commit

  • To simplify and having a common default IP-setup on all B&R boards we
    introduce an environment variable "brdefaultip" which does following.

    Test if ${ipaddr} is empty, if yes it set's up some defaults:
    - ipaddr : 192.168.60.1
    - netmask : 255.255.255.0
    - gatewayip: 192.168.60.254
    - serverip : 192.168.60.254

    This environment is ran from CONFIG_PREBOOT.

    All other "tricks" are dropped.

    Signed-off-by: Hannes Schmelzer
    Reviewed-by: Tom Rini
    Acked-by: Joe Hershberger

    Hannes Petermaier
     

19 Jun, 2015

1 commit


28 May, 2015

1 commit


09 May, 2015

3 commits

  • usbupdate in real does allways load some script from usb-storage and execute
    it, on all B&R targets.

    So we do following 2 things:
    - rename it to what it really does
    - move it from boards to common environment

    Signed-off-by: Hannes Petermaier

    Hannes Petermaier
     
  • Since the used AM3352 SoC doesn't have GPU it isn't allways necessary to build
    in complete drm-stuff into linux kernel. In very small applications only we use
    the simple-framebuffer.

    So we have 2 use-cases:
    - device operating on drm-driver (let simplefb node disabled)
    - device operating on simplefb-driver (activate simplefb node and reserve mem)

    The decision is made by means of "simplefb" environment variable.

    simplefb = 0
    we don't enable the (maybe) existing simplefb node and all the rest around
    display is up to the linux-kernel. We just disable the backlight, beceause we
    do not want see the flicker during take over of drm-driver.

    simplefb = 1
    we enable the (maybe) existing simplefb node and reserve framebuffers size
    in memory.

    Signed-off-by: Hannes Petermaier

    Hannes Petermaier
     
  • We take use of the new LCD_ROTATION feature.
    The information about how the display is rotated is taken from B&R specific
    (/factory-settings/rotation) information in the devicetree.

    The information there is stored as string (cw, ud, ccw, none) since starting
    support of this devices and cannot be changed, so we have to convert it into

    none = 0
    cw = 1
    ud = 2
    ccw = 3

    Signed-off-by: Hannes Petermaier

    Hannes Petermaier
     

23 Apr, 2015

3 commits


19 Apr, 2015

1 commit


29 Mar, 2015

2 commits

  • since we have possibility to write out on lcd whats going on, we don't need
    the gpio blink functionality anymore.

    Signed-off-by: Hannes Petermaier

    Signed-off-by: Hannes Petermaier

    Hannes Petermaier
     
  • At this time I2C and responsible pin-mux is setup during PMIC initialziation
    within common.c, this is possible because today PMIC is always connected on
    I2C0.

    In Future this will be changed, PMIC isn't anymore connected to bus0 in call
    cases.

    So we do following:
    - rename enable_i2c_pin_mux0 to enable_i2c_pin_mux to be generic for enabling
    pin-mux on different or more busses.
    - move the call to i2c_pin_mux and i2c_init from common.c to the specific
    board.c

    Signed-off-by: Hannes Petermaier
    Signed-off-by: Hannes Petermaier

    Hannes Petermaier
     

17 Mar, 2015

1 commit


06 Mar, 2015

10 commits


29 Oct, 2014

1 commit

  • This commit introduces a Kconfig symbol for each ARM CPU:
    CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
    CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
    Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
    for CPU_ARM1176 and CPU_V7.

    For each target, the corresponding CPU is selected and the definition of
    SYS_CPU in the corresponding Kconfig file is removed.

    Also, it removes redundant "string" type in some Kconfig files.

    Signed-off-by: Georges Savoundararadj
    Acked-by: Albert ARIBAUD
    Cc: Masahiro Yamada

    Georges Savoundararadj