diff options
author | Peng Fan <peng.fan@nxp.com> | 2018-10-18 14:28:19 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-10-22 12:59:01 +0200 |
commit | 8aa1505b59159cf8f52ba7441dd9e71c3caf1ded (patch) | |
tree | 735e153d828aeccbd9776107d3977ce9fbd58f37 /arch/arm/include/asm | |
parent | 60d33fcd1976e6a25c070c62d6f1064020d686bd (diff) |
imx8: add boot device detection
Add get_boot_device to detect boot device.
Add print_bootinfo to print the boot device info.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-imx8/sys_proto.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8/sys_proto.h b/arch/arm/include/asm/arch-imx8/sys_proto.h new file mode 100644 index 0000000000..f9a3016132 --- /dev/null +++ b/arch/arm/include/asm/arch-imx8/sys_proto.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2018 NXP + */ + +#include <asm/mach-imx/sys_proto.h> +#include <linux/types.h> + +enum boot_device get_boot_device(void); +int print_bootinfo(void); |