24 Feb, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_BOOTP_BOOTPATH
    CONFIG_BOOTP_DNS
    CONFIG_BOOTP_GATEWAY
    CONFIG_BOOTP_HOSTNAME
    CONFIG_BOOTP_PXE
    CONFIG_BOOTP_SUBNETMASK
    CONFIG_CMDLINE_EDITING
    CONFIG_AUTO_COMPLETE
    CONFIG_SYS_LONGHELP
    CONFIG_SUPPORT_RAW_INITRD
    CONFIG_ENV_VARS_UBOOT_CONFIG

    Signed-off-by: Adam Ford
    [trini: Re-run the migration]
    Signed-off-by: Tom Rini

    Adam Ford
     

04 Sep, 2017

4 commits

  • This commit removes definitions of CONFIG_SYS_BARGSIZE defined to be
    equal to CONFIG_SYS_CBSIZE in numerous configuration files.

    We remove such definitions in two situations:

    - CONFIG_SYS_CBSIZE is otherwise not defined in the board
    configuration file, which means the default value of
    CONFIG_SYS_CBSIZE == 256 applies. In this case, the default value
    of CONFIG_SYS_BARGSIZE == 512 (common/image.c) is suitable, as it is
    larger.

    - CONFIG_SYS_CBSIZE is defined in the board configuration file, but
    to a value equal or less than 512. In this case, the default value
    of CONFIG_SYS_BARGSIZE == 512 (common.image.c) is suitable, as it
    is equal or larger.

    Signed-off-by: Thomas Petazzoni
    Reviewed-by: Tom Rini

    Thomas Petazzoni
     
  • Now that include/config_fallbacks.h define a sane fallback for
    CONFIG_SYS_MAXARGS, we can drop the definition of this constant in all
    configurations that were using the default value.

    Signed-off-by: Thomas Petazzoni
    Reviewed-by: Tom Rini

    Thomas Petazzoni
     
  • Now that the fallback value of CONFIG_SYS_PBSIZE in
    include/config_fallbacks.h has been adjusted, remove its definition
    from a large number of board configuration files.

    Signed-off-by: Thomas Petazzoni
    Reviewed-by: Tom Rini

    Thomas Petazzoni
     
  • Now that include/config_fallbacks.h define a sane fallback for
    CONFIG_SYS_CBSIZE, we can drop the definition of this constant in all
    configurations that were using the default value.

    Signed-off-by: Thomas Petazzoni
    Reviewed-by: Tom Rini
    [trini: Drop from stih410-b2260.h]
    Signed-off-by: Tom Rini

    Thomas Petazzoni
     

15 Aug, 2017

1 commit


01 Aug, 2017

1 commit

  • Migrate all remaining instances of CMD_NAND, CMD_NAND_TRIMFFS
    CMD_NAND_LOCK_UNLOCK and CMD_NAND_TORTURE from the headers into the
    defconfig files.

    Tested-by: Adam Ford
    Signed-off-by: Tom Rini
    Reviewed-by: Bin Meng

    Tom Rini
     

26 Jul, 2017

1 commit


23 Jul, 2017

1 commit

  • reginfo command is calling mpc8xx_reginfo(), mpc85xx_reginfo()
    or mpc86xx_reginfo() based on CONFIG_ symbol.
    As those 3 functions can't me defined at the same time, let's
    rename them print_reginfo() to avoid the #ifdefs
    The name is kept generic as it is not at all dependent on
    powerpc arch and any other arch could want to also print
    such information.

    In addition, as the Makefile compiles cmd/reginfo.c only when
    CONFIG_CMD_REGINFO is set, there is no need to enclose the U_BOOT_CMD
    definition inside a #ifdef CONFIG_CMD_REGINFO

    Lets all remove the #ifdefs around the U_BOOT_CMD as this
    file is only compiled when CONFIG_CMD_REGINFO is defined

    Finally, this is a PowerPC-only command, disable it on a number of
    non-PowerPC platforms.

    Signed-off-by: Christophe Leroy
    Signed-off-by: Tom Rini

    Christophe Leroy
     

01 May, 2017

1 commit


20 Mar, 2017

1 commit


10 Jun, 2016

1 commit


26 Apr, 2016

2 commits


21 Oct, 2015

1 commit


13 Aug, 2015

