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: accepted/tizen/unified/20221108.163909~290 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d3489e0503b29e8b0321ecb6871c34e17edffbf;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 9c96752988..bb359552aa 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 /* Architecture, CPU, etc.*/ @@ -187,6 +189,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 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 */