14 Sep, 2014

1 commit

  • Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
    are specified in arch/Kconfig.

    We can delete the ones in arch and board Kconfig files.

    This commit can be easily reproduced by the following command:

    find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
    /config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
    N
    s/\n[[:space:]]*string//
    }
    '

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

31 Aug, 2014

1 commit


30 Jul, 2014

2 commits

  • We have switched to Kconfig and the boards.cfg file is going to
    be removed. We have to retrieve the board status and maintainers
    information from it.

    The MAINTAINERS format as in Linux Kernel would be nice
    because we can crib the scripts/get_maintainer.pl script.

    After some discussion, we chose to put a MAINTAINERS file under each
    board directory, not the top-level one because we want to collect
    relevant information for a board into a single place.

    TODO:
    Modify get_maintainer.pl to scan multiple MAINTAINERS files.

    Signed-off-by: Masahiro Yamada
    Suggested-by: Tom Rini
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • This commit adds:
    - arch/${ARCH}/Kconfig
    provide a menu to select target boards
    - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
    set CONFIG macros to the appropriate values for each board
    - configs/${TARGET_BOARD}_defconfig
    default setting of each board

    (This commit was automatically generated by a conversion script
    based on boards.cfg)

    In Linux Kernel, defconfig files are located under
    arch/${ARCH}/configs/ directory.
    It works in Linux Kernel since ARCH is always given from the
    command line for cross compile.

    But in U-Boot, ARCH is not given from the command line.
    Which means we cannot know ARCH until the board configuration is done.
    That is why all the "*_defconfig" files should be gathered into a
    single directory ./configs/.

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

    Masahiro Yamada
     

20 Jun, 2014

1 commit


10 Nov, 2013

1 commit

  • Conflicts:
    arch/arm/cpu/arm926ejs/mxs/Makefile
    board/compulab/cm_t35/Makefile
    board/corscience/tricorder/Makefile
    board/ppcag/bg0900/Makefile
    drivers/bootcount/Makefile
    include/configs/omap4_common.h
    include/configs/pdnb3.h

    Makefile conflicts are due to additions/removals of
    object files on the ARM branch vs KBuild introduction
    on the main branch. Resolution consists in adjusting
    the list of object files in the main branch version.
    This also applies to two files which are not listed
    as conflicting but had to be modified:

    board/compulab/common/Makefile
    board/udoo/Makefile

    include/configs/omap4_common.h conflicts are due to
    the OMAP4 conversion to ti_armv7_common.h on the ARM
    side, and CONFIG_SYS_HZ removal on the main side.
    Resolution is to convert as this icludes removal of
    CONFIG_SYS_HZ.

    include/configs/pdnb3.h is due to a removal on ARM side.
    Trivial resolution is to remove the file.

    Note: 'git show' will also list two files just because
    they are new:

    include/configs/am335x_igep0033.h
    include/configs/omap3_igep00x0.h

    Albert ARIBAUD
     

02 Nov, 2013

1 commit


01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


01 Sep, 2012

2 commits

  • change the behaviour of switch initialization:

    - rename "pwl" to "lan" in hwconfig parameter
    "lan" = port 1 with phy addr 2
    "lmn" = port 2 with phy addr 3

    - if we have a valid switch config file in flash, do not
    evaluate the settings in the hwconfig "lan" or "lmn"
    subcommand.

    - if we have no valid switch config file in flash, start
    the switch with default values, if we have a "lan" or
    a "lmn" hwconfig subcommand. If no "lan" or "lmn" is
    found in hwconfig, do nothing with the switch.

    Signed-off-by: Heiko Schocher

    Heiko Schocher
     
  • This patch moves all bootcount implementations into a common
    directory: drivers/bootcount. The generic bootcount driver
    is now usable not only by powerpc platforms, but others as well.

    Signed-off-by: Stefan Roese
    Cc: Heiko Schocher
    Cc: Valentin Longchamp
    Cc: Christian Riesch
    Cc: Manfred Rudigier
    Cc: Mike Frysinger
    Cc: Rob Herring
    Cc: Reinhard Meyer
    Tested-by: Valentin Longchamp
    Tested-by: Christian Riesch
    Acked-by: Rob Herring
    Acked-by: Mike Frysinger

    Stefan Roese
     

07 Jul, 2012

1 commit

  • - change gpio pin settings:

    - gpio pin 6[13] (PLC reset) default value low
    - gpio pin 6[0] (TPM reset) default value low
    - 4 new GPIO pins
    pin i/o name
    - 3[9] input Board Type
    - 2[7] input HW-ID0
    - 2[6] input HW-ID1
    - 2[3] input HW-ID2

    - read board type and hw id from gpio pins on the enbw_cmc board,
    and use board type for setting up different gpio pin settings.

    - do not pass "davinci_mmc.use_dma=0" to linux, as MMC now
    works with DMA.

    - update logbuf support:
    store post word in RTC scratch register

    - add support for configuring KSZ8864RMN switch through
    a config file on u-boot startup. For more infos see:
    doc/README.switch_config

    Signed-off-by: Heiko Schocher
    Cc: Wolfgang Denk
    Cc: Tom Rini
    Cc: Christian Riesch
    Cc: Sandeep Paulraj

    Heiko Schocher
     

28 Mar, 2012

1 commit


12 Feb, 2012

1 commit

  • This patch moves hawkboard to the new spl infrastructure from the
    older nand_spl one.

    Removed the hawkboard_nand_config build option -- The spl code now
    gets compiled with hawkboard_config, after building the main u-boot
    image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard
    to reflect the same.

    Signed-off-by: Sughosh Ganu
    Signed-off-by: Heiko Schocher
    Cc: Heiko Schocher
    Cc: Christian Riesch
    Cc: Sudhakar Rajashekhara
    Cc: Tom Rini
    Acked-by: Christian Riesch

    Sughosh Ganu
     

16 Jan, 2012

1 commit


07 Dec, 2011

1 commit