mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Mario Six](/assets/img/avatar_default.png)
Rename the Kconfig option, structures (and their members), as well as functions of the mpc85xx driver to include mpc8xxx to reflect the more generic usage. Signed-off-by: Mario Six <mario.six@gdsys.cc>
28 lines
549 B
C
28 lines
549 B
C
/*
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/*
|
|
* Dummy header file to enable CONFIG_OF_CONTROL.
|
|
* If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
|
|
* It includes <asm/arch/gpio.h> via <asm/gpio.h>, so those SoCs that enable
|
|
* OF_CONTROL must have arch/gpio.h.
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_MX85XX_GPIO_H
|
|
#define __ASM_ARCH_MX85XX_GPIO_H
|
|
|
|
#ifndef CONFIG_MPC85XX_GPIO
|
|
#include <asm/mpc85xx_gpio.h>
|
|
#endif
|
|
|
|
struct mpc8xxx_gpio_plat {
|
|
ulong addr;
|
|
unsigned long size;
|
|
uint ngpios;
|
|
};
|
|
|
|
#endif
|