Skip to content

Commit

Permalink
dt-bindings: soc: add samsung,boot-mode definitions
Browse files Browse the repository at this point in the history
Adds samsung,boot-mode.h header file which contains boot mode
definitions for bootloader. As for now, there are only boot mode
definitions for Exynos Auto v9 SoC.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220523121244.67341-2-chanho61.park@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
  • Loading branch information
cometzero authored and krzk committed Jun 6, 2022
1 parent 5355559 commit 9509995
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions include/dt-bindings/soc/samsung,boot-mode.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
* Copyright (c) 2022 Samsung Electronics Co., Ltd.
* Author: Chanho Park <chanho61.park@samsung.com>
*
* Device Tree bindings for Samsung Boot Mode.
*/

#ifndef __DT_BINDINGS_SAMSUNG_BOOT_MODE_H
#define __DT_BINDINGS_SAMSUNG_BOOT_MODE_H

/* Boot mode definitions for Exynos Auto v9 SoC */

#define EXYNOSAUTOV9_BOOT_FASTBOOT 0xfa
#define EXYNOSAUTOV9_BOOT_BOOTLOADER 0xfc
#define EXYNOSAUTOV9_BOOT_RECOVERY 0xff

#endif /* __DT_BINDINGS_SAMSUNG_BOOT_MODE_H */

0 comments on commit 9509995

Please sign in to comment.