mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
4431684910
The return value of get_boot_mode_sel() is used as the index of the boot_device_table[] array. Its type should be "int" rather than "u32". Use only the iterator "i" for the loop in do_pinmon(). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
20 lines
381 B
C
20 lines
381 B
C
/*
|
|
* Copyright (C) 2011-2014 Panasonic Corporation
|
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_BOOT_DEVICE_H_
|
|
#define _ASM_BOOT_DEVICE_H_
|
|
|
|
int get_boot_mode_sel(void);
|
|
|
|
struct boot_device_info {
|
|
u32 type;
|
|
char *info;
|
|
};
|
|
|
|
extern struct boot_device_info boot_device_table[];
|
|
|
|
#endif /* _ASM_BOOT_DEVICE_H_ */
|