X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Ffreescale%2Ft102xrdb%2Fcpld.h;h=c05f536806fb5c6a5bcc7d0e1a2c3f27326f7e4c;hb=b460b889e28379014a7f951c08d93a151116b1ad;hp=5a3100f6070e29babc627cafe332861b4763f68c;hpb=bd5053ffa5b8162257537bdb79ba829372423096;p=u-boot diff --git a/board/freescale/t102xrdb/cpld.h b/board/freescale/t102xrdb/cpld.h index 5a3100f607..c05f536806 100644 --- a/board/freescale/t102xrdb/cpld.h +++ b/board/freescale/t102xrdb/cpld.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /** * Copyright 2014 Freescale Semiconductor * - * SPDX-License-Identifier: GPL-2.0+ - * */ struct cpld_data { @@ -43,3 +42,7 @@ void cpld_write(unsigned int reg, u8 value); #define CPLD_LBMAP_RESET 0xFF #define CPLD_LBMAP_SHIFT 0x03 #define CPLD_BOOT_SEL 0x80 + +#define CPLD_PCIE_SGMII_MUX 0x80 +#define CPLD_OVERRIDE_BOOT_EN 0x01 +#define CPLD_OVERRIDE_MUX_EN 0x02 /* PCIE/2.5G-SGMII mux override enable */