04 Dec, 2018
1 commit
-
Secure storage is ready in trusty so we should read/write the rollback
index from rpmb.
But for borads without rpmb key, read/write the rpmb will fail and will
block the following avb verify process. In this case, check if the rpmb
key has been set and always return AVB_IO_RESULT_OK for the boards without
rpmb key.Test: build and boot pass on imx8qm_mek.
Change-Id: I10c438e56d049ae97ebedfc446c8202642630d8b
Signed-off-by: Ji Luo
22 Aug, 2018
1 commit
-
Some redundant codes are added after cherry-picking android
related commits from imx_v2017.03, remove them in this commit.Test: build and boot pass on imx6q_sabresd.
Signed-off-by: Ji Luo
20 Aug, 2018
1 commit
-
Fix build warnings in u-boot.
Change-Id: I1944657d2d89a03c0d2303a22a09538dfaa5fd2c
Signed-off-by: Luo Ji
13 Jun, 2018
3 commits
-
Use trusty_os_init to load Trusty OS from CONFIG_TRUSTY_OS_ENTRY
before u-boot ready.Signed-off-by: Ye Li
Signed-off-by: Haoran.Wang -
Porting the FSL android fastboot features from imx u-boot v2017.03 to
support all SoCs: imx6/imx7/imx7ulp/imx8/imx8mSigned-off-by: Ye Li
-
Porting the android AVB lib from imx u-boot v2017.03
Signed-off-by: Ye Li
14 Feb, 2018
1 commit
-
Signed-off-by: Simon Goldschmidt
28 Jan, 2018
1 commit
-
Fix some style violations in the board_r file.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
20 Jan, 2018
1 commit
-
initr_mem() is already enclosed by
#if defined(CONFIG_PRAM)
#endifSo there is no need to check CONFIG_PRAM again inside the
function.Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
12 Jan, 2018
1 commit
-
Support common commands bdinfo and image format,
also modify common generic flow for RISC-V.Signed-off-by: Rick Chen
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Tom Rini
08 Dec, 2017
2 commits
-
Set up logging both before and after relocation.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
This does not appear to be used by any boards. Before introducing a new
log system, remove this old one.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
16 Oct, 2017
1 commit
-
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Signed-off-by: Tuomas Tynkkynen
16 Aug, 2017
4 commits
-
Rename this function for consistency with env_get().
Signed-off-by: Simon Glass
-
We are now using an env_ prefix for environment functions. Rename these
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
We are now using an env_ prefix for environment functions. Rename these
commonly used functions, for consistency. Also add function comments in
common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass -
We are now using an env_ prefix for environment functions. Rename setenv()
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
27 Jul, 2017
1 commit
-
Some platforms have very limited SRAM to run SPL code, so there may
not be the same amount space for a malloc pool before relocation in
the SPL stage as the normal U-Boot stage.Make SPL and (the full) U-Boot stage use independent SYS_MALLOC_F_LEN,
so the size of pre-relocation malloc pool can be configured memory
space independently.Signed-off-by: Andy Yan
Reviewed-by: Tom Rini
Acked-by: Philipp Tomsich
Reviewed-by: Philipp Tomsich
[fixed up commit-message:]
Signed-off-by: Philipp Tomsich
12 Jul, 2017
1 commit
-
At present the U-Boot banner is only displayed on the serial console. If
this is not visible to the user, the banner does not show. Some devices
have a video display which can usefully display this information.Add a banner which is printed after relocation only on non-serial devices
if CONFIG_DISPLAY_BOARDINFO_LATE is defined.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Tested-by: Bin Meng
Tested-by: Stephen Warren
07 Jul, 2017
1 commit
-
AVR32 is gone. It's already more than two years for no support in Buildroot,
even longer there is no support in GCC (last version is heavily patched 4.2.4).Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully).
There is no good point to keep this support in U-Boot either.
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher
Signed-off-by: Andy Shevchenko
12 Jun, 2017
1 commit
-
There was for long time no activity in the 8xx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in 8xx,
so remove it (with a heavy heart, knowing that I remove
here the root of U-Boot).Signed-off-by: Heiko Schocher
06 Jun, 2017
3 commits
-
This time is interesting as a comparision with the flat device tree time.
Add it to the record.Signed-off-by: Simon Glass
-
Driver model is set up ones before relocation and once after. Record the
time taken in each case.Signed-off-by: Simon Glass
-
At present we don't allow use of bootstage before driver model is running.
This means we cannot time the init of driver model itself.Now that bootstage requires its own board-specific timer, we can move its
init to earlier in the sequence, both before and after relocation.Signed-off-by: Simon Glass
05 Jun, 2017
1 commit
-
Put this in its own header instead of using common.h.
Signed-off-by: Simon Glass
01 Jun, 2017
1 commit
-
If enabled, build a live device tree after relocation. This can then be
used by driver model.Signed-off-by: Simon Glass
23 May, 2017
1 commit
-
At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate
CONFIG_IDE option so that IDE support can be enabled without requiring
the 'ide' command.Update existing users and move the ide driver into drivers/block since
it should not be in common/.Signed-off-by: Simon Glass
16 May, 2017
1 commit
-
- Add #undef CONFIG_DM_MMC_OPS to omap3_logic in the SPL build case, to
match other TI platforms in the same situation.Signed-off-by: Tom Rini
15 May, 2017
2 commits
-
Now CONFIG_GENERIC_MMC and CONFIG_MMC match for all defconfig.
We do not need two options for the same feature. Deprecate the
former.This commit was generated with the sed script 's/GENERIC_MMC/MMC/'
and manual fixup of drivers/mmc/Kconfig.Signed-off-by: Masahiro Yamada
-
This option is not used in U-Boot. Drop it.
Signed-off-by: Simon Glass
06 Apr, 2017
2 commits
-
This header file is used by two archs. It could be used by all of them
since it allows the cache to be on during relocation. Move it into a
generic file.Signed-off-by: Simon Glass
-
The SPARC architecture is currently unmaintained, remove.
Cc: Francois Retief
Signed-off-by: Tom Rini
29 Mar, 2017
1 commit
-
Add nand_size() function to move the nand size print into initr_nand().
Remove nand size print from nand_init() to allow other function to call
nand_init() without printing nand size.Signed-off-by: Hou Zhiqiang
Reviewed-by: York Sun
13 Feb, 2017
1 commit
-
We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
not completed. Finish this work by the tool.During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
make the code more readable. Besides, negative meaning symbols do
not fit in obj-$(CONFIG_...) style Makefiles.This commit was created as follows:
[1] Edit "default n" to "default y" in the config entry in
common/Kconfig.[2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
[3] Rename the instances in defconfigs by the following:
find . -path './configs/*_defconfig' | xargs sed -i \
-e '/CONFIG_SYS_NO_FLASH=y/d' \
-e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'[4] Change the conditionals by the following:
find . -name '*.[ch]' | xargs sed -i \
-e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
-e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
-e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
-e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'[5] Modify the following manually
- Rename the rest of instances
- Remove the description from README
- Create the new Kconfig entry in drivers/mtd/Kconfig
- Remove the old Kconfig entry from common/Kconfig
- Remove the garbage comments from include/configs/*.hSigned-off-by: Masahiro Yamada
06 Feb, 2017
2 commits
-
Since 'gd' is just a normal variable on 64-bit x86, it is relocated by the
time we get to board_init_r(). The old 'gd' variable is passed in as
parameter to board_init_r(), presumably for this situation.Assign it on 64-bit x86 so that gd points to the correct data.
Options to improve this:
- Make gd a fixed register and remove the board_init_r() parameter
- Make all archs use this board_init_r() parameterThe second has a TODO in the code. The first has a TODO in a future commit
('x86: Support global_data on x86_64')Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
These tables should be declared static const. Unfortunately the table in
board_r is updated on machines with manual relocation.Update them.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
26 Jan, 2017
2 commits
-
This is not used in U-Boot, and the only usage calls a non-existent
function. Drop it.Signed-off-by: Simon Glass
-
This is not used in U-Boot. Drop this option and associated dead code.
Signed-off-by: Simon Glass
22 Jan, 2017
1 commit
-
Move all of the status LED feature to drivers/led/Kconfig.
The LED status definitions were moved from the board configuration
files to the defconfig files.TBD: Move all of the definitions in the include/status_led.h to the
relevant board's defconfig files.Tested boards: CL-SOM-AM57x, CM-T335
Signed-off-by: Uri Mashiach
20 Dec, 2016
1 commit
-
All sata based drivers are bind and corresponding block
device is created. Based on this find_scsi_device() is able
to get back block device based on scsi_curr_dev pointer.intr_scsi() is commented now but it can be replaced by calling
find_scsi_device() and scsi_scan().scsi_dev_desc[] is commented out but common/scsi.c heavily depends on
it. That's why CONFIG_SYS_SCSI_MAX_DEVICE is hardcoded to 1 and symbol
is reassigned to a block description allocated by uclass.
There is only one block description by device now but it doesn't need to
be correct when more devices are present.scsi_bind() ensures corresponding block device creation.
uclass post_probe (scsi_post_probe()) is doing low level init.SCSI/SATA DM based drivers requires to have 64bit base address as
the first entry in platform data structure to setup mmio_base.Signed-off-by: Michal Simek
Reviewed-by: Simon Glass