diff options
author | Tom Rini <trini@konsulko.com> | 2020-07-17 16:08:54 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-17 16:08:54 -0400 |
commit | 1c4b5038afcc7cdb1064713f65571da05aa0de0e (patch) | |
tree | bbb554b1128dc15453a91fc50408446da2e0ddd2 /include | |
parent | 7c3cc6f106ed1ca13b0ff6eea9f8e1473240aef3 (diff) | |
parent | 21fc5a16855602b2fd4b39e40679f854101a0fa3 (diff) |
Merge branch '2020-07-17-misc-fixes'
A large number of assorted fixes, including but not limited to:
- Correct fixdep and CONFIG_IS_ENABLED(...)
- lz4 on big endian
- Assorted LMB hardening
- Remove bd_t typedef
Diffstat (limited to 'include')
78 files changed, 97 insertions, 169 deletions
diff --git a/include/asm-generic/u-boot.h b/include/asm-generic/u-boot.h index 008ebf3ca3..62e61d41cc 100644 --- a/include/asm-generic/u-boot.h +++ b/include/asm-generic/u-boot.h @@ -26,7 +26,7 @@ #include <asm/types.h> #include <linux/types.h> -typedef struct bd_info { +struct bd_info { unsigned long bi_memstart; /* start of DRAM memory */ phys_size_t bi_memsize; /* size of DRAM memory in bytes */ unsigned long bi_flashstart; /* start of FLASH memory */ @@ -76,7 +76,7 @@ typedef struct bd_info { phys_size_t size; } bi_dram[CONFIG_NR_DRAM_BANKS]; #endif /* CONFIG_NR_DRAM_BANKS */ -} bd_t; +}; #endif /* __ASSEMBLY__ */ diff --git a/include/bootm.h b/include/bootm.h index 1e7f29e134..0350c349f3 100644 --- a/include/bootm.h +++ b/include/bootm.h @@ -53,7 +53,8 @@ int boot_selected_os(int argc, char *const argv[], int state, ulong bootm_disable_interrupts(void); /* This is a special function used by booti/bootz */ -int bootm_find_images(int flag, int argc, char *const argv[]); +int bootm_find_images(int flag, int argc, char *const argv[], ulong start, + ulong size); int do_bootm_states(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[], int states, bootm_headers_t *images, diff --git a/include/config_defaults.h b/include/config_defaults.h deleted file mode 100644 index d211a41ef2..0000000000 --- a/include/config_defaults.h +++ /dev/null @@ -1,12 +0,0 @@ -/* - * config_defaults.h - sane defaults for everyone - * - * Copyright (c) 2009 Analog Devices Inc. - * - * Licensed under the GPL-2 or later. - */ - -#ifndef _CONFIG_DEFAULTS_H_ -#define _CONFIG_DEFAULTS_H_ - -#endif diff --git a/include/configs/advantech_dms-ba16.h b/include/configs/advantech_dms-ba16.h index 9cbdb1face..4bbb8d0148 100644 --- a/include/configs/advantech_dms-ba16.h +++ b/include/configs/advantech_dms-ba16.h @@ -30,8 +30,6 @@ #define CONFIG_REVISION_TAG #define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M) -#define CONFIG_MXC_UART - /* SATA Configs */ #define CONFIG_SYS_SATA_MAX_DEVICE 1 #define CONFIG_DWC_AHSATA_PORT_ID 0 diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index 80262113e3..efd4aa295b 100644 --- a/include/configs/apalis_imx6.h +++ b/include/configs/apalis_imx6.h @@ -32,7 +32,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (32 * 1024 * 1024) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* I2C Configs */ diff --git a/include/configs/apf27.h b/include/configs/apf27.h index aaf22acdb5..49ca97dc81 100644 --- a/include/configs/apf27.h +++ b/include/configs/apf27.h @@ -144,7 +144,6 @@ /* * Serial Driver */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index fccc9b18c0..a2cc4f9fa8 100644 --- a/include/configs/cgtqmx6eval.h +++ b/include/configs/cgtqmx6eval.h @@ -25,7 +25,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART2_BASE /* MMC Configs */ diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h index 35f251c15e..7d0f551e4f 100644 --- a/include/configs/cm_fx6.h +++ b/include/configs/cm_fx6.h @@ -32,7 +32,6 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) /* Serial console */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART4_BASE #define CONFIG_SYS_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200} diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h index 3d3f31369d..dab96f038d 100644 --- a/include/configs/colibri_imx6.h +++ b/include/configs/colibri_imx6.h @@ -30,7 +30,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (32 * 1024 * 1024) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* I2C Configs */ diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 0b6617fa82..5d3187331f 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -60,7 +60,6 @@ #endif /* UART */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* USB Configs */ diff --git a/include/configs/el6x_common.h b/include/configs/el6x_common.h index f7b96e4825..665550a5eb 100644 --- a/include/configs/el6x_common.h +++ b/include/configs/el6x_common.h @@ -19,8 +19,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M) -#define CONFIG_MXC_UART - #ifdef CONFIG_SPL #include "imx6_spl.h" #endif diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h index 24a0025eda..565cc8818e 100644 --- a/include/configs/embestmx6boards.h +++ b/include/configs/embestmx6boards.h @@ -22,8 +22,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M) -#define CONFIG_MXC_UART - /* I2C Configs */ #define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_MXC diff --git a/include/configs/flea3.h b/include/configs/flea3.h index 02fedb1823..545d30c635 100644 --- a/include/configs/flea3.h +++ b/include/configs/flea3.h @@ -47,7 +47,6 @@ /* * UART (console) */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART3_BASE /* allow to overwrite serial and ethaddr */ diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 5b8f2420d6..38e8e8e131 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@ -43,7 +43,6 @@ #define CONFIG_IMX_THERMAL /* Serial */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART2_BASE #if !defined(CONFIG_SPI_FLASH) && defined(CONFIG_SPL_NAND_SUPPORT) diff --git a/include/configs/imx27lite-common.h b/include/configs/imx27lite-common.h index 67fa4a5a09..8c5c061620 100644 --- a/include/configs/imx27lite-common.h +++ b/include/configs/imx27lite-common.h @@ -76,7 +76,6 @@ /* * Serial Driver info */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h index b564f3831e..366577857a 100644 --- a/include/configs/imx8mq_evk.h +++ b/include/configs/imx8mq_evk.h @@ -173,7 +173,6 @@ #define PHYS_SDRAM 0x40000000 #define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB DDR */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE_ADDR /* Monitor Command Prompt */ diff --git a/include/configs/imx8mq_phanbell.h b/include/configs/imx8mq_phanbell.h index c655bb24a0..9c83e1b9f8 100644 --- a/include/configs/imx8mq_phanbell.h +++ b/include/configs/imx8mq_phanbell.h @@ -169,7 +169,6 @@ #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + \ (PHYS_SDRAM_SIZE >> 1)) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE_ADDR /* Monitor Command Prompt */ diff --git a/include/configs/kc1.h b/include/configs/kc1.h index e3a219c46b..3f71739f83 100644 --- a/include/configs/kc1.h +++ b/include/configs/kc1.h @@ -149,10 +149,4 @@ "mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && " \ "bootm ${kernel_addr_r};" -/* - * Defaults - */ - -#include <config_defaults.h> - #endif diff --git a/include/configs/liteboard.h b/include/configs/liteboard.h index f9a125fcb0..2dcd4db28c 100644 --- a/include/configs/liteboard.h +++ b/include/configs/liteboard.h @@ -19,7 +19,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* MMC Configs */ diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index 0779b595c3..18800ea07a 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -7,8 +7,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define CONFIG_ARMV7_PSCI_1_0 - #define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR #define CONFIG_SYS_FSL_CLK diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index 16c30d09dc..6f7d051bd8 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -7,8 +7,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define CONFIG_ARMV7_PSCI_1_0 - #define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR #define CONFIG_SYS_FSL_CLK diff --git a/include/configs/m53menlo.h b/include/configs/m53menlo.h index 6be88831f0..5542ea6017 100644 --- a/include/configs/m53menlo.h +++ b/include/configs/m53menlo.h @@ -46,7 +46,6 @@ /* * Serial Driver */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index a7be85422a..c114ec78e1 100644 --- a/include/configs/mx25pdk.h +++ b/include/configs/mx25pdk.h @@ -43,7 +43,6 @@ /* Memory Test */ /* Serial Info */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* No NOR flash present */ diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h index 8f1213fd8a..f6da155fa4 100644 --- a/include/configs/mx35pdk.h +++ b/include/configs/mx35pdk.h @@ -59,7 +59,6 @@ /* * UART (console) */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* allow to overwrite serial and ethaddr */ diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 182648a0f1..e99dcd2aa1 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -32,7 +32,6 @@ */ #define CONFIG_FSL_IIM -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* PMIC Controller */ diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h index b43be1c55c..eb6aa0cda0 100644 --- a/include/configs/mx53ard.h +++ b/include/configs/mx53ard.h @@ -29,7 +29,6 @@ #define CONFIG_SYS_NAND_LARGEPAGE #define CONFIG_MXC_NAND_HWECC -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* I2C Configs */ diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h index ab02aa072f..19f8408e45 100644 --- a/include/configs/mx53evk.h +++ b/include/configs/mx53evk.h @@ -22,7 +22,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* I2C Configs */ diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index 2e015ad9f8..b19a849211 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -24,7 +24,6 @@ #define CONFIG_REVISION_TAG -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* MMC Configs */ diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h index b3322c639c..a8d50507cb 100644 --- a/include/configs/mx53smd.h +++ b/include/configs/mx53smd.h @@ -22,7 +22,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* I2C Configs */ diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h index 96f79e6b58..57efe1bab6 100644 --- a/include/configs/mx6cuboxi.h +++ b/include/configs/mx6cuboxi.h @@ -16,7 +16,6 @@ #define CONFIG_IMX_THERMAL #define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M) -#define CONFIG_MXC_UART /* MMC Configs */ #define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR diff --git a/include/configs/mx6memcal.h b/include/configs/mx6memcal.h index 0a28d61703..120297dac8 100644 --- a/include/configs/mx6memcal.h +++ b/include/configs/mx6memcal.h @@ -15,7 +15,6 @@ #define CONFIG_SYS_MALLOC_LEN (64 * 1024 * 1024) -#define CONFIG_MXC_UART #ifdef CONFIG_SERIAL_CONSOLE_UART1 #if defined(CONFIG_MX6SL) #define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index ec2ac69515..cdc108a735 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -13,7 +13,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART4_BASE /* MMC Configs */ diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index 6cea26a58d..94a7e0587d 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -17,8 +17,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M) -#define CONFIG_MXC_UART - /* MMC Configs */ #define CONFIG_SYS_FSL_ESDHC_ADDR 0 diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index d889c99d51..3ee9cdd52d 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -19,7 +19,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR /* MMC Configs */ diff --git a/include/configs/mx6sllevk.h b/include/configs/mx6sllevk.h index 61c637d26c..f13429d6ea 100644 --- a/include/configs/mx6sllevk.h +++ b/include/configs/mx6sllevk.h @@ -13,7 +13,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* I2C Configs */ diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h index 2c7db39c29..070216338b 100644 --- a/include/configs/mx6sxsabreauto.h +++ b/include/configs/mx6sxsabreauto.h @@ -13,7 +13,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE #define CONFIG_EXTRA_ENV_SETTINGS \ diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index 3eea9de986..b30f9e51fb 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -19,7 +19,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE #ifdef CONFIG_IMX_BOOTAUX diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h index 8466abf3d5..f83ad914db 100644 --- a/include/configs/mx6ul_14x14_evk.h +++ b/include/configs/mx6ul_14x14_evk.h @@ -21,7 +21,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* MMC Configs */ diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h index 9cedb96a6b..e37559d903 100644 --- a/include/configs/mx6ullevk.h +++ b/include/configs/mx6ullevk.h @@ -19,7 +19,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* MMC Configs */ diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index cc07e858d5..c17cabc02f 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -38,14 +38,11 @@ #define CONFIG_SYS_MAXARGS 32 /* UART */ -#define CONFIG_MXC_UART /* MMC */ #define CONFIG_ARMV7_SECURE_BASE 0x00900000 -#define CONFIG_ARMV7_PSCI_1_0 - #ifdef CONFIG_SPL_BUILD #define CONFIG_SPL_DRIVERS_MISC_SUPPORT #endif diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index f3081f4f33..0f7d8e7cb5 100644 --- a/include/configs/nitrogen6x.h +++ b/include/configs/nitrogen6x.h @@ -19,7 +19,6 @@ #define CONFIG_USBD_HS #define CONFIG_NETCONSOLE -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART2_BASE /* I2C Configs */ diff --git a/include/configs/novena.h b/include/configs/novena.h index 6f964e4307..14581e0be0 100644 --- a/include/configs/novena.h +++ b/include/configs/novena.h @@ -92,7 +92,6 @@ #define CONFIG_LBA48 /* UART */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART2_BASE /* USB Configs */ diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h index 3a1ea0fc10..bf8f7b1e1b 100644 --- a/include/configs/ot1200.h +++ b/include/configs/ot1200.h @@ -13,7 +13,6 @@ #define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024) /* UART Configs */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* SF Configs */ diff --git a/include/configs/pfla02.h b/include/configs/pfla02.h index 4162a71ca6..3227c4276e 100644 --- a/include/configs/pfla02.h +++ b/include/configs/pfla02.h @@ -17,7 +17,6 @@ #define CONFIG_IMX_THERMAL /* Serial */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART4_BASE #define CONSOLE_DEV "ttymxc3" diff --git a/include/configs/pico-imx6.h b/include/configs/pico-imx6.h index 27cbfe276d..814e4b027f 100644 --- a/include/configs/pico-imx6.h +++ b/include/configs/pico-imx6.h @@ -27,7 +27,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (35 * SZ_1M) /* Increase due to DFU */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* MMC Configuration */ diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h index 8bfada75f7..d7942afb67 100644 --- a/include/configs/pico-imx6ul.h +++ b/include/configs/pico-imx6ul.h @@ -36,7 +36,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (35 * SZ_1M) /* Increase due to DFU */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART6_BASE_ADDR /* MMC Configs */ diff --git a/include/configs/pico-imx8mq.h b/include/configs/pico-imx8mq.h index da2842934b..e880fe59ae 100644 --- a/include/configs/pico-imx8mq.h +++ b/include/configs/pico-imx8mq.h @@ -148,7 +148,6 @@ #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + \ (PHYS_SDRAM_SIZE >> 1)) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE_ADDR /* Monitor Command Prompt */ diff --git a/include/configs/platinum.h b/include/configs/platinum.h index 5e81c4568a..77169f38bb 100644 --- a/include/configs/platinum.h +++ b/include/configs/platinum.h @@ -19,7 +19,6 @@ */ /* UART config */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* I2C config */ diff --git a/include/configs/s32v234evb.h b/include/configs/s32v234evb.h index e207ca45fd..11ae2c1c52 100644 --- a/include/configs/s32v234evb.h +++ b/include/configs/s32v234evb.h @@ -34,10 +34,6 @@ #define CONFIG_SKIP_LOWLEVEL_INIT -/* Config CACHE */ - -#define CONFIG_SYS_FULL_VA - /* Enable passing of ATAGs */ #define CONFIG_CMDLINE_TAG diff --git a/include/configs/secomx6quq7.h b/include/configs/secomx6quq7.h index b390c2fc52..45acf95a5b 100644 --- a/include/configs/secomx6quq7.h +++ b/include/configs/secomx6quq7.h @@ -15,7 +15,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (10 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART2_BASE /* MMC Configuration */ diff --git a/include/configs/sksimx6.h b/include/configs/sksimx6.h index 63c168ccdd..33ec049cf2 100644 --- a/include/configs/sksimx6.h +++ b/include/configs/sksimx6.h @@ -14,7 +14,6 @@ #define CONFIG_IMX_THERMAL /* Serial */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* Size of malloc() pool */ diff --git a/include/configs/sniper.h b/include/configs/sniper.h index 0e2fcc3e23..5ea8efabfc 100644 --- a/include/configs/sniper.h +++ b/include/configs/sniper.h @@ -142,10 +142,4 @@ "mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && " \ "bootm ${kernel_addr_r};" -/* - * Defaults - */ - -#include <config_defaults.h> - #endif diff --git a/include/configs/somlabs_visionsom_6ull.h b/include/configs/somlabs_visionsom_6ull.h index c3f81ff491..099c069a9f 100644 --- a/include/configs/somlabs_visionsom_6ull.h +++ b/include/configs/somlabs_visionsom_6ull.h @@ -19,7 +19,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* MMC Configs */ diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h index ed20b842ac..de9f8cb9bf 100644 --- a/include/configs/stm32mp1.h +++ b/include/configs/stm32mp1.h @@ -12,7 +12,6 @@ #ifndef CONFIG_TFABOOT /* PSCI support */ -#define CONFIG_ARMV7_PSCI_1_0 #define CONFIG_ARMV7_SECURE_BASE STM32_SYSRAM_BASE #define CONFIG_ARMV7_SECURE_MAX_SIZE STM32_SYSRAM_SIZE #endif diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h index eb16eb3d8a..32845978a6 100644 --- a/include/configs/tbs2910.h +++ b/include/configs/tbs2910.h @@ -33,7 +33,6 @@ #define CONFIG_SYS_BOOTMAPSZ 0x10000000 /* Serial console */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* select UART1/UART2 */ /* Framebuffer */ diff --git a/include/configs/titanium.h b/include/configs/titanium.h index ec316f325c..9100d3b14a 100644 --- a/include/configs/titanium.h +++ b/include/configs/titanium.h @@ -22,7 +22,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (2 * 1024 * 1024) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* I2C Configs */ diff --git a/include/configs/ts4800.h b/include/configs/ts4800.h index e563f3fe8a..aca0d860af 100644 --- a/include/configs/ts4800.h +++ b/include/configs/ts4800.h @@ -39,7 +39,6 @@ * Hardware drivers */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* diff --git a/include/configs/udoo.h b/include/configs/udoo.h index 54f472d595..706efb2035 100644 --- a/include/configs/udoo.h +++ b/include/configs/udoo.h @@ -18,7 +18,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (2 * SZ_1M) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART2_BASE /* SATA Configs */ diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h index 4b3df0451a..4e95788b24 100644 --- a/include/configs/udoo_neo.h +++ b/include/configs/udoo_neo.h @@ -16,7 +16,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (3 * SZ_1M) -#define CONFIG_MXC_UART /* MMC Configuration */ #define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 03bbbab3cf..d0841a7d55 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -39,8 +39,6 @@ #define BOOTENV #endif -#define CONFIG_ARMV7_PSCI_1_0 - #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024) #define CONFIG_TIMESTAMP diff --git a/include/configs/usbarmory.h b/include/configs/usbarmory.h index fcf5c67dc8..0c0f85097b 100644 --- a/include/configs/usbarmory.h +++ b/include/configs/usbarmory.h @@ -21,7 +21,6 @@ #define CONFIG_SYS_CBSIZE 512 /* UART */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE /* SD/MMC */ diff --git a/include/configs/warp.h b/include/configs/warp.h index 654f8349f4..1ab72cd00b 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -17,7 +17,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (35 * SZ_1M) /* Increase due to DFU */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR /* MMC Configs */ diff --git a/include/configs/xpress.h b/include/configs/xpress.h index ba7fc84bf2..79364d3437 100644 --- a/include/configs/xpress.h +++ b/include/configs/xpress.h @@ -16,7 +16,6 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (16 << 20) -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE MX6UL_UART7_BASE_ADDR /* MMC Configs */ diff --git a/include/configs/zmx25.h b/include/configs/zmx25.h index 15bd97f210..88a885463d 100644 --- a/include/configs/zmx25.h +++ b/include/configs/zmx25.h @@ -37,7 +37,6 @@ /* * Serial */ -#define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART2_BASE /* diff --git a/include/fdt_support.h b/include/fdt_support.h index 2eff311fa4..9684cffe80 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -22,9 +22,9 @@ */ int arch_fixup_fdt(void *blob); -void ft_cpu_setup(void *blob, bd_t *bd); +void ft_cpu_setup(void *blob, struct bd_info *bd); -void ft_pci_setup(void *blob, bd_t *bd); +void ft_pci_setup(void *blob, struct bd_info *bd); u32 fdt_getprop_u32_default_node(const void *fdt, int off, int cell, const char *prop, const u32 dflt); @@ -137,9 +137,9 @@ void fdt_fixup_qe_firmware(void *fdt); int fdt_fixup_display(void *blob, const char *path, const char *display); #if defined(CONFIG_USB_EHCI_FSL) || defined(CONFIG_USB_XHCI_FSL) -void fsl_fdt_fixup_dr_usb(void *blob, bd_t *bd); +void fsl_fdt_fixup_dr_usb(void *blob, struct bd_info *bd); #else -static inline void fsl_fdt_fixup_dr_usb(void *blob, bd_t *bd) {} +static inline void fsl_fdt_fixup_dr_usb(void *blob, struct bd_info *bd) {} #endif /* defined(CONFIG_USB_EHCI_FSL) || defined(CONFIG_USB_XHCI_FSL) */ #if defined(CONFIG_SYS_FSL_SEC_COMPAT) @@ -180,10 +180,10 @@ int fdt_find_or_add_subnode(void *fdt, int parentoffset, const char *name); * This function is called if CONFIG_OF_BOARD_SETUP is defined * * @param blob FDT blob to update - * @param bd_t Pointer to board data + * @param bd Pointer to board data * @return 0 if ok, or -FDT_ERR_... on error */ -int ft_board_setup(void *blob, bd_t *bd); +int ft_board_setup(void *blob, struct bd_info *bd); /* * The keystone2 SOC requires all 32 bit aliased addresses to be converted @@ -191,9 +191,9 @@ int ft_board_setup(void *blob, bd_t *bd); * are added or modified by the image_setup_libfdt(). The ft_board_setup_ex() * called at the end of the image_setup_libfdt() is to do that convertion. */ -void ft_board_setup_ex(void *blob, bd_t *bd); -void ft_cpu_setup(void *blob, bd_t *bd); -void ft_pci_setup(void *blob, bd_t *bd); +void ft_board_setup_ex(void *blob, struct bd_info *bd); +void ft_cpu_setup(void *blob, struct bd_info *bd); +void ft_pci_setup(void *blob, struct bd_info *bd); /** * Add system-specific data to the FDT before booting the OS. @@ -202,10 +202,10 @@ void ft_pci_setup(void *blob, bd_t *bd); * This function is called if CONFIG_OF_SYSTEM_SETUP is defined * * @param blob FDT blob to update - * @param bd_t Pointer to board data + * @param bd Pointer to board data * @return 0 if ok, or -FDT_ERR_... on error */ -int ft_system_setup(void *blob, bd_t *bd); +int ft_system_setup(void *blob, struct bd_info *bd); void set_working_fdt_addr(ulong addr); diff --git a/include/fm_eth.h b/include/fm_eth.h index 729ad63cd5..44da014c66 100644 --- a/include/fm_eth.h +++ b/include/fm_eth.h @@ -199,10 +199,10 @@ struct memac_mdio_info { char *name; }; -int fm_tgec_mdio_init(bd_t *bis, struct tgec_mdio_info *info); -int fm_memac_mdio_init(bd_t *bis, struct memac_mdio_info *info); +int fm_tgec_mdio_init(struct bd_info *bis, struct tgec_mdio_info *info); +int fm_memac_mdio_init(struct bd_info *bis, struct memac_mdio_info *info); -int fm_standard_init(bd_t *bis); +int fm_standard_init(struct bd_info *bis); void fman_enet_init(void); void fdt_fixup_fman_ethernet(void *fdt); phy_interface_t fm_info_get_enet_if(enum fm_port port); diff --git a/include/fsl-mc/fsl_mc.h b/include/fsl-mc/fsl_mc.h index 6cbcd39f12..a8b072ad7c 100644 --- a/include/fsl-mc/fsl_mc.h +++ b/include/fsl-mc/fsl_mc.h @@ -62,7 +62,7 @@ int get_aiop_apply_status(void); #endif u64 mc_get_dram_addr(void); unsigned long mc_get_dram_block_size(void); -int fsl_mc_ldpaa_init(bd_t *bis); -int fsl_mc_ldpaa_exit(bd_t *bd); +int fsl_mc_ldpaa_init(struct bd_info *bis); +int fsl_mc_ldpaa_exit(struct bd_info *bd); void mc_env_boot(void); #endif diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h index e148eaa880..2615d1ad2f 100644 --- a/include/fsl_esdhc.h +++ b/include/fsl_esdhc.h @@ -204,16 +204,16 @@ struct fsl_esdhc_cfg { #endif #ifdef CONFIG_FSL_ESDHC -int fsl_esdhc_mmc_init(bd_t *bis); -int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg); -void fdt_fixup_esdhc(void *blob, bd_t *bd); +int fsl_esdhc_mmc_init(struct bd_info *bis); +int fsl_esdhc_initialize(struct bd_info *bis, struct fsl_esdhc_cfg *cfg); +void fdt_fixup_esdhc(void *blob, struct bd_info *bd); #ifdef MMC_SUPPORTS_TUNING static inline int fsl_esdhc_execute_tuning(struct udevice *dev, uint32_t opcode) {return 0; } #endif #else -static inline int fsl_esdhc_mmc_init(bd_t *bis) { return -ENOSYS; } -static inline void fdt_fixup_esdhc(void *blob, bd_t *bd) {} +static inline int fsl_esdhc_mmc_init(struct bd_info *bis) { return -ENOSYS; } +static inline void fdt_fixup_esdhc(void *blob, struct bd_info *bd) {} #endif /* CONFIG_FSL_ESDHC */ void __noreturn mmc_boot(void); void mmc_spl_load_image(uint32_t offs, unsigned int size, void *vdst); diff --git a/include/fsl_esdhc_imx.h b/include/fsl_esdhc_imx.h index 279a66d9bf..45ed635a77 100644 --- a/include/fsl_esdhc_imx.h +++ b/include/fsl_esdhc_imx.h @@ -259,12 +259,12 @@ struct fsl_esdhc_cfg { #endif #ifdef CONFIG_FSL_ESDHC_IMX -int fsl_esdhc_mmc_init(bd_t *bis); -int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg); -void fdt_fixup_esdhc(void *blob, bd_t *bd); +int fsl_esdhc_mmc_init(struct bd_info *bis); +int fsl_esdhc_initialize(struct bd_info *bis, struct fsl_esdhc_cfg *cfg); +void fdt_fixup_esdhc(void *blob, struct bd_info *bd); #else -static inline int fsl_esdhc_mmc_init(bd_t *bis) { return -ENOSYS; } -static inline void fdt_fixup_esdhc(void *blob, bd_t *bd) {} +static inline int fsl_esdhc_mmc_init(struct bd_info *bis) { return -ENOSYS; } +static inline void fdt_fixup_esdhc(void *blob, struct bd_info *bd) {} #endif /* CONFIG_FSL_ESDHC_IMX */ void __noreturn mmc_boot(void); void mmc_spl_load_image(uint32_t offs, unsigned int size, void *vdst); diff --git a/include/fsl_mdio.h b/include/fsl_mdio.h index 8857d50910..41cb73717b 100644 --- a/include/fsl_mdio.h +++ b/include/fsl_mdio.h @@ -59,6 +59,6 @@ struct fsl_pq_mdio_info { struct tsec_mii_mng __iomem *regs; char *name; }; -int fsl_pq_mdio_init(bd_t *bis, struct fsl_pq_mdio_info *info); +int fsl_pq_mdio_init(struct bd_info *bis, struct fsl_pq_mdio_info *info); #endif /* __FSL_PHY_H__ */ diff --git a/include/image.h b/include/image.h index 9ababf2a2d..9a5a87dbf8 100644 --- a/include/image.h +++ b/include/image.h @@ -412,7 +412,7 @@ typedef struct bootm_headers { ulong initrd_end; ulong cmdline_start; ulong cmdline_end; - bd_t *kbd; + struct bd_info *kbd; #endif int verify; /* env_get("verify")[0] != 'n' */ @@ -755,7 +755,7 @@ int boot_ramdisk_high(struct lmb *lmb, ulong rd_data, ulong rd_len, ulong *initrd_start, ulong *initrd_end); int boot_get_cmdline(struct lmb *lmb, ulong *cmd_start, ulong *cmd_end); #ifdef CONFIG_SYS_BOOT_GET_KBD -int boot_get_kbd(struct lmb *lmb, bd_t **kbd); +int boot_get_kbd(struct lmb *lmb, struct bd_info **kbd); #endif /* CONFIG_SYS_BOOT_GET_KBD */ #endif /* !USE_HOSTCC */ diff --git a/include/lmb.h b/include/lmb.h index 3b338dfee0..73b7a5cbe3 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -31,7 +31,8 @@ struct lmb { }; extern void lmb_init(struct lmb *lmb); -extern void lmb_init_and_reserve(struct lmb *lmb, bd_t *bd, void *fdt_blob); +extern void lmb_init_and_reserve(struct lmb *lmb, struct bd_info *bd, + void *fdt_blob); extern void lmb_init_and_reserve_range(struct lmb *lmb, phys_addr_t base, phys_size_t size, void *fdt_blob); extern long lmb_add(struct lmb *lmb, phys_addr_t base, phys_size_t size); diff --git a/include/mvebu_mmc.h b/include/mvebu_mmc.h index 7397165f67..a35e5a12ce 100644 --- a/include/mvebu_mmc.h +++ b/include/mvebu_mmc.h @@ -269,6 +269,6 @@ struct mvebu_mmc_cfg { * Functions prototypes */ -int mvebu_mmc_init(bd_t *bis); +int mvebu_mmc_init(struct bd_info *bis); #endif /* __MVEBU_MMC_H__ */ diff --git a/include/net/pfe_eth/pfe_eth.h b/include/net/pfe_eth/pfe_eth.h index 116a2b2c1d..92dc46ee9a 100644 --- a/include/net/pfe_eth/pfe_eth.h +++ b/include/net/pfe_eth/pfe_eth.h @@ -97,7 +97,7 @@ int pfe_remove(struct pfe_ddr_address *pfe_addr); struct mii_dev *pfe_mdio_init(struct pfe_mdio_info *mdio_info); void pfe_set_mdio(int dev_id, struct mii_dev *bus); void pfe_set_phy_address_mode(int dev_id, int phy_id, int phy_mode); -int gemac_initialize(bd_t *bis, int dev_id, char *devname); +int gemac_initialize(struct bd_info *bis, int dev_id, char *devname); int pfe_init(struct pfe_ddr_address *pfe_addr); int pfe_eth_board_init(struct udevice *dev); diff --git a/include/netdev.h b/include/netdev.h index f2d21c45d0..b1eb5fc104 100644 --- a/include/netdev.h +++ b/include/netdev.h @@ -21,63 +21,65 @@ * -1: failure */ -int board_eth_init(bd_t *bis); +int board_eth_init(struct bd_info *bis); int board_interface_eth_init(struct udevice *dev, phy_interface_t interface_type); -int cpu_eth_init(bd_t *bis); +int cpu_eth_init(struct bd_info *bis); /* Driver initialization prototypes */ -int at91emac_register(bd_t *bis, unsigned long iobase); -int ax88180_initialize(bd_t *bis); -int bcm_sf2_eth_register(bd_t *bis, u8 dev_num); -int bfin_EMAC_initialize(bd_t *bis); +int at91emac_register(struct bd_info *bis, unsigned long iobase); +int ax88180_initialize(struct bd_info *bis); +int bcm_sf2_eth_register(struct bd_info *bis, u8 dev_num); +int bfin_EMAC_initialize(struct bd_info *bis); int calxedaxgmac_initialize(u32 id, ulong base_addr); int cs8900_initialize(u8 dev_num, int base_addr); -int dc21x4x_initialize(bd_t *bis); +int dc21x4x_initialize(struct bd_info *bis); int designware_initialize(ulong base_addr, u32 interface); -int dm9000_initialize(bd_t *bis); +int dm9000_initialize(struct bd_info *bis); int dnet_eth_initialize(int id, void *regs, unsigned int phy_addr); -int e1000_initialize(bd_t *bis); -int eepro100_initialize(bd_t *bis); +int e1000_initialize(struct bd_info *bis); +int eepro100_initialize(struct bd_info *bis); int ep93xx_eth_initialize(u8 dev_num, int base_addr); -int eth_3com_initialize (bd_t * bis); +int eth_3com_initialize (struct bd_info * bis); int ethoc_initialize(u8 dev_num, int base_addr); -int fec_initialize (bd_t *bis); -int fecmxc_initialize(bd_t *bis); -int fecmxc_initialize_multi(bd_t *bis, int dev_id, int phy_id, uint32_t addr); -int ftmac100_initialize(bd_t *bits); -int ftmac110_initialize(bd_t *bits); -void gt6426x_eth_initialize(bd_t *bis); +int fec_initialize (struct bd_info *bis); +int fecmxc_initialize(struct bd_info *bis); +int fecmxc_initialize_multi(struct bd_info *bis, int dev_id, int phy_id, + uint32_t addr); +int ftmac100_initialize(struct bd_info *bits); +int ftmac110_initialize(struct bd_info *bits); +void gt6426x_eth_initialize(struct bd_info *bis); int ks8851_mll_initialize(u8 dev_num, int base_addr); int lan91c96_initialize(u8 dev_num, int base_addr); -int lpc32xx_eth_initialize(bd_t *bis); +int lpc32xx_eth_initialize(struct bd_info *bis); int macb_eth_initialize(int id, void *regs, unsigned int phy_addr); -int mcdmafec_initialize(bd_t *bis); -int mcffec_initialize(bd_t *bis); -int mvgbe_initialize(bd_t *bis); -int mvneta_initialize(bd_t *bis, int base_addr, int devnum, int phy_addr); -int natsemi_initialize(bd_t *bis); +int mcdmafec_initialize(struct bd_info *bis); +int mcffec_initialize(struct bd_info *bis); +int mvgbe_initialize(struct bd_info *bis); +int mvneta_initialize(struct bd_info *bis, int base_addr, int devnum, + int phy_addr); +int natsemi_initialize(struct bd_info *bis); int ne2k_register(void); -int npe_initialize(bd_t *bis); -int ns8382x_initialize(bd_t *bis); -int pcnet_initialize(bd_t *bis); -int ppc_4xx_eth_initialize (bd_t *bis); -int rtl8139_initialize(bd_t *bis); -int rtl8169_initialize(bd_t *bis); -int scc_initialize(bd_t *bis); -int sh_eth_initialize(bd_t *bis); -int skge_initialize(bd_t *bis); +int npe_initialize(struct bd_info *bis); +int ns8382x_initialize(struct bd_info *bis); +int pcnet_initialize(struct bd_info *bis); +int ppc_4xx_eth_initialize (struct bd_info *bis); +int rtl8139_initialize(struct bd_info *bis); +int rtl8169_initialize(struct bd_info *bis); +int scc_initialize(struct bd_info *bis); +int sh_eth_initialize(struct bd_info *bis); +int skge_initialize(struct bd_info *bis); int smc91111_initialize(u8 dev_num, int base_addr); int smc911x_initialize(u8 dev_num, int base_addr); -int uec_standard_init(bd_t *bis); -int uli526x_initialize(bd_t *bis); +int uec_standard_init(struct bd_info *bis); +int uli526x_initialize(struct bd_info *bis); int armada100_fec_register(unsigned long base_addr); /* Boards with PCI network controllers can call this from their board_eth_init() * function to initialize whatever's on board. * Return value is total # of devices found */ -static inline int pci_eth_init(bd_t *bis) +static inline int pci_eth_init(struct bd_info *bis) { int num = 0; @@ -119,7 +121,7 @@ struct mii_dev *fec_get_miibus(ulong base_addr, int dev_id); #ifdef CONFIG_PHYLIB struct phy_device; -int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, +int fec_probe(struct bd_info *bd, int dev_id, uint32_t base_addr, struct mii_dev *bus, struct phy_device *phydev); #else /* diff --git a/include/pci_ids.h b/include/pci_ids.h index bd59578ccb..7ecedc7f04 100644 --- a/include/pci_ids.h +++ b/include/pci_ids.h @@ -2360,6 +2360,24 @@ #define PCI_DEVICE_ID_ALTIMA_AC9100 0x03ea #define PCI_DEVICE_ID_ALTIMA_AC1003 0x03eb +#define PCI_VENDOR_ID_CAVIUM 0x177d +#define PCI_DEVICE_ID_CAVIUM_GPIO 0xa00a +#define PCI_DEVICE_ID_CAVIUM_MPI 0xa00b +#define PCI_DEVICE_ID_CAVIUM_EMMC 0xa010 +#define PCI_DEVICE_ID_CAVIUM_TWSI 0xa012 +#define PCI_DEVICE_ID_CAVIUM_SATA 0xa01c +#define PCI_DEVICE_ID_CAVIUM_NIC 0xa01e +#define PCI_DEVICE_ID_CAVIUM_BGX 0xa026 +#define PCI_DEVICE_ID_CAVIUM_SMI 0xa02b +#define PCI_DEVICE_ID_CAVIUM_NICVF 0xa034 +#define PCI_DEVICE_ID_CAVIUM_BCH 0xa043 +#define PCI_DEVICE_ID_CAVIUM_BCHVF 0xa044 +#define PCI_DEVICE_ID_CAVIUM_NDF 0xa04f +#define PCI_DEVICE_ID_CAVIUM_RGX 0xa054 +#define PCI_DEVICE_ID_CAVIUM_CGX 0xa059 +#define PCI_DEVICE_ID_CAVIUM_RVU_PF 0xa063 +#define PCI_DEVICE_ID_CAVIUM_RVU_AF 0xa065 + #define PCI_VENDOR_ID_BELKIN 0x1799 #define PCI_DEVICE_ID_BELKIN_F5D7010V7 0x701f diff --git a/include/tsec.h b/include/tsec.h index b17fa957df..43255e538f 100644 --- a/include/tsec.h +++ b/include/tsec.h @@ -426,8 +426,9 @@ struct tsec_info_struct { }; #ifndef CONFIG_DM_ETH -int tsec_standard_init(bd_t *bis); -int tsec_eth_init(bd_t *bis, struct tsec_info_struct *tsec_info, int num); +int tsec_standard_init(struct bd_info *bis); +int tsec_eth_init(struct bd_info *bis, struct tsec_info_struct *tsec_info, + int num); #endif #endif /* __TSEC_H */ diff --git a/include/vsc9953.h b/include/vsc9953.h index 5d6fc7716c..a9c84b4b50 100644 --- a/include/vsc9953.h +++ b/include/vsc9953.h @@ -712,7 +712,7 @@ struct vsc9953_info { struct vsc9953_port_info port[VSC9953_MAX_PORTS]; }; -void vsc9953_init(bd_t *bis); +void vsc9953_init(struct bd_info *bis); void vsc9953_port_info_set_mdio(int port_no, struct mii_dev *bus); void vsc9953_port_info_set_phy_address(int port_no, int address); |