| 3251364c | 19-Mar-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: support rk file system for optee v2
uboot can secure store data to nand or emmc "security" partition for optee v2
Change-Id: I85abbfb3970a2fa3f46f540d3f16dfc7ca605317 Signed-off-
lib: optee_client: support rk file system for optee v2
uboot can secure store data to nand or emmc "security" partition for optee v2
Change-Id: I85abbfb3970a2fa3f46f540d3f16dfc7ca605317 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 8e407a7f | 07-Mar-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: fix compare bug in keymaster TA
uboot send data and data length to keymaster TA, keymaster TA secure store the data, and read temp data from secure store, compare data and temp da
lib: optee_client: fix compare bug in keymaster TA
uboot send data and data length to keymaster TA, keymaster TA secure store the data, and read temp data from secure store, compare data and temp data, but the compare length use temp data length is wrong, fix the bug to use data length.
Change-Id: I900a7ab1b1e95ca844dfb7327c34c793cf635278 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 82e713e1 | 07-Mar-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: support set_key_version
the lib avb use this function to set key version
Change-Id: Id0903b3326a0d6a0eadebd1ce23a19f92102908c Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| e37b3ef4 | 06-Mar-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: update keymaster TA
uboot read date return error when file not exit, do not to create new file.
Change-Id: Ic4cbc631b9e75dc345759d6d0dbcc86250245511 Signed-off-by: Hisping Lin <h
lib: optee_client: update keymaster TA
uboot read date return error when file not exit, do not to create new file.
Change-Id: Ic4cbc631b9e75dc345759d6d0dbcc86250245511 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| d7407b11 | 26-Feb-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: move CONFIG_OPTEE_V1/V2 define
move CONFIG_OPTEE_V1/V2 to lib/optee_clientApi/Kconfig
Change-Id: I446454547a186a27110aa95183264154fc538de9 Signed-off-by: Hisping Lin <hisping.lin
lib: optee_client: move CONFIG_OPTEE_V1/V2 define
move CONFIG_OPTEE_V1/V2 to lib/optee_clientApi/Kconfig
Change-Id: I446454547a186a27110aa95183264154fc538de9 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| da980a52 | 05-Mar-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: initialize temp_flag before next used
Change-Id: Icbc570fdb1cd1f8ff30309f5776421ee6c4a086b Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 90ed034f | 25-Feb-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: change the return value if the item is not found
Change-Id: Ie6d29a59323789c594b4c6e9167c3bbe58e25e9f Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 76c40fa6 | 24-Feb-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: fix compile error in arm64
Change-Id: I7be9c7bab1721500c70cacb1774b579d2939436a Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| ba8f56d9 | 25-Feb-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: remove printf log
Change-Id: Ie0b41b309544e36c7c39863339bf5888e0683dcb Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 1f25ada2 | 23-Feb-2018 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: support new optee message
Change-Id: I83e8da2252f1fef6dff7d388d12e6fb7972cf79e Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| 99ff1ad0 | 29-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: fix compile warning
Change-Id: I0cdddc0da44a839371fd8b6d6402053e505976fd Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 187a5bc5 | 29-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: declare some functions externally
1. extern load_metadata 2. extern save_metadata_if_changed
Change-Id: I3afe604c39a5f7cf31a0a28d7cc939da51295c10 Signed-off-by: Jason Zhu <jason.zhu@rock-
lib: avb: declare some functions externally
1. extern load_metadata 2. extern save_metadata_if_changed
Change-Id: I3afe604c39a5f7cf31a0a28d7cc939da51295c10 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 459bc933 | 26-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: get the dev_desc by function rockchip_get_bootdev
Change-Id: I62211b54b0efc11e232d9473a9f566c9fa82b3d8 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 37a7bc39 | 26-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is cf8c56208d2d9643804a7f123b196c7ebc9af276.
Change-Id: I5a10a8a45d3e9e2c9d20d9b3d
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is cf8c56208d2d9643804a7f123b196c7ebc9af276.
Change-Id: I5a10a8a45d3e9e2c9d20d9b3d44946073c9a49ff Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| d2e8ba4e | 07-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
Revert "rockchip: add support to load and use kernel dtb"
This reverts commit af586a3812f626a0f7ff0aded53414ac6c08b15c.
Change-Id: Ie1f8012b89ac810e3bc6219459127bc9ee88c674 Signed-off-by: Kever Yan
Revert "rockchip: add support to load and use kernel dtb"
This reverts commit af586a3812f626a0f7ff0aded53414ac6c08b15c.
Change-Id: Ie1f8012b89ac810e3bc6219459127bc9ee88c674 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| af586a38 | 24-Jan-2018 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: add support to load and use kernel dtb
We are going to use a tiny dtb(with 'u-boot,dm-pre-reloc') in pre-relocate, and then read kernel dtb and use it after relocate. This feature only wor
rockchip: add support to load and use kernel dtb
We are going to use a tiny dtb(with 'u-boot,dm-pre-reloc') in pre-relocate, and then read kernel dtb and use it after relocate. This feature only works with CONFIG_OF_LIVE enabled now.
Change-Id: I429ccd90ef562a96f2f7916255e7e427ce8f451d Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| 6222c401 | 21-Nov-2017 |
Goldschmidt Simon <sgoldschmidt@de.pepperl-fuchs.com> |
spl: make CONFIG_OF_EMBED pass dts through fdtgrep
Building spl with CONFIG_OF_EMBED enabled results in an error message on my board: "SPL image too big". This is because the fdtgrep build step is o
spl: make CONFIG_OF_EMBED pass dts through fdtgrep
Building spl with CONFIG_OF_EMBED enabled results in an error message on my board: "SPL image too big". This is because the fdtgrep build step is only executed for CONFIG_OF_SEPARATE.
Fix this by moving the fdtgrep build step ('cmd_fdtgreo') from scripts/Makefile.spl to dts/Makefile so that the reduced dtb is available for all kinds of spl builds.
The resulting variable name for the embedded device tree blob changes, too, which is why common.h and fdtdec.c have tiny changes.
Change-Id: I2bf2d9780a544ac602752527d17f14aa6b12c5a2 Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| 0e13c182 | 04-Dec-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Move CONFIG_PANIC_HANG to Kconfig
Freescale (NXP) boards have lots of defconfig files per board. I used "imply PANIC_HANG" for them.
Change-Id: I56347810ee33ccd8bb3553b0ee95b858e827ce9b Signed-off-
Move CONFIG_PANIC_HANG to Kconfig
Freescale (NXP) boards have lots of defconfig files per board. I used "imply PANIC_HANG" for them.
Change-Id: I56347810ee33ccd8bb3553b0ee95b858e827ce9b Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: York Sun <york.sun@nxp.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 7e3caa81e0e9cc5e2beed4a3a1c334e2119f4498)
show more ...
|
| 70b70db6 | 27-Nov-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: libfdt: migrate fdt_wip.c to a wrapper of scripts/dtc/libfdt/fdt_wip.c
Now, lib/libfdt/fdt_wip.c is the same as scripts/dtc/libfdt/fdt_wip.c
Change the former to a wrapper of the latter.
UPSTREAM: libfdt: migrate fdt_wip.c to a wrapper of scripts/dtc/libfdt/fdt_wip.c
Now, lib/libfdt/fdt_wip.c is the same as scripts/dtc/libfdt/fdt_wip.c
Change the former to a wrapper of the latter.
Change-Id: Ifce4c63db38146297c14218ef94d226bf6e3bb27 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 26e961c8cfdff00c5c9389d301d9a2eb10eb844c)
show more ...
|
| e1c37281 | 27-Nov-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: libfdt: move fdt_find_regions() to fdt_region.c from fdt_wip.c
All the other fdt_*_region() functions are located in fdt_region.c, while only fdt_find_regions() was added to fdt_wip.c, str
UPSTREAM: libfdt: move fdt_find_regions() to fdt_region.c from fdt_wip.c
All the other fdt_*_region() functions are located in fdt_region.c, while only fdt_find_regions() was added to fdt_wip.c, strangely.
Move it to the suitable place.
Change-Id: I463419815b4132b6e39b5b02a857126201a854fb Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 87be1e9fb4dcc130e90d497cc5ce49c715efc6c2)
show more ...
|
| acda6ec1 | 27-Nov-2017 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: fdtdec: Support parsing multiple /memory nodes
It is legal to have multiple /memory nodes in a device tree . Currently, fdtdec_setup_memory_size() only supports parsing the first node . Th
UPSTREAM: fdtdec: Support parsing multiple /memory nodes
It is legal to have multiple /memory nodes in a device tree . Currently, fdtdec_setup_memory_size() only supports parsing the first node . This patch extends the function such that if a particular /memory node does no longer have further "reg" entries and CONFIG_NR_DRAM_BANKS still allows for more DRAM banks, the code moves on to the next memory node and checks it's "reg"s. This makes it possible to handle both systems with single memory node with multiple entries and systems with multiple memory nodes with single entry.
Change-Id: Idc8b4bebc916b6a6bc0d2deb3c4008921d268d1e Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 942ee0933e881ff500aae7e42309bf6abbc495d4)
show more ...
|
| 5d099091 | 17-Oct-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: lib: libfdt: wrap scripts/dtc/libfdt/* where possible
lib/libfdt/ and scripts/dtc/libfdt have the same copies for the followings 6 files: fdt.c fdt_addresses.c fdt_empty_tree.c fdt_overl
UPSTREAM: lib: libfdt: wrap scripts/dtc/libfdt/* where possible
lib/libfdt/ and scripts/dtc/libfdt have the same copies for the followings 6 files: fdt.c fdt_addresses.c fdt_empty_tree.c fdt_overlay.c fdt_strerr.c fdt_sw.c
Make them a wrapper of scripts/dtc/libfdt/*. This is exactly what Linux does to sync libfdt. In order to make is possible, import <linux/libfdt.h> and <linux/libfdt_env.h> from Linux 4.14-rc5.
Unfortunately, U-Boot locally modified the following 3 files: fdt_ro.c fdt_wip.c fdt_rw.c
The fdt_region.c is U-Boot own file.
I did not touch them in order to avoid unpredictable impact.
Change-Id: I154855ba51291bf56775714c0066247431d66244 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 50a327ded68b7e675389ad284ea3f8c62e683bda)
show more ...
|
| b63953bc | 17-Oct-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: libfdt: change libfdt_internal.h to a wrapper of scripts/dtc/libfdt/*
Fortunately, U-Boot did not modify libfdt_internal.h locally.
Change it to a wrapper of scripts/dtc/libfdt/fdt.h, whi
UPSTREAM: libfdt: change libfdt_internal.h to a wrapper of scripts/dtc/libfdt/*
Fortunately, U-Boot did not modify libfdt_internal.h locally.
Change it to a wrapper of scripts/dtc/libfdt/fdt.h, which will be periodically synced with the upstream DTC (or kernel).
Change-Id: Ia9e6f3ca1f19a3cfe9f85b02ae792e85cf81798e Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 35a33baea59210924bceedabcfba794f0fed59dd)
show more ...
|
| 81a2b0de | 17-Oct-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: libfdt: change fdt.h to a wrapper of scripts/dtc/libfdt/*
Fortunately, U-Boot did not modify fdt.h locally.
Change it to a wrapper of scripts/dtc/libfdt/fdt.h, which will be periodically
UPSTREAM: libfdt: change fdt.h to a wrapper of scripts/dtc/libfdt/*
Fortunately, U-Boot did not modify fdt.h locally.
Change it to a wrapper of scripts/dtc/libfdt/fdt.h, which will be periodically synced with the upstream DTC (or kernel).
Change-Id: I3a40cb81ecacf189af3f04fe0b599628f70f81f9 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 9e65b01ac57f7be2bbc17c9f4c0ee43fab22221e)
show more ...
|
| 81536652 | 17-Oct-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile
The pylibfdt is used by dtoc (and, indirectly by binman), but there is no reason why it must be generated in the tools
UPSTREAM: pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile
The pylibfdt is used by dtoc (and, indirectly by binman), but there is no reason why it must be generated in the tools/ directory.
Recently, U-Boot switched over to the bundled DTC, and the directory structure under scripts/dtc/ now mirrors the upstream DTC project. So, scripts/dtc/pylibfdt is the best location.
I also rewrote the Makefile in a cleaner Kbuild style.
The scripts from the upstream have been moved as follows:
lib/libfdt/pylibfdt/setup.py -> scripts/dtc/pylibfdt/setup.py lib/libfdt/pylibfdt/libfdt.i -> scripts/dtc/pylibfdt/libfdt.i_shipped
The .i_shipped is coped to .i during building because the .i must be located in the objtree when we build it out of tree.
Change-Id: I48233cbae93794809397b7160234469f66fa11dc Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 15b97f5c5e6d88e0560c6928f3acd01c999a494d)
show more ...
|