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 */
25 #define WATCHDOG_TRIGGER_GPIO 14
27 /* Use common default */
29 /* Default env settings */
30 #define CONFIG_EXTRA_ENV_SETTINGS \
33 "nand_img_size=0x500000\0" \
35 "optargs=fixrtc --no-log consoleblank=0 \0" \
36 CONFIG_ENV_SETTINGS_V1 \
37 CONFIG_ENV_SETTINGS_NAND_V1 \
39 "mmc_root=/dev/mmcblk0p2 rw\0" \
40 "mmc_root_fs_type=ext4 rootwait\0" \
43 "setenv bootfile uImage;" \
44 "fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}\0" \
45 "loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}\0" \
46 "importbootenv=echo Importing environment from mmc ...; " \
47 "env import -t $loadaddr $filesize\0" \
48 "mmc_args=run bootargs_defaults;" \
50 "setenv bootargs ${bootargs} " \
51 "root=${mmc_root} ${mtdparts}" \
52 "rootfstype=${mmc_root_fs_type} ip=${ip_method} " \
55 "mmc_boot=run mmc_args; " \
56 "run mmc_load_uimage; " \
57 "bootm ${kloadaddr}\0" \
60 #endif /* ! __CONFIG_RUT_H */