mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 17:23:09 +00:00
bf904ea418
The "autoload" environment variable is always checked with env_get_yesno as it can be set to any form of no. The default behavior of env_get_yesno is to return -1 on variables that are not set, which acts as true in general (we test for non-zero return). To convert CONFIG_SYS_AUTOLOAD to Kconfig, given that it was almost always used to set autoload to no, first rename to CONFIG_SYS_DISABLE_AUTOLOAD for consistency sake. Then, make it so that if enabled we set autoload=0 in the default environment. Migrate all platforms which set CONFIG_SYS_AUTOLOAD to non-true or that set autoload to false in their default environment to using CONFIG_SYS_DISABLE_AUTOLOAD Signed-off-by: Tom Rini <trini@konsulko.com>
36 lines
832 B
C
36 lines
832 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2017 Armadeus Systems
|
|
*
|
|
* Configuration settings for the OPOS6ULDev board
|
|
*/
|
|
|
|
#ifndef __OPOS6ULDEV_CONFIG_H
|
|
#define __OPOS6ULDEV_CONFIG_H
|
|
|
|
#include "mx6_common.h"
|
|
|
|
#ifdef CONFIG_SPL
|
|
#include "imx6_spl.h"
|
|
#endif
|
|
|
|
/* Miscellaneous configurable options */
|
|
#define CONFIG_STANDALONE_LOAD_ADDR CONFIG_SYS_LOAD_ADDR
|
|
|
|
/* Physical Memory Map */
|
|
#define CONFIG_SYS_SDRAM_BASE MMDC0_ARB_BASE_ADDR
|
|
#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
|
|
#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
|
|
|
|
/* USB */
|
|
#ifdef CONFIG_USB_EHCI_MX6
|
|
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
|
#define CONFIG_MXC_USB_FLAGS 0
|
|
#endif
|
|
|
|
/* LCD */
|
|
#define MXS_LCDIF_BASE MX6UL_LCDIF1_BASE_ADDR
|
|
|
|
#define CONFIG_ROOTPATH "/tftpboot/opos6ul-root"
|
|
|
|
#endif /* __OPOS6ULDEV_CONFIG_H */
|