mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Dario Binacchi](/assets/img/avatar_default.png)
Add the "u-boot,dm-pre-reloc" property to the "ti,tilcdc,panel" compatible node. In this way the video-uclass module can allocate the amount of memory needed to be assigned to the frame buffer. For boards that support Linux the property is added to the *-u-boot.dtsi file since it is a u-boot specific dt flag. Ran building tests with CONFIG_AM335X_LCD enabled and disabled for the following configurations: - brxre1_defconfig --> success - am335x_guardian_defconfig --> success - am335x_evm_defconfig --> success - da850evm_defconfig --> failure with CONFIG_AM335X_LCD enabled Enabling CONFIG_AM335X_LCD in da850evm_defconfig causes building errors even without applying the patch. The driver has never been enabled on the da850 and must be adapted for this platform. Signed-off-by: Dario Binacchi <dariobin@libero.it> Tested-by: Dario Binacchi <dariobin@libero.it> Reviewed-by: Felix Brack <fb@ltec.ch>
42 lines
462 B
Plaintext
42 lines
462 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* da850-evm U-Boot Additions
|
|
*
|
|
* Copyright (C) 2017 Logic PD, Inc.
|
|
* Copyright (C) Adam Ford
|
|
*/
|
|
|
|
/ {
|
|
soc@1c00000 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
nand {
|
|
compatible = "ti,davinci-nand";
|
|
};
|
|
|
|
panel {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
pinctrl-0 = <&mii_pins>, <&mdio_pins>;
|
|
};
|
|
|
|
&flash {
|
|
compatible = "m25p64", "jedec,spi-nor";
|
|
};
|
|
|
|
&mmc0 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&serial2 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&spi1 {
|
|
u-boot,dm-spl;
|
|
};
|