26 Feb, 2015
2 commits
-
Currently only normal hashing is supported using hardware acceleration.
Added support for progressive hashing using hardware.Signed-off-by: Ruchika Gupta
Signed-off-by: Gaurav Rana
CC: Simon Glass
Reviewed-by: Simon Glass
Reviewed-by: York Sun
25 Feb, 2015
3 commits
-
Now CONFIG_SPL_BUILD is not defined in Kconfig, so
"!depends on SPL_BUILD" and "if !SPL_BUILD" are redundant.Signed-off-by: Masahiro Yamada
-
When Kconfig for U-boot was examined, one of the biggest issues was
how to support multiple images (Normal, SPL, TPL). There were
actually two options, "single .config" and "multiple .config".
After some discussions and thought experiments, I chose the latter,
i.e. to create ".config", "spl/.config", "tpl/.config" for Normal,
SPL, TPL, respectively.It is true that the "multiple .config" strategy provided us the
maximum flexibility and helped to avoid duplicating CONFIGs among
Normal, SPL, TPL, but I have noticed some fatal problems:[1] It is impossible to share CONFIG options across the images.
If you change the configuration of Main image, you often have to
adjust some SPL configurations correspondingly. Currently, we
cannot handle the dependencies between them. It means one of the
biggest advantages of Kconfig is lost.[2] It is too painful to change both ".config" and "spl/.config".
Sunxi guys started to work around this problem by creating a new
configuration target. Commit cbdd9a9737cc (sunxi: kconfig: Add
%_felconfig rule to enable FEL build of sunxi platforms.) added
"make *_felconfig" to enable CONFIG_SPL_FEL on both images.
Changing the configuration of multiple images in one command is a
generic demand. The current implementation cannot propose any
good solution about this.[3] Kconfig files are getting ugly and difficult to understand.
Commit b724bd7d6349 (dm: Kconfig: Move CONFIG_SYS_MALLOC_F_LEN to
Kconfig) has sprinkled "if !SPL_BUILD" over the Kconfig files.[4] The build system got more complicated than it should be.
To adjust Linux-originated Kconfig to U-Boot, the helper script
"scripts/multiconfig.sh" was introduced. Writing a complicated
text processor is a shell script sometimes caused problems.Now I believe the "single .config" will serve us better. With it,
all the problems above would go away. Instead, we will have to add
some CONFIG_SPL_* (and CONFIG_TPL_*) options such as CONFIG_SPL_DM,
but we will not have much. Anyway, this is what we do now in
scripts/Makefile.spl.I admit my mistake with my apology and this commit switches to the
single .config configuration.It is not so difficult to do that:
- Remove unnecessary processings from scripts/multiconfig.sh
This file will remain for a while to support the current defconfig
format. It will be removed after more cleanups are done.- Adjust some makefiles and Kconfigs
- Add some entries to include/config_uncmd_spl.h and the new file
scripts/Makefile.uncmd_spl. Some CONFIG options that are not
supported on SPL must be disabled because one .config is shared
between SPL and U-Boot proper going forward. I know this is not
a beautiful solution and I think we can do better, but let's see
how much we will have to describe them.- update doc/README.kconfig
More cleaning up patches will follow this.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass -
At present defaults in arch-specific Kconfig files are ignored if the
top-level item comes ahead of it in include order. This means that it is
not possible to have a U-Boot default that architectures and boards can
override. This does not seem very useful.Move the include earlier to support this.
Signed-off-by: Simon Glass
Reported-by: Masahiro Yamada
Reviewed-by: Masahiro Yamada
13 Feb, 2015
3 commits
-
Move this option to Kconfig and update all boards.
Signed-off-by: Simon Glass -
Add a file to control driver model test features.
Signed-off-by: Simon Glass
Reviewed-by: Masahiro Yamada -
Discovered while experimenting with signature checking on vexpress
which doesn't typically use DM.
Acked-by: Simon Glass
09 Feb, 2015
1 commit
-
Following SPARK ARC now has SYS_MONITOR_BASE setup via Kconfig.
This makes "include/configs/*.h" cleaner and more flexible.Signed-off-by: Alexey Brodkin
30 Jan, 2015
1 commit
-
For FIT signature based approach to work, RSA library needs to be selected.
The FIT_SIGNATURE option in Kconfig is modified to automatically select RSA.
Selecting RSA compiles the RSA library required for image verification.Signed-off-by: Ruchika Gupta
CC: Simon Glass
Acked-by: Simon Glass
15 Jan, 2015
1 commit
-
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
Cc: Tom Rini
Cc: Masahiro Yamada
Cc: Hans de Goede
cc: Simon Glass
Reviewed-by: Tom Rini
08 Jan, 2015
1 commit
-
Make it a sub-menu of "General setup" like Linux Kernel.
Signed-off-by: Masahiro Yamada
Cc: Tom Rini
25 Nov, 2014
1 commit
24 Nov, 2014
1 commit
-
For similar reasons to why the Linux Kernel has an EXPERT option, we too
want an option to allow for tweaking of some options that while normally
should remain hidden, may need to be changed in some cases.Signed-off-by: Tom Rini
Acked-by: Masahiro Yamada
Acked-by: Hans de Goede
Signed-off-by: Hans de Goede
23 Nov, 2014
1 commit
-
Signed-off-by: Masahiro Yamada
05 Nov, 2014
1 commit
-
Defining CONFIG_SYS_TEXT_BASE in config.mk is very old style.
Create CONFIG_SYS_TEXT_BASE option in Kconfig, but let it
depend on CONFIG_SPARC because we do not want to disturb
the other architectures that still define CONFIG_SYS_TEXT_BASE
in their header files.Signed-off-by: Masahiro Yamada
Cc: Daniel Hellstrom
28 Oct, 2014
2 commits
-
CONFIG_TPL should not be enabled for boards that do not have TPL.
CONFIG_SUPPORT_TPL introduced by this commit should be "select"ed
by boards with TPL support and CONFIG_TPL should depend on it.Signed-off-by: Masahiro Yamada
-
CONFIG_SPL should not be enabled for boards that do not have SPL.
CONFIG_SUPPORT_SPL introduced by this commit should be "select"ed
by boards with SPL support and CONFIG_SPL should depend on it.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
25 Sep, 2014
2 commits
-
This commit moves:
CONFIG_OF_CONTROL
CONFIG_OF_SEPARATE
CONFIG_OF_EMBED
CONFIG_OF_HOSTFILEBecause these options are currently not supported for SPL,
the "Device Tree Control" menu does not appear in the SPL
configuration.Note:
zynq-common.h should be adjusted so as not to change the
default value of CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
Cc: Stephen Warren
Cc: Minkyu Kang
Acked-by: Michal Simek -
This would be useful to start moving various config options.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
Tested-by: Simon Glass
29 Aug, 2014
2 commits
-
Copy the Kconfig option from "init/Kconfig" of Linux v3.16 tag
and adjust the help document.Signed-off-by: Masahiro Yamada
-
Copy Kconfig options from "init/Kconfig" of Linux v3.16 tag
and adjust some parts of the help document.Move CONFIG_SPL, CONFIG_TPL, ... etc. to "Boot images" menu.
Signed-off-by: Masahiro Yamada
22 Aug, 2014
1 commit
-
CONFIG_DEFCONFIG_LIST specifies the default defconfig.
It is used by "make savedefconfig" when .config is missing.
But that's it. I could not find other useful cases.As a side effect, CONFIG_DEFCONFIG_LIST="configs/sandbox_defconfig"
is contained in .config of every target board, which some people
think is odd. So, let's remove it.Signed-off-by: Masahiro Yamada
Cc: Michal Simek
Acked-by: Michal Simek
30 Jul, 2014
1 commit
-
This commit adds more Kconfig files, which were written by hand.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass