mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
powerpc/freescale: Convert selected boards to generic board architecture
This patch converts the following boards to use generic board: MPC8536DS, MPC8572DS, MPC8641HPCN, p1_p2_rdb_pc, corenet_ds, t4qds, B4860QDS. It has been tested on NOR boot on MPC8536DS, MPC8572DS, P1021RDB, P4080DS, P5020DS, P5040DS, P3041DS, T4240QDS, B4860QDS. Signed-off-by: York Sun <yorksun@freescale.com> CC: Ying Zhang <b40530@freescale.com> CC: Prabhakar Kushwaha <prabhakar@freescale.com> CC: Haijun.Zhang <Haijun.Zhang@freescale.com> CC: Scott Wood <scottwood@freescale.com> CC: Shaohui Xie <Shaohui.Xie@freescale.com>
This commit is contained in:
parent
8bae330f5c
commit
15672c6dbd
7 changed files with 19 additions and 0 deletions
|
@ -7,6 +7,9 @@
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
|
#define CONFIG_DISPLAY_BOARDINFO
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* B4860 QDS board configuration file
|
* B4860 QDS board configuration file
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
|
#define CONFIG_DISPLAY_BOARDINFO
|
||||||
#include "../board/freescale/common/ics307_clk.h"
|
#include "../board/freescale/common/ics307_clk.h"
|
||||||
|
|
||||||
#ifdef CONFIG_36BIT
|
#ifdef CONFIG_36BIT
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
|
#define CONFIG_DISPLAY_BOARDINFO
|
||||||
|
|
||||||
#include "../board/freescale/common/ics307_clk.h"
|
#include "../board/freescale/common/ics307_clk.h"
|
||||||
|
|
||||||
#ifdef CONFIG_36BIT
|
#ifdef CONFIG_36BIT
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
|
#define CONFIG_DISPLAY_BOARDINFO
|
||||||
|
|
||||||
/* High Level Configuration Options */
|
/* High Level Configuration Options */
|
||||||
#define CONFIG_MPC8641 1 /* MPC8641 specific */
|
#define CONFIG_MPC8641 1 /* MPC8641 specific */
|
||||||
#define CONFIG_MPC8641HPCN 1 /* MPC8641HPCN board specific */
|
#define CONFIG_MPC8641HPCN 1 /* MPC8641HPCN board specific */
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
|
#define CONFIG_DISPLAY_BOARDINFO
|
||||||
|
|
||||||
#include "../board/freescale/common/ics307_clk.h"
|
#include "../board/freescale/common/ics307_clk.h"
|
||||||
|
|
||||||
#ifdef CONFIG_RAMBOOT_PBL
|
#ifdef CONFIG_RAMBOOT_PBL
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
|
#define CONFIG_DISPLAY_BOARDINFO
|
||||||
|
|
||||||
#ifdef CONFIG_36BIT
|
#ifdef CONFIG_36BIT
|
||||||
#define CONFIG_PHYS_64BIT
|
#define CONFIG_PHYS_64BIT
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
#ifndef __T4QDS_H
|
#ifndef __T4QDS_H
|
||||||
#define __T4QDS_H
|
#define __T4QDS_H
|
||||||
|
|
||||||
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
|
#define CONFIG_DISPLAY_BOARDINFO
|
||||||
#define CONFIG_CMD_REGINFO
|
#define CONFIG_CMD_REGINFO
|
||||||
|
|
||||||
/* High Level Configuration Options */
|
/* High Level Configuration Options */
|
||||||
|
|
Loading…
Reference in a new issue