mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
54f80dd290
This converts the following to Kconfig: CONFIG_GATEWAYIP CONFIG_HOSTNAME CONFIG_IPADDR CONFIG_NETMASK CONFIG_ROOTPATH CONFIG_SERVERIP CONFIG_UBOOTPATH To do this, we introduce a CONFIG_USE_ form of each of the above and change include/env_default.h to test for that to be set before setting a value. Further, we don't want to stringify the IP address related values as they are now properly strings via Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com>
32 lines
543 B
C
32 lines
543 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Configuration for MediaTek MT7629 SoC
|
|
*
|
|
* Copyright (C) 2018 MediaTek Inc.
|
|
* Author: Ryder Lee <ryder.lee@mediatek.com>
|
|
*/
|
|
|
|
#ifndef __MT7629_H
|
|
#define __MT7629_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
/* Miscellaneous configurable options */
|
|
|
|
/* Environment */
|
|
|
|
/* Defines for SPL */
|
|
|
|
#define CONFIG_SPI_ADDR 0x30000000
|
|
#define CFG_SYS_UBOOT_BASE (CONFIG_SPI_ADDR + CONFIG_SPL_PAD_TO)
|
|
|
|
/* SPL -> Uboot */
|
|
|
|
/* UBoot -> Kernel */
|
|
|
|
/* DRAM */
|
|
#define CFG_SYS_SDRAM_BASE 0x40000000
|
|
|
|
/* Ethernet */
|
|
|
|
#endif
|