u-boot-brain/board
Simon Glass 336d4615f8 dm: core: Create a new header file for 'compat' features
At present dm/device.h includes the linux-compatible features. This
requires including linux/compat.h which in turn includes a lot of headers.
One of these is malloc.h which we thus end up including in every file in
U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
which needs to use the system malloc() in some files.

Move the compatibility features into a separate header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
2020-02-05 19:33:46 -07:00
..
abilis/tb100 common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
advantech common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
alliedtelesis common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
altera ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK 2019-05-10 22:48:10 +02:00
amarula/vyasa-rk3288 common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
amazon/kc1 env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
amlogic boards: amlogic: add Khadas VIM3L support 2020-01-07 14:50:28 +01:00
AndesTech common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
Arcturus/ucp1020 common: Move clock functions into a new file 2020-01-24 23:06:48 +05:30
aries/mcvevk arm: socfpga: Re-add support for Aries MCV SoM and MCVEV[KP] board 2019-05-14 19:52:39 +02:00
aristainetos imx6: aristainetos: add support for rev C board 2020-01-07 10:26:56 +01:00
armadeus common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
armltd common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
aspeed/evb_ast2500 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
astro/mcf5373l common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
atmark-techno/armadillo-800eva common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
atmel common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
avionic-design SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bachmann/ot1200 env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
barco common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
beckhoff/mx53cx9020 imx: cx9020: migrate cx9020 to CONFIG_DM_USB 2020-01-07 10:26:56 +01:00
birdland/bav335x mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
bitmain/antminer_s9 arm: zynq: Add support for Bitmain Antminer S9 control board 2018-05-31 13:50:39 +02:00
bluegiga/apx4devkit env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
bluewater common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
bosch common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
boundary/nitrogen6x nitrogen6x: prepare for CONFIG_MX6QDL 2019-12-27 14:28:28 +01:00
broadcom common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
bticino/mamoj common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
buffalo/lsxl env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
BuR common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
BuS/eb_cpu5282 common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
cadence/xtfpga common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
calao/usb_a9263 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
CarMediaLab/flea3 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
cavium/thunderx common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
ccv/xpress common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
cei/cei-tk1-som SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
chipspark/popmetal_rk3288 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
cirrus/edb93xx common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
cloudengines/pogo_e02 common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
cobra5272 common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
compal/paz00 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
compulab dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
comtrend SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
congatec common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
coreboot common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
corscience/tricorder dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
creative/xfi3 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cssi common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
CZ.NIC common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
d-link/dns325 common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
davinci/da8xxevm board: davinci: Update OMAPL138_LCDK maintainer 2019-12-26 09:06:54 -05:00
devboards/dbm-soc1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfi common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
dhelectronics/dh_imx6 common: Move old EEPROM functions into a new header 2019-12-02 18:25:25 -05:00
ea/mx7ulp_com mx7ulp: Add support for Embedded Artists COM board 2020-01-07 10:26:56 +01:00
ebv/socrates arm: socfpga: socrates: make rtc work 2019-04-25 00:00:49 +02:00
eets/pdu001 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
efi common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
egnite/ethernut5 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
el/el6x common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
elgin/elgin_rv1108 rockchip: rv1108: Migrate to use common board file 2019-07-29 10:27:48 +08:00
embest/mx6boards common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
emulation efi: qemu: arm64: Add efi_rng_protocol implementation for the platform 2020-01-07 18:08:22 +01:00
engicam common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
esd common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
firefly common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
freescale board: ls1012ardb: do not use imply CONFIG_ 2020-02-04 16:20:25 +05:30
gardena dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
gateworks/gw_ventana common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
gdsys common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
ge dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
geekbuying/geekbox rockchip: rk3368: Migrate to use common board file 2019-07-29 10:27:48 +08:00
google dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
grinn common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
gumstix common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
highbank common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
hisilicon MAINTAINERS: board: hisi: poplar: update email 2020-01-30 13:30:35 -05:00
huawei/hg556a SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ids/ids8313 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
imgtec mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
intel board: intel: agilex: Add socdk board support for Intel Agilex SoC 2020-01-07 14:38:33 +01:00
inversepath/usbarmory common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
iomega/iconnect SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
is1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
isee dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
k+p common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
keymile common: Move device-tree setup functions to fdt_support.h 2020-01-24 23:06:48 +05:30
kmc/kzm9g common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
kobol/helios4 board: mvebu: drop unused ETH_PHY macro definitions 2019-01-21 11:39:50 +01:00
kosagi/novena common: Move clock functions into a new file 2020-01-24 23:06:48 +05:30
l+g/vinco common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
LaCie common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
laird common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
lego/ev3 ARM: legoev3: convert to driver model 2019-07-13 11:11:28 -04:00
lg/sniper env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
liebherr common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
logicpd ARM: imx6q_logic: Cleanup boot sequence check 2019-12-27 14:30:52 +01:00
Marvell common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
maxbcm arm: mvebu: AXP: Enhance PCIe port capability configuration 2019-04-12 07:04:18 +02:00
mediatek ARM: Mediatek: Add board_late_init to init usb gadget driver 2020-01-25 12:04:36 -05:00
menlo/m53menlo dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
microchip dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mikrotik/crs305-1g-4s arm: mvebu: Avoid generating kwbimage.cfg in the source tree 2019-10-29 16:17:36 -04:00
mini-box/picosam9g45 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
mpc8308_p1m common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
mqmaker/miqi_rk3288 rockchip: board: rk3288: remove board_boot_order() 2019-07-20 23:59:44 +08:00
mscc common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
netgear bmips: correct name characters 2019-10-25 17:20:43 +02:00
nokia/rx51 env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
novtech/meerkat96 meerkat96: fix typo in MAINTAINERS email address 2020-01-25 12:04:36 -05:00
nvidia env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
olimex/mx23_olinuxino SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
opalkelly/zynq arm: zynq: Remove low level UART setting 2020-01-14 09:05:53 +01:00
overo dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
pandora omap3: pandora: Enable DM_SERIAL 2018-09-10 21:19:31 -04:00
phytec common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
phytium/durian common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
pine64/rockpro64_rk3399 rockchip: rk3399: split rockpro64 out of evb_rk3399 2019-11-17 17:22:53 +08:00
ppcag/bg0900 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qca mips: add initial support for qca956x referenced board 2019-04-12 17:32:50 +02:00
qemu-mips SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qualcomm MAINTAINERS: board: qcom: db820c: update email 2020-01-30 13:30:35 -05:00
quipos/cairo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
radxa SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
raidsonic/ib62x0 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
raspberrypi/rpi rpi: Enable DRAM bank initialization on arm64 2019-12-11 10:14:12 +01:00
renesas common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
rockchip rockchip: config: add support for firefly-px30 board 2019-12-06 00:06:23 +08:00
ronetix common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
sagem/f@st1704 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
samsung arm: exynos: Read default MMC device from XOM[7:5] pins 2020-01-28 09:54:05 +09:00
sandbox common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
sandisk/sansa_fuze_plus SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sbc8349 common: Move device-tree setup functions to fdt_support.h 2020-01-24 23:06:48 +05:30
sbc8548 common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
sbc8641d common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
schulercontrol/sc_sps_1 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Seagate common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
seco common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
seeed/linkit-smart-7688 mips: mt76xx: linkit-smart-7688: Use ioremap_nocache to get address 2018-11-18 16:02:23 +01:00
sfr/nb4_ser SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
siemens dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
sifive/fu540 configs: fu540: enable gpio driver 2019-10-18 09:04:08 +08:00
silica/pengwyn common: Move serial functions out of common.h 2019-12-02 18:23:11 -05:00
sks-kinkel/sksimx6 Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
socrates common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
softing ARM: imx: vining2000: Properly discern PFUZE100 and PFUZE200 2020-01-20 15:37:23 +01:00
solidrun ARM: mvebu: clearfog: add Clearfog Base serdes configuration 2020-01-21 15:56:15 +01:00
somlabs/visionsom-6ull ARM: imx: mx6ull: Add iMX6ULL VisionSOM SoM and EVK 2020-01-20 15:38:16 +01:00
spear common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
sr1500 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
st dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ste/stemmy board: Add new Samsung "stemmy" board based on ST-Ericsson U8500 2020-01-22 17:47:57 -05:00
sunxi sunxi: Add Libre Computer ALL-H5-CC H5 board 2020-01-24 23:13:55 +05:30
Synology common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30
synopsys dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
sysam common: Move testdram() into init.h 2020-01-24 23:06:49 +05:30
syteco/zmx25 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
tbs/tbs2910 board: tbs2910: Convert eth to driver model 2019-10-13 22:49:11 +02:00
tcl/sl50 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
technexion dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
technologic common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
terasic SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
theadorable common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
theobroma-systems dm: core: Rename ofnode_get_chosen_prop() 2020-02-05 19:33:45 -07:00
ti dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
timll dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
topic/zynq arm: zynq: Remove low level UART setting 2020-01-14 09:05:53 +01:00
toradex common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
tplink/wdr4300 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tqc common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
ucRobotics/bubblegum_96 common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
udoo common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
vamrs/rock960_rk3399 rockchip: rk3399: Migrate to use common board file 2019-07-29 10:27:48 +08:00
variscite/dart_6ul Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
varisys common: Move device-tree setup functions to fdt_support.h 2020-01-24 23:06:48 +05:30
ve8313 common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
vscom/baltos mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
wandboard wandboard: Do not print error message when PMIC is absent 2020-01-14 22:17:51 +01:00
warp common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
warp7 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
woodburn common: Move RAM-sizing functions to init.h 2020-01-24 23:06:49 +05:30
work-microwave/work_92105 common: Move some board functions out of common.h 2019-12-02 18:25:21 -05:00
xes common: Move pci_init_board() out of common.h 2019-12-02 18:25:25 -05:00
xilinx dm: core: Rename ofnode_get_chosen_prop() 2020-02-05 19:33:45 -07:00
zyxel/nsa310s common: Move reset_phy() to net.h 2020-01-24 23:06:48 +05:30