This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
u-boot
Watch
2
Star
0
Fork
You've already forked u-boot
0
mirror of
https://github.com/AsahiLinux/u-boot
synced
2024-11-25 14:10:43 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
5002d8cc54
u-boot
/
configs
/
tb100_defconfig
3 lines
64 B
Text
Raw
Normal View
History
Unescape
Escape
kconfig: add board Kconfig and defconfig files This commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board (This commit was automatically generated by a conversion script based on boards.cfg) In Linux Kernel, defconfig files are located under arch/${ARCH}/configs/ directory. It works in Linux Kernel since ARCH is always given from the command line for cross compile. But in U-Boot, ARCH is not given from the command line. Which means we cannot know ARCH until the board configuration is done. That is why all the "*_defconfig" files should be gathered into a single directory ./configs/. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
2014-07-30 05:08:14 +00:00
CONFIG_ARC=y
CONFIG_TARGET_TB100=y
Kconfig: move CONFIG_SYS_CLK_FREQ to Kconfig It makes sense to specify CONFIG_SYS_CLK_FREQ in "configs/xx_defconfig" instead of "include/configs/xxx.h" because then header will be reusable across boards with different CPU clocks. Also this nice to have an ability for end user to tune this value himself via "menuconfig". For now I'm only applying this change to all ARC configs because otherwise scope of change will be huge. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Tom Rini <trini@ti.com> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Hans de Goede <hdegoede@redhat.com> cc: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>
2015-01-13 15:49:01 +00:00
CONFIG_SYS_CLK_FREQ=500000000
Reference in a new issue
Copy permalink