mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 02:18:51 +09:00
![Stefan Bosch](/assets/img/avatar_default.png)
Changes in relation to FriendlyARM's U-Boot nanopi2-v2016.01: - SPL not supported yet --> no spl-dir in arch/arm/cpu/armv7/s5p4418/. Appropriate line in Makefile removed. - cpu.c: '#include <cpu_func.h>' added. - arch/arm/cpu/armv7/s5p4418/u-boot.lds removed, is not required anylonger. - "obj-$(CONFIG_ARCH_NEXELL) += s5p-common/" added to arch/arm/cpu/armv7/Makefile since s5p-common/pwm.c is used instead of drivers/pwm/pwm-nexell.c. - s5p4418.dtsi: '#include "../../../include/generated/autoconf.h"' removed, is not necessary, error at out-of-tree building. '#ifdef CONFIG_CPU_NXP4330'-blocks (2x) removed. Some minor changes regarding mmc. 'u-boot,dm-pre-reloc' added to dp0 because of added DM_VIDEO support. - board/s5p4418/ renamed to board/friendlyarm/ - All s5p4418-boards except nanopi2 removed because there is no possibility to test the other boards. - Kconfig: Changes to have a structure like mach-bcm283x (RaspberryPi), e.g. "config ..." entries moved from/to other Kconfig. - "CONFIG_" removed from several s5p4418/nanopi2 specific defines because the appropriate values do not need to be configurable. - nanopi2/board.c: All getenv(), getenv_ulong(), setenv() and saveenv() renamed to env_get(), env_get_ulong(), env_set() and env_save(), respectively. MACH_TYPE_S5P4418 is not defined anymore, therefore appropriate code removed (not necessary for DT-kernels). - nanopi2/onewire.c: All crc8() renamed to crc8_ow() because crc8() is already defined in lib/crc8.c (with different parameters). - dts: "nexell,s5pxx18-i2c" used instead of "i2c-gpio", i2c0 and i2c1 added. gmac-, ehci- and dwc2otg-entries removed because the appropriate functionality is not supported yet. New mmc-property "mmcboost" added. s5p4418-pinctrl.dtsi: gmac-entries removed, mmc- and i2c-entries added. - '#ifdef CONFIG...' changed to 'if (IS_ENABLED(CONFIG...))' where possible (and similar). Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
38 lines
946 B
Plaintext
38 lines
946 B
Plaintext
choice
|
|
prompt "LCD backlight control"
|
|
optional
|
|
default S5P4418_ONEWIRE
|
|
|
|
config S5P4418_ONEWIRE
|
|
bool "I2C / 1-Wire"
|
|
help
|
|
This enables LCD-Backlight control for FriendlyARM LCD-panels.
|
|
I2C is used if available, otherwise 1-Wire is used.
|
|
|
|
config PWM_NX
|
|
bool "PWM"
|
|
help
|
|
This enables LCD-Backlight control via PWM.
|
|
endchoice
|
|
|
|
config ROOT_DEV
|
|
int "ROOT_DEV"
|
|
help
|
|
Environment variable rootdev is set to this value if env. var. firstboot
|
|
does not exist. Otherwise rootdev is set to the MMC boot device. rootdev
|
|
determines (together with env. var. bootpart) where the OS (linux) is
|
|
booted from.
|
|
|
|
config BOOT_PART
|
|
int "BOOT_PART"
|
|
help
|
|
Environment variable bootpart is set to this value. bootpart determines
|
|
(together with env. var. rootdev) where the OS (linux) is booted from.
|
|
|
|
config ROOT_PART
|
|
int "ROOT_PART"
|
|
help
|
|
Environment variable rootpart is set to this value.
|
|
|
|
source "board/friendlyarm/nanopi2/Kconfig"
|