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_PXM2_H
14 #define __CONFIG_PXM2_H
16 #include "siemens-am33x-common.h"
18 #define DDR_IOCTRL_VAL 0x18b
19 #define DDR_PLL_FREQ 266
21 #define CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS \
25 /* Physical Memory Map */
26 #define CONFIG_MAX_RAM_BANK_SIZE (512 << 20) /* 1GB */
28 /* Use common default */
30 /* Default env settings */
31 #define CONFIG_EXTRA_ENV_SETTINGS \
34 "nand_img_size=0x500000\0" \
36 "preboot=draco_led 0\0" \
37 CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS \
39 CONFIG_ENV_SETTINGS_V1 \
40 CONFIG_ENV_SETTINGS_NAND_V1 \
42 "mmc_root=/dev/mmcblk0p2 rw\0" \
43 "mmc_root_fs_type=ext4 rootwait\0" \
46 "setenv bootfile uImage;" \
47 "fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}\0" \
48 "loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}\0" \
49 "importbootenv=echo Importing environment from mmc ...; " \
50 "env import -t $loadaddr $filesize\0" \
51 "mmc_args=run bootargs_defaults;" \
53 "setenv bootargs ${bootargs} " \
54 "root=${mmc_root} ${mtdparts}" \
55 "rootfstype=${mmc_root_fs_type} ip=${ip_method} " \
58 "mmc_boot=run mmc_args; " \
59 "run mmc_load_uimage; " \
60 "bootm ${kloadaddr}\0" \
63 #endif /* ! __CONFIG_PXM2_H */