From: Jaehoon Chung Date: Tue, 19 Feb 2019 05:21:20 +0000 (+0900) Subject: config: tizen_rpi: add tizen_rpi header file for tizen X-Git-Tag: submit/tizen/20190221.111634^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60f60749d80dbc37a820481e918b50a0000c7571;p=platform%2Fkernel%2Fu-boot.git 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 --- 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 #include +/* Tizen Specific configuration for RPI */ +#include + #if defined(CONFIG_TARGET_RPI_2) || defined(CONFIG_TARGET_RPI_3_32B) #define CONFIG_SKIP_LOWLEVEL_INIT #endif @@ -220,6 +223,7 @@ #include #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 */