mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 23:26:40 +07:00
6baf11906e
If the DIU framebuffer driver is not enabled, then there's no point in
compiling any platform DIU code, because it will never be used. Most of
the platform code was protected in the appropriate #ifdef, but not all.
This caused a break in some randconfig builds.
This is only a problem on the 512x platforms. The P1022DS and MPC8610HPCD
platforms are already correct.
This patch reverts commit 12e36309f8
("powerpc:
Option FB_FSL_DIU is not really optional for mpc512x") and restores the
ability to configure DIU support.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
29 lines
879 B
C
29 lines
879 B
C
/*
|
|
* Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*
|
|
* Prototypes for MPC512x shared code
|
|
*/
|
|
|
|
#ifndef __MPC512X_H__
|
|
#define __MPC512X_H__
|
|
extern void __init mpc512x_init_IRQ(void);
|
|
extern void __init mpc512x_init(void);
|
|
extern int __init mpc5121_clk_init(void);
|
|
void __init mpc512x_declare_of_platform_devices(void);
|
|
extern void mpc512x_restart(char *cmd);
|
|
|
|
#if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE)
|
|
void mpc512x_init_diu(void);
|
|
void mpc512x_setup_diu(void);
|
|
#else
|
|
#define mpc512x_init_diu NULL
|
|
#define mpc512x_setup_diu NULL
|
|
#endif
|
|
|
|
#endif /* __MPC512X_H__ */
|