global: Migrate CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS to CFG
[platform/kernel/u-boot.git] / include / configs / goflexhome.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2022 Tony Dinh <mibodhi@gmai.com>
4  * Copyright (C) 2013 Suriyan Ramasami <suriyan.r@gmail.com>
5  *
6  * Based on dockstar.h originally written by
7  * Copyright (C) 2010  Eric C. Cooper <ecc@cmu.edu>
8  *
9  * Based on sheevaplug.h originally written by
10  * Prafulla Wadaskar <prafulla@marvell.com>
11  * (C) Copyright 2009
12  * Marvell Semiconductor <www.marvell.com>
13  */
14
15 #ifndef _CONFIG_GOFLEXHOME_H
16 #define _CONFIG_GOFLEXHOME_H
17
18 #include <linux/bitops.h>
19
20 /*
21  * Default GPIO configuration and LED status
22  */
23 #define GOFLEXHOME_OE_LOW               (~(0))
24 #define GOFLEXHOME_OE_HIGH              (~(0))
25 #define GOFLEXHOME_OE_VAL_LOW           BIT(29)         /* USB_PWEN low */
26 #define GOFLEXHOME_OE_VAL_HIGH          BIT(17)         /* LED pin high */
27
28 #include "mv-common.h"
29
30 /*
31  * Default environment variables
32  */
33
34 #define CONFIG_EXTRA_ENV_SETTINGS \
35         "console=console=ttyS0,115200\0" \
36         "kernel=/boot/uImage\0" \
37         "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0"
38
39 #endif /* _CONFIG_GOFLEXHOME_H */