1 commit

  • Add option to set shell prompt string from menuconfig and migrate
    boards globally.

    The migration is done as follows:
    - Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the
    entry moved to their defconfig files.
    - Boards that defined some kind of #ifdef logic which selects the
    CONFIG_SYS_PROMPT (for example qemu-mips) got an #undef CONFIG_SYS_PROMPT
    right before the #ifdef logic and were left alone.
    - This change forces CONFIG_SYS_PROMPT to be a per board decision, and thus
    CONFIG_SYS_PROMPT was removed from all _common.h and _common.h
    files. This results in a streamlined default value across platforms, and
    includes the following files: spear-common, sunxi-common, mv-common,
    ti_armv7_common, tegra-common, at91-sama5_common, and zynq-common.
    - Boards that relied on _common.h values of CONFIG_SYS_PROMPT were
    not updated in their respective defconfig files under the assumption that
    since they did not explicitly define a value, they're fine with whatever
    the default is.
    - On the other hand, boards that relied on a value defined in some
    _common.h file such as woodburn_common, rpi-common,
    bur_am335x_common, ls2085a_common, siemens_am33x_common, and
    omap3_evm_common, had their values moved to the respective defconfig files.
    - The define V_PROMPT was removed, since it is not used anywhere except for
    assigning a value for CONFIG_SYS_PROMPT.

    Cc: Tom Rini
    Cc: Masahiro Yamada
    Cc: Stefano Babic
    Cc: Igor Grinberg
    Signed-off-by: Nikita Kiryanov
    [trini: Add spring, sniper, smartweb to conversion]
    Signed-off-by: Tom Rini

    Nikita Kiryanov
     

26 Jun, 2015

1 commit


01 Jun, 2015

1 commit


20 May, 2015

1 commit


24 Apr, 2015

1 commit


28 Mar, 2015

1 commit


05 Nov, 2013

1 commit


15 Oct, 2013

1 commit


24 Jul, 2013

2 commits


23 Jul, 2013

2 commits


16 Oct, 2012

1 commit


20 Sep, 2012

1 commit


21 Jun, 2012

1 commit


06 Oct, 2011

1 commit


04 Sep, 2011

1 commit


27 Oct, 2010

2 commits

  • CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
    being able to use "sizeof(struct global_data)" in assembler files.
    Recent experience has shown that manual synchronization is not
    reliable enough. This patch renames CONFIG_SYS_GBL_DATA_SIZE into
    GENERATED_GBL_DATA_SIZE which gets automatically generated by the
    asm-offsets tool. In the result, all definitions of this value can be
    deleted from the board config files. We have to make sure that all
    files that reference such data include the new file.

    No other changes have been done yet, but it is obvious that similar
    changes / simplifications can be done for other, related macro
    definitions as well.

    Signed-off-by: Wolfgang Denk
    Acked-by: Kumar Gala

    Wolfgang Denk
     
  • CONFIG_SYS_INIT_RAM_END was a misnomer as it suggests this might be
    some end address; to make the meaning more clear we rename it into
    CONFIG_SYS_INIT_RAM_SIZE

    No other code changes are performed in this patch, only minor editing
    of white space (due to the changed length) and the comments was done,
    where noticed.

    Note that the code for the PATI and cmi_mpc5xx board configurations
    looks seriously broken. Last known maintainers on Cc:

    Signed-off-by: Wolfgang Denk
    Cc: Denis Peter
    Cc: Martin Winistoerfer
    Acked-by: Kumar Gala

    Wolfgang Denk
     

25 Mar, 2010

1 commit


25 Aug, 2009

1 commit

  • Some boards have fallen out of sync by defining CONFIG_ENV_IS_EMBEDDED
    manually. While it is useful to have this available to the build system,
    let's do it automatically rather than forcing people to opt into it.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Albin Tonnerre
    Signed-off-by: Wolfgang Denk

    Mike Frysinger
     

18 Mar, 2009

1 commit


24 Jan, 2009

1 commit

  • This patch renames NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS and
    changes the default from 8 to 1 for the legacy and the new MTD
    NAND layer. This allows to remove all NAND_MAX_CHIPS definitions
    in the board config files because none of the boards use multi
    chip support (NAND_MAX_CHIPS > 1) so far. The bamboo and the DU440
    define

    #define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE

    but that's bogus and did not work anyhow.

    Signed-off-by: Wolfgang Grandegger
    Signed-off-by: Scott Wood

    Wolfgang Grandegger
     

19 Oct, 2008

1 commit


11 Sep, 2008

1 commit