From 29d720e0f193883cb766fdd63f6de36984f57175 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Tue, 19 Feb 2019 14:21:20 +0900 Subject: [PATCH] config: tizen_rpi: add tizen_rpi header file for tizen 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 --- include/configs/rpi.h | 3 +++ include/samsung/tizen_rpi.h | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 include/samsung/tizen_rpi.h diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 9f7ea6d..26f39c8 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -12,6 +12,8 @@ #ifndef __ASSEMBLY__ #include #endif +/* Tizen Specific configuration for RPI */ +#include #if defined(CONFIG_TARGET_RPI_2) || defined(CONFIG_TARGET_RPI_3_32B) #define CONFIG_SKIP_LOWLEVEL_INIT @@ -238,6 +240,7 @@ #include #define CONFIG_EXTRA_ENV_SETTINGS \ + TIZEN_ENV_SETTING \ "dhcpuboot=usb start; dhcp u-boot.uimg; bootm\0" \ ENV_DEVICE_SETTINGS \ ENV_DFU_SETTINGS \ diff --git a/include/samsung/tizen_rpi.h b/include/samsung/tizen_rpi.h new file mode 100644 index 0000000..8f9576c --- /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 */ -- 2.7.4