mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
e056892422
The most commonly used value today is 0x2000 and not 0x400. Rework the Kconfig logic to use this more frequently used value as the default. Cc: Andrew F. Davis <afd@ti.com> Cc: Alex Nemirovsky <alex.nemirovsky@cortina-access.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Alison Wang <alison.wang@nxp.com> Cc: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com> Cc: Andes <uboot@andestech.com> Cc: Andre Przywara <andre.przywara@arm.com> Cc: Bharat Gooty <bharat.gooty@broadcom.com> Cc: David Lechner <david@lechnology.com> Cc: Dzmitry Sankouski <dsankouski@gmail.com> Cc: Enric Balletbo i Serra <eballetbo@gmail.com> Cc: Eugeniy Paltsev <paltsev@synopsys.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: Gerald Kerma <dreagle@doukki.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Holger Brunck <holger.brunck@hitachienergy.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Jassi Brar <jaswinder.singh@linaro.org> Cc: Kristian Amlie <kristian.amlie@northern.tech> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Liviu Dudau <liviu.dudau@foss.arm.com> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Lukasz Majewski <lukma@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Masami Hiramatsu <masami.hiramatsu@linaro.org> Cc: Matthias Brugger <mbrugger@suse.com> Cc: Max Filippov <jcmvbkbc@gmail.com> Cc: Michael Walle <michael@walle.cc> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Nikita Kiryanov <nikita@compulab.co.il> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Paul Burton <paul.burton@mips.com> Cc: Paul Kocialkowski <contact@paulk.fr> Cc: Priyanka Jain <priyanka.jain@nxp.com> Cc: Rajesh Bhagat <rajesh.bhagat@nxp.com> Cc: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> Cc: Sergey Temerkhanov <s.temerkhanov@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Stefan Bosch <stefan_b@posteo.net> Cc: Stephan Gerhold <stephan@gerhold.net> Cc: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Cc: Thomas Chou <thomas@wytron.com.tw> Cc: Thomas Fitzsimmons <fitzsim@fitzsim.org> Cc: Thomas Weber <weber@corscience.de> Cc: Tony Dinh <mibodhi@gmail.com> Cc: Trevor Woerner <twoerner@gmail.com> Cc: Vitaly Andrianov <vitalya@ti.com> Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: liuhao <liuhao@phytium.com.cn> Cc: lixinde <lixinde@phytium.com.cn> Cc: shuyiqi <shuyiqi@phytium.com.cn> Cc: weichangzheng <weichangzheng@phytium.com.cn> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Masami Hiramatsu <masami.hiramatsu@linaro.org> Reviewed-by: Tony Dinh <mibodhi@gmail.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Kristian Amlie <kristian.amlie@northern.tech>
87 lines
2.4 KiB
Text
87 lines
2.4 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
CONFIG_SPL_SYS_ICACHE_OFF=y
|
|
CONFIG_SPL_SYS_DCACHE_OFF=y
|
|
CONFIG_SPL_SYS_THUMB_BUILD=y
|
|
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
|
|
# CONFIG_SPL_USE_ARCH_MEMSET is not set
|
|
CONFIG_ARCH_AT91=y
|
|
CONFIG_SYS_TEXT_BASE=0x23000000
|
|
CONFIG_SYS_MALLOC_LEN=0x460000
|
|
CONFIG_TARGET_SMARTWEB=y
|
|
CONFIG_AT91_GPIO_PULLUP=y
|
|
CONFIG_ATMEL_LEGACY=y
|
|
CONFIG_SPL_GPIO=y
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_OFFSET=0x100000
|
|
CONFIG_DEFAULT_DEVICE_TREE="at91sam9260-smartweb"
|
|
CONFIG_SPL_SYS_MALLOC_F_LEN=0x400
|
|
CONFIG_SPL=y
|
|
CONFIG_ENV_OFFSET_REDUND=0x180000
|
|
CONFIG_SYS_LOAD_ADDR=0x22000000
|
|
CONFIG_FIT=y
|
|
CONFIG_NAND_BOOT=y
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press \"<Esc><Esc>\" to stop\n"
|
|
CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="run flashboot"
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_SPL_NAND_SUPPORT=y
|
|
CONFIG_SPL_NAND_DRIVERS=y
|
|
CONFIG_SPL_NAND_ECC=y
|
|
CONFIG_SPL_NAND_BASE=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="U-Boot# "
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_DFU=y
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_NAND=y
|
|
# CONFIG_CMD_SOURCE is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_BOOTP_BOOTFILESIZE=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=atmel_nand"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=atmel_nand:128k(Bootstrap),896k(U-Boot),512k(ENV0),512k(ENV1),4M(Linux),-(Root-FS)"
|
|
# CONFIG_DOS_PARTITION is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_EMBED=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NET_RETRY_COUNT=20
|
|
CONFIG_CLK=y
|
|
CONFIG_CLK_AT91=y
|
|
CONFIG_DFU_NAND=y
|
|
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
|
|
CONFIG_AT91_GPIO=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
|
|
CONFIG_NAND_ATMEL=y
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
|
CONFIG_SYS_NAND_PAGE_COUNT=0x40
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x800
|
|
CONFIG_SYS_NAND_OOBSIZE=0x40
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x20000
|
|
CONFIG_MACB=y
|
|
CONFIG_RMII=y
|
|
CONFIG_ATMEL_USART=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0908
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_AT91=y
|
|
CONFIG_SPL_TINY_MEMSET=y
|