diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2019-02-19 14:21:20 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2019-02-19 15:54:59 +0900 |
commit | 60f60749d80dbc37a820481e918b50a0000c7571 (patch) | |
tree | 868659d7db9015191621aea015892a025614dbdc | |
parent | e2e0f18b9f3eabcb6844bef57c76f9e34eceba04 (diff) | |
download | u-boot-60f60749d80dbc37a820481e918b50a0000c7571.tar.gz u-boot-60f60749d80dbc37a820481e918b50a0000c7571.tar.bz2 u-boot-60f60749d80dbc37a820481e918b50a0000c7571.zip |
config: tizen_rpi: add tizen_rpi header file for tizensubmit/tizen/20190221.111634
Add the tizen_rpi header file for tizen.
It can be included tizen specific configuration for rpi boards.
Someone wants to change loglevel, follow the below command :
U-Boot> edit opts
edit : loglevel=7
- Change the loglevel value what you want.
Change-Id: I60157dd380a447ce1757921810e0b942be3d2843
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | include/configs/rpi.h | 4 | ||||
-rw-r--r-- | include/samsung/tizen_rpi.h | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 22bb9e89c4..630e6e5f95 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -10,6 +10,9 @@ #include <linux/sizes.h> #include <asm/arch/timer.h> +/* Tizen Specific configuration for RPI */ +#include <samsung/tizen_rpi.h> + #if defined(CONFIG_TARGET_RPI_2) || defined(CONFIG_TARGET_RPI_3_32B) #define CONFIG_SKIP_LOWLEVEL_INIT #endif @@ -220,6 +223,7 @@ #include <config_distro_bootcmd.h> #define CONFIG_EXTRA_ENV_SETTINGS \ + TIZEN_ENV_SETTING \ "dhcpuboot=usb start; dhcp u-boot.uimg; bootm\0" \ ENV_DEVICE_SETTINGS \ ENV_MEM_LAYOUT_SETTINGS \ diff --git a/include/samsung/tizen_rpi.h b/include/samsung/tizen_rpi.h new file mode 100644 index 0000000000..8f9576c087 --- /dev/null +++ b/include/samsung/tizen_rpi.h @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2019 Samsung Electronics + * + * Configuration settings for the Tizen RPI board. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __CONFIG_TIZEN_RPI_H +#define __CONFIG_TIZEN_RPI_H + +#define TIZEN_ENV_SETTING \ + "opts=loglevel=7\0" + +#endif /* __CONFIG_TIZEN_RPI_H */ |