config: tizen_rpi: add tizen_rpi header file for tizen
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 19 Feb 2019 05:21:20 +0000 (14:21 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2022 04:31:45 +0000 (13:31 +0900)
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>
include/configs/rpi.h
include/samsung/tizen_rpi.h [new file with mode: 0644]

index 9c96752..bb35955 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef __ASSEMBLY__
 #include <asm/arch/base.h>
 #endif
+/* Tizen Specific configuration for RPI */
+#include <samsung/tizen_rpi.h>
 
 /* Architecture, CPU, etc.*/
 
 #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_DFU_SETTINGS \
diff --git a/include/samsung/tizen_rpi.h b/include/samsung/tizen_rpi.h
new file mode 100644 (file)
index 0000000..8f9576c
--- /dev/null
@@ -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 */