1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * (C) Copyright 2013 Siemens Schweiz AG
5 * (C) Heiko Schocher, DENX Software Engineering, hs@denx.de.
8 * U-Boot file:/include/configs/am335x_evm.h
10 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
13 #ifndef __CONFIG_RUT_H
14 #define __CONFIG_RUT_H
16 #include "siemens-am33x-common.h"
18 #define RUT_IOCTRL_VAL 0x18b
19 #define DDR_PLL_FREQ 303
21 /* Physical Memory Map */
22 #define CONFIG_MAX_RAM_BANK_SIZE (256 << 20) /* 256 MiB */
24 #define CONFIG_FACTORYSET
27 #define WATCHDOG_TRIGGER_GPIO 14
29 #ifndef CONFIG_SPL_BUILD
31 /* Use common default */
33 /* Default env settings */
34 #define CONFIG_EXTRA_ENV_SETTINGS \
37 "nand_img_size=0x500000\0" \
39 "optargs=fixrtc --no-log consoleblank=0 \0" \
40 CONFIG_ENV_SETTINGS_V1 \
41 CONFIG_ENV_SETTINGS_NAND_V1 \
43 "mmc_root=/dev/mmcblk0p2 rw\0" \
44 "mmc_root_fs_type=ext4 rootwait\0" \
47 "setenv bootfile uImage;" \
48 "fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}\0" \
49 "loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}\0" \
50 "importbootenv=echo Importing environment from mmc ...; " \
51 "env import -t $loadaddr $filesize\0" \
52 "mmc_args=run bootargs_defaults;" \
54 "setenv bootargs ${bootargs} " \
55 "root=${mmc_root} ${mtdparts}" \
56 "rootfstype=${mmc_root_fs_type} ip=${ip_method} " \
59 "mmc_boot=run mmc_args; " \
60 "run mmc_load_uimage; " \
61 "bootm ${kloadaddr}\0" \
64 #ifndef CONFIG_RESTORE_FLASH
65 /* set to negative value for no autoboot */
68 #endif /* CONFIG_SPL_BUILD */
70 #endif /* ! __CONFIG_RUT_H */