mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
2dce449801
This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board. Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
109 lines
1.6 KiB
C
109 lines
1.6 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2010 Freescale Semiconductor, Inc.
|
|
*/
|
|
#ifndef __PIXIS_H_
|
|
#define __PIXIS_H_ 1
|
|
|
|
/* PIXIS register set. */
|
|
#if defined(CONFIG_TARGET_MPC8536DS)
|
|
typedef struct pixis {
|
|
u8 id;
|
|
u8 ver;
|
|
u8 pver;
|
|
u8 csr;
|
|
u8 rst;
|
|
u8 rst2;
|
|
u8 aux1;
|
|
u8 spd;
|
|
u8 aux2;
|
|
u8 csr2;
|
|
u8 watch;
|
|
u8 led;
|
|
u8 pwr;
|
|
u8 res[3];
|
|
u8 vctl;
|
|
u8 vstat;
|
|
u8 vcfgen0;
|
|
u8 vcfgen1;
|
|
u8 vcore0;
|
|
u8 res1;
|
|
u8 vboot;
|
|
u8 vspeed[3];
|
|
u8 sclk[3];
|
|
u8 dclk[3];
|
|
u8 i2cdacr;
|
|
u8 vcoreacc[4];
|
|
u8 vcorecnt[3];
|
|
u8 vcoremax[2];
|
|
u8 vplatacc[4];
|
|
u8 vplatcnt[3];
|
|
u8 vplatmax[2];
|
|
u8 vtempacc[4];
|
|
u8 vtempcnt[3];
|
|
u8 vtempmax[2];
|
|
u8 res2[4];
|
|
} __attribute__ ((packed)) pixis_t;
|
|
|
|
#elif defined(CONFIG_TARGET_MPC8610HPCD)
|
|
typedef struct pixis {
|
|
u8 id;
|
|
u8 ver; /* also called arch */
|
|
u8 pver;
|
|
u8 csr;
|
|
u8 rst;
|
|
u8 pwr;
|
|
u8 aux;
|
|
u8 spd;
|
|
u8 brdcfg0;
|
|
u8 brdcfg1;
|
|
u8 res[4];
|
|
u8 led;
|
|
u8 serno;
|
|
u8 vctl;
|
|
u8 vstat;
|
|
u8 vcfgen0;
|
|
u8 vcfgen1;
|
|
u8 vcore0;
|
|
u8 res1;
|
|
u8 vboot;
|
|
u8 vspeed[2];
|
|
u8 res2;
|
|
u8 sclk[3];
|
|
u8 res3;
|
|
u8 watch;
|
|
u8 res4[33];
|
|
} __attribute__ ((packed)) pixis_t;
|
|
|
|
#elif defined(CONFIG_TARGET_MPC8641HPCN)
|
|
typedef struct pixis {
|
|
u8 id;
|
|
u8 ver;
|
|
u8 pver;
|
|
u8 csr;
|
|
u8 rst;
|
|
u8 pwr;
|
|
u8 aux;
|
|
u8 spd;
|
|
u8 res[8];
|
|
u8 vctl;
|
|
u8 vstat;
|
|
u8 vcfgen0;
|
|
u8 vcfgen1;
|
|
u8 vcore0;
|
|
u8 res1;
|
|
u8 vboot;
|
|
u8 vspeed[2];
|
|
u8 vclkh;
|
|
u8 vclkl;
|
|
u8 watch;
|
|
u8 res3[36];
|
|
} __attribute__ ((packed)) pixis_t;
|
|
#else
|
|
#error Need to define pixis_t for this board
|
|
#endif
|
|
|
|
/* Pointer to the PIXIS register set */
|
|
#define pixis ((pixis_t *)PIXIS_BASE)
|
|
|
|
#endif /* __PIXIS_H_ */
|