Compare commits
21 Commits
cherry-ccd
...
cherry-b84
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05fd9df66b | ||
|
|
7a2f6c9624 | ||
|
|
1b6ba514cc | ||
|
|
499a8a4c9e | ||
|
|
35f4d47308 | ||
|
|
ca54247bde | ||
|
|
4bbc6bcec6 | ||
|
|
0be253f8f3 | ||
|
|
7dbf194da3 | ||
|
|
18a9724ffe | ||
|
|
aaa56cec52 | ||
|
|
25bd80a657 | ||
|
|
b7b3e00be7 | ||
|
|
66f91ae44e | ||
|
|
5fb6a6e054 | ||
|
|
8934540978 | ||
|
|
4a99a84173 | ||
|
|
b93fdb389e | ||
|
|
d3f2f8a772 | ||
|
|
d81cc609d9 | ||
|
|
0bfa4a3980 |
183
.pickman-history
183
.pickman-history
@@ -452,90 +452,163 @@ The branch is ready for pushing.
|
|||||||
|
|
||||||
## 2025-12-17: us/next
|
## 2025-12-17: us/next
|
||||||
|
|
||||||
Branch: cherry-ccddb0abec3
|
Branch: cherry-ef9574da96f
|
||||||
|
|
||||||
Commits:
|
Commits:
|
||||||
- ccddb0abec3 power: regulator: replace some debug() by dev_dbg()
|
- ef9574da96f configs: Resync with savedefconfig
|
||||||
- 74cd1af1124 power: regulator: replace dev_dbg() by dev_err() in regulator_post_bind()
|
- 1a48b0be93d lmb: prohibit allocations above ram_top even from same bank
|
||||||
- 448add55297 Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-pmic
|
- 1ac28383502 rtc: CONFIGS_RTC_PL031 must depend on CONFIGS_DM_RTC
|
||||||
|
- c7401fc1d99 net: disable MBEDTLS in SPL
|
||||||
|
- 1f40dbad60d arm: qemu: fix update_info declaration
|
||||||
|
- 45f05f68122 mbedtls: remove MBEDTLS_HAVE_TIME
|
||||||
|
- 9a699a0a0d6 clk: rzg2l: Ignore enable for core clocks
|
||||||
|
- 2b1a5efca88 net: ravb: Simplify max-speed handling in ravb_of_to_plat
|
||||||
|
- 215663f5e47 pinctrl: rzg2l: Support 2.5V PVDD for Ethernet interfaces
|
||||||
|
- bba516a7728 pinctrl: rzg2l: Support Ethernet TXC output enable
|
||||||
|
- 3a735cff5f2 pinctrl: rzg2l: Drop unnecessary scope
|
||||||
|
- 455e66bc598 arm64: renesas: Disable AVB1 and AVB2 on R8A779G0 V4H White Hawk board
|
||||||
|
- 497353969e3 Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
|
||||||
|
|
||||||
### Conversation log
|
### Conversation log
|
||||||
The repository is clean (untracked files don't affect cherry-picking). Let me proceed with creating the new branch and cherry-picking.
|
The repository is clean (only untracked files, which won't interfere). Now I'll create and checkout the new branch based on ci/master.
|
||||||
|
|
||||||
Now let me cherry-pick the first commit:
|
Now I'll cherry-pick each commit in order. Let me start with the first one:
|
||||||
|
|
||||||
There's a conflict. Let me examine it:
|
There are conflicts. Let me examine them to see if they can be auto-resolved:
|
||||||
|
|
||||||
This is a complex conflict. The incoming commit changes the code structure and uses `dev_dbg()`, but the HEAD version has refactored the logic. Let me look at both versions more carefully:
|
I can see the conflicts are related to the transition from `$(XPL_)` to `$(PHASE_)` macro naming convention in the base branch and some additional code reorganization. The incoming commit uses the older `$(XPL_)` syntax while the target branch uses `$(PHASE_)`. I need to resolve these by taking the intent of the incoming change (disabling MBEDTLS in SPL) but using the newer `$(PHASE_)` syntax.
|
||||||
|
|
||||||
I can see the conflict clearly now. The HEAD version (ci/master) has refactored the logic to:
|
Let me resolve these conflicts:
|
||||||
- `if (regulator_name_is_unique(dev, uc_pdata->name)) return 0;`
|
|
||||||
- Then `debug(...)` followed by `return -EINVAL;`
|
|
||||||
|
|
||||||
The incoming commit wants to change that debug() to dev_dbg() and restructure the logic slightly.
|
Good, the ci/master version already doesn't have sha256_csum_wd in sha256.c - so I should keep the HEAD version (without the incoming changes that add the function back). Let me check where sha256_csum_wd is defined in ci/master:
|
||||||
|
|
||||||
The correct resolution should:
|
So `sha256_csum_wd` already exists in `sha256_common.c` in ci/master. The incoming commit is trying to add it to `sha256.c` but it's already in the proper place. I should keep the HEAD version of `sha256.c` (without the function):
|
||||||
1. Keep the HEAD's logic structure (use early return for unique case)
|
|
||||||
2. But apply the change from debug() to dev_dbg() for the non-unique case
|
|
||||||
|
|
||||||
Let me resolve this:
|
Now I need to amend this commit to note the conflict resolution:
|
||||||
|
|
||||||
First commit cherry-picked with conflict resolution. Now I need to amend the commit to note the fix-up. Let me do that:
|
Now let me continue with the remaining commits:
|
||||||
|
|
||||||
Now let's cherry-pick the second commit:
|
The cherry-pick is empty - likely this change was already applied. Let me commit it empty to preserve the history:
|
||||||
|
|
||||||
Another conflict. Let me check it:
|
All 13 commits have been cherry-picked. Let me verify with git log:
|
||||||
|
|
||||||
This is the same pattern - the second commit changes `dev_dbg()` to `dev_err()`. I need to apply this change while keeping our structure:
|
All 13 commits are present. Now let me run the build verification:
|
||||||
|
|
||||||
Now let me amend this commit to note the fix-up:
|
The build succeeded with no warnings or errors. Let me provide the final status:
|
||||||
|
|
||||||
Now let's cherry-pick the third commit (the merge commit):
|
## Summary
|
||||||
|
|
||||||
Conflict in the merge commit too. Let me examine it:
|
### Cherry-pick Status: ✅ Complete
|
||||||
|
|
||||||
The merge commit is trying to apply the same changes, but we've already applied them. Since HEAD already has `dev_err()` and the right structure, this should result in keeping our current code:
|
All 13 commits were successfully cherry-picked from `us/next` to branch `cherry-ef9574da96f` (based on `ci/master`):
|
||||||
|
|
||||||
The merge commit is now empty because all the changes were already applied. As instructed, we need to keep the merge commit, so I'll commit it as empty:
|
|
||||||
|
|
||||||
All 3 commits cherry-picked. Now let me verify with git log:
|
|
||||||
|
|
||||||
All 3 commits are present. Now let me run the build verification:
|
|
||||||
|
|
||||||
The build completed successfully. Let me check for any warnings or errors:
|
|
||||||
|
|
||||||
The build log is empty (no warnings or errors). The build succeeded. Let me provide a final summary:
|
|
||||||
|
|
||||||
## Cherry-Pick Summary
|
|
||||||
|
|
||||||
### Commits Cherry-Picked Successfully (3/3):
|
|
||||||
|
|
||||||
| # | Hash | Subject | Status |
|
| # | Hash | Subject | Status |
|
||||||
|---|------|---------|--------|
|
|---|------|---------|--------|
|
||||||
| 1 | ccddb0abec3 | power: regulator: replace some debug() by dev_dbg() | ✅ Conflict resolved |
|
| 1 | ef9574da96f | configs: Resync with savedefconfig | ✅ |
|
||||||
| 2 | 74cd1af1124 | power: regulator: replace dev_dbg() by dev_err() in regulator_post_bind() | ✅ Conflict resolved |
|
| 2 | 1a48b0be93d | lmb: prohibit allocations above ram_top even from same bank | ✅ |
|
||||||
| 3 | 448add55297 | Merge branch 'master' of .../u-boot-pmic | ✅ Empty (changes already applied) |
|
| 3 | 1ac28383502 | rtc: CONFIGS_RTC_PL031 must depend on CONFIGS_DM_RTC | ✅ |
|
||||||
|
| 4 | c7401fc1d99 | net: disable MBEDTLS in SPL | ✅ (conflict resolved) |
|
||||||
|
| 5 | 1f40dbad60d | arm: qemu: fix update_info declaration | ✅ |
|
||||||
|
| 6 | 45f05f68122 | mbedtls: remove MBEDTLS_HAVE_TIME | ✅ (empty - already present) |
|
||||||
|
| 7 | 9a699a0a0d6 | clk: rzg2l: Ignore enable for core clocks | ✅ |
|
||||||
|
| 8 | 2b1a5efca88 | net: ravb: Simplify max-speed handling in ravb_of_to_plat | ✅ |
|
||||||
|
| 9 | 215663f5e47 | pinctrl: rzg2l: Support 2.5V PVDD for Ethernet interfaces | ✅ |
|
||||||
|
| 10 | bba516a7728 | pinctrl: rzg2l: Support Ethernet TXC output enable | ✅ |
|
||||||
|
| 11 | 3a735cff5f2 | pinctrl: rzg2l: Drop unnecessary scope | ✅ |
|
||||||
|
| 12 | 455e66bc598 | arm64: renesas: Disable AVB1 and AVB2 on R8A779G0 V4H White Hawk board | ✅ |
|
||||||
|
| 13 | 497353969e3 | Merge branch 'master' of u-boot-sh | ✅ (empty - already present) |
|
||||||
|
|
||||||
### Fix-ups Made:
|
### Fix-ups Made:
|
||||||
|
|
||||||
1. **Commit 1 (ccddb0abec3)**: Resolved conflict - kept ci/master's early-return logic structure (`if (regulator_name_is_unique(...)) return 0;`) while applying the `debug()` → `dev_dbg()` change.
|
1. **c7401fc1d99 (net: disable MBEDTLS in SPL)**: Resolved conflicts in 5 files:
|
||||||
|
- `include/u-boot/sha1.h`: Kept `mbedtls_options.h` include instead of inline `MBEDTLS_ALLOW_PRIVATE_ACCESS` define
|
||||||
|
- `include/u-boot/sha256.h`: Kept `mbedtls_options.h` include and additional headers from HEAD
|
||||||
|
- `lib/Makefile`: Kept `$(PHASE_)` macro syntax instead of `$(XPL_)`
|
||||||
|
- `lib/lwip/Makefile`: Kept `$(PHASE_)` macro syntax instead of `$(XPL_)`
|
||||||
|
- `lib/sha256.c`: Kept HEAD version (sha256_csum_wd already exists in sha256_common.c)
|
||||||
|
|
||||||
2. **Commit 2 (74cd1af1124)**: Resolved conflict - same pattern, kept ci/master's early-return logic structure while applying the `dev_dbg()` → `dev_err()` change.
|
2. **45f05f68122 (mbedtls: remove MBEDTLS_HAVE_TIME)**: Empty commit - changes already present in base
|
||||||
|
|
||||||
3. **Commit 3 (448add55297)**: Merge commit resulted in empty commit because all underlying changes were already applied in commits 1 and 2. Preserved with `--allow-empty` as instructed.
|
3. **497353969e3 (Merge commit)**: Empty commit - merge changes already present in base
|
||||||
|
|
||||||
### Build Result:
|
### Build Result: ✅ OK
|
||||||
- **Status**: ✅ OK
|
- `buildman -L --board sandbox -w -o /tmp/pickman` completed successfully with no warnings or errors
|
||||||
- **Warnings/Errors**: None
|
|
||||||
|
|
||||||
### Final State:
|
### Branch Ready for Push:
|
||||||
```
|
- Branch: `cherry-ef9574da96f`
|
||||||
040ca6a7c54 Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-pmic
|
- Based on: `ci/master`
|
||||||
872be1014be power: regulator: replace dev_dbg() by dev_err() in regulator_post_bind()
|
- 13 commits ahead of `ci/master`
|
||||||
505b21718ab power: regulator: replace some debug() by dev_dbg()
|
|
||||||
```
|
---
|
||||||
|
|
||||||
Branch `cherry-ccddb0abec3` is ready for pushing.
|
## 2025-12-17: us/next
|
||||||
|
|
||||||
|
Branch: cherry-b841e559cd2
|
||||||
|
|
||||||
|
Commits:
|
||||||
|
- b841e559cd2 Prepare v2025.01-rc4
|
||||||
|
- 28a620d2815 board: rpi: Pass CMA through from firmware DT
|
||||||
|
- 6a5fc32fd20 board: rpi: Enable capsule updates
|
||||||
|
- 26512629fb3 Merge tag 'rpi-2025.01-rc5' of https://source.denx.de/u-boot/custodians/u-boot-raspberrypi
|
||||||
|
|
||||||
|
### Conversation log
|
||||||
|
The repository is clean. Now let me create and checkout the new branch based on ci/master:
|
||||||
|
|
||||||
|
Now let me cherry-pick the first commit:
|
||||||
|
|
||||||
|
There's a conflict in the Makefile. Let me examine it:
|
||||||
|
|
||||||
|
This is a simple version conflict. The base branch has PATCHLEVEL = 12 (newer version) and the cherry-picked commit is trying to set EXTRAVERSION = -rc4 for an older release. Let me resolve this by keeping the current base PATCHLEVEL (12) and adding the EXTRAVERSION from the cherry-picked commit:
|
||||||
|
|
||||||
|
Let me resolve this conflict. Since we're cherry-picking to add the -rc4 release tag functionality, I'll take the EXTRAVERSION = -rc4 from the incoming commit:
|
||||||
|
|
||||||
|
Now let me resolve the conflict by taking the EXTRAVERSION = -rc4 from the incoming commit:
|
||||||
|
|
||||||
|
There's a duplicate NAME = line. Let me fix that:
|
||||||
|
|
||||||
|
Now let me add the file and continue the cherry-pick:
|
||||||
|
|
||||||
|
Now let me amend the commit to note the fix-up:
|
||||||
|
|
||||||
|
Now let me cherry-pick the second commit:
|
||||||
|
|
||||||
|
Now the third commit:
|
||||||
|
|
||||||
|
Now let me check if the fourth commit is a merge commit:
|
||||||
|
|
||||||
|
Yes, this is a merge commit. Let me use the correct options:
|
||||||
|
|
||||||
|
The merge commit is empty (as expected since we already have the changes from the individual commits). Let me commit it as an empty commit to preserve the merge history:
|
||||||
|
|
||||||
|
All cherry-picks are done. Let me verify with git log:
|
||||||
|
|
||||||
|
All 4 commits are present. Now let me run the build to verify:
|
||||||
|
|
||||||
|
Build completed successfully. Let me provide the final status:
|
||||||
|
|
||||||
|
## Final Status
|
||||||
|
|
||||||
|
### Cherry-pick Results
|
||||||
|
All 4 commits successfully cherry-picked from `us/next` branch to new branch `cherry-b841e559cd2`:
|
||||||
|
|
||||||
|
| Commit | Subject | Status |
|
||||||
|
|--------|---------|--------|
|
||||||
|
| b841e559cd2 | Prepare v2025.01-rc4 | ✅ (conflict resolved) |
|
||||||
|
| 28a620d2815 | board: rpi: Pass CMA through from firmware DT | ✅ |
|
||||||
|
| 6a5fc32fd20 | board: rpi: Enable capsule updates | ✅ |
|
||||||
|
| 26512629fb3 | Merge tag 'rpi-2025.01-rc5' | ✅ (empty merge commit preserved) |
|
||||||
|
|
||||||
|
### Fix-ups Made
|
||||||
|
1. **Makefile conflict** in commit `b841e559cd2`:
|
||||||
|
- Conflict: PATCHLEVEL was 01 in original commit, but base branch has PATCHLEVEL=12
|
||||||
|
- Resolution: Kept PATCHLEVEL=12, applied EXTRAVERSION=-rc4
|
||||||
|
- Note added to commit message
|
||||||
|
|
||||||
|
### Build Result
|
||||||
|
✅ **OK** - Build completed successfully for sandbox board with no warnings or errors.
|
||||||
|
|
||||||
|
### Branch Status
|
||||||
|
The branch `cherry-b841e559cd2` is ready for pushing with 4 new commits ahead of `ci/master`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,14 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&avb1 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
&avb2 {
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
&rpc {
|
&rpc {
|
||||||
flash@0 {
|
flash@0 {
|
||||||
spi-tx-bus-width = <1>;
|
spi-tx-bus-width = <1>;
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ config VEXPRESS64_BASE_MODEL
|
|||||||
select VIRTIO_BLK if VIRTIO_MMIO
|
select VIRTIO_BLK if VIRTIO_MMIO
|
||||||
select VIRTIO_NET if VIRTIO_MMIO
|
select VIRTIO_NET if VIRTIO_MMIO
|
||||||
select DM_ETH if VIRTIO_NET
|
select DM_ETH if VIRTIO_NET
|
||||||
|
imply DM_RTC
|
||||||
imply RTC_PL031
|
imply RTC_PL031
|
||||||
select DM_RTC if RTC_PL031
|
|
||||||
imply EFI_SET_TIME if DM_RTC
|
imply EFI_SET_TIME if DM_RTC
|
||||||
select LINUX_KERNEL_IMAGE_HEADER
|
select LINUX_KERNEL_IMAGE_HEADER
|
||||||
select POSITION_INDEPENDENT
|
select POSITION_INDEPENDENT
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ struct efi_fw_image fw_images[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct efi_capsule_update_info update_info = {
|
struct efi_capsule_update_info update_info = {
|
||||||
.num_images = ARRAY_SIZE(fw_images)
|
.num_images = ARRAY_SIZE(fw_images),
|
||||||
.images = fw_images,
|
.images = fw_images,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -68,6 +68,19 @@ struct msg_get_clock_rate {
|
|||||||
u32 end_tag;
|
u32 end_tag;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct efi_fw_image fw_images[] = {
|
||||||
|
{
|
||||||
|
.fw_name = u"RPI_UBOOT",
|
||||||
|
.image_index = 1,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
struct efi_capsule_update_info update_info = {
|
||||||
|
.dfu_string = "mmc 0=u-boot.bin fat 0 1",
|
||||||
|
.num_images = ARRAY_SIZE(fw_images),
|
||||||
|
.images = fw_images,
|
||||||
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_ARM64
|
#ifdef CONFIG_ARM64
|
||||||
#define DTB_DIR "broadcom/"
|
#define DTB_DIR "broadcom/"
|
||||||
#else
|
#else
|
||||||
@@ -544,12 +557,15 @@ void update_fdt_from_fw(void *fdt, void *fw_fdt)
|
|||||||
if (fdt == fw_fdt)
|
if (fdt == fw_fdt)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* The firmware provides a more precie model; so copy that */
|
/* The firmware provides a more precise model; so copy that */
|
||||||
copy_property(fdt, fw_fdt, "/", "model");
|
copy_property(fdt, fw_fdt, "/", "model");
|
||||||
|
|
||||||
/* memory reserve as suggested by the firmware */
|
/* memory reserve as suggested by the firmware */
|
||||||
copy_property(fdt, fw_fdt, "/", "memreserve");
|
copy_property(fdt, fw_fdt, "/", "memreserve");
|
||||||
|
|
||||||
|
/* copy the CMA memory setting from the firmware DT to linux */
|
||||||
|
copy_property(fdt, fw_fdt, "/reserved-memory/linux,cma", "size");
|
||||||
|
|
||||||
/* Adjust dma-ranges for the SD card and PCI bus as they can depend on
|
/* Adjust dma-ranges for the SD card and PCI bus as they can depend on
|
||||||
* the SoC revision
|
* the SoC revision
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -19,10 +19,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -19,10 +19,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -19,10 +19,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -18,10 +18,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -19,10 +19,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
|
|||||||
CONFIG_HUSH_PARSER=y
|
CONFIG_HUSH_PARSER=y
|
||||||
CONFIG_CMD_NAND=y
|
CONFIG_CMD_NAND=y
|
||||||
CONFIG_CMD_CACHE=y
|
CONFIG_CMD_CACHE=y
|
||||||
CONFIG_OF_CONTROL=y
|
|
||||||
CONFIG_OF_UPSTREAM=y
|
|
||||||
CONFIG_OF_EMBED=y
|
CONFIG_OF_EMBED=y
|
||||||
CONFIG_DM=y
|
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
|||||||
@@ -19,14 +19,19 @@ CONFIG_SYS_PBSIZE=1049
|
|||||||
# CONFIG_DISPLAY_BOARDINFO is not set
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
||||||
CONFIG_MISC_INIT_R=y
|
CONFIG_MISC_INIT_R=y
|
||||||
CONFIG_SYS_PROMPT="U-Boot> "
|
CONFIG_SYS_PROMPT="U-Boot> "
|
||||||
|
CONFIG_CMD_NVEDIT_EFI=y
|
||||||
CONFIG_CMD_GPIO=y
|
CONFIG_CMD_GPIO=y
|
||||||
CONFIG_CMD_MMC=y
|
CONFIG_CMD_MMC=y
|
||||||
CONFIG_CMD_USB=y
|
CONFIG_CMD_USB=y
|
||||||
|
CONFIG_CMD_EFIDEBUG=y
|
||||||
CONFIG_CMD_FS_UUID=y
|
CONFIG_CMD_FS_UUID=y
|
||||||
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||||
CONFIG_TFTP_TSIZE=y
|
CONFIG_TFTP_TSIZE=y
|
||||||
|
CONFIG_DFU_MMC=y
|
||||||
|
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
|
||||||
|
CONFIG_SYS_DFU_MAX_FILE_SIZE=0x200000
|
||||||
CONFIG_BCM2835_GPIO=y
|
CONFIG_BCM2835_GPIO=y
|
||||||
CONFIG_MMC_SDHCI=y
|
CONFIG_MMC_SDHCI=y
|
||||||
CONFIG_MMC_SDHCI_BCM2835=y
|
CONFIG_MMC_SDHCI_BCM2835=y
|
||||||
@@ -49,3 +54,6 @@ CONFIG_SYS_WHITE_ON_BLACK=y
|
|||||||
CONFIG_VIDEO_BCM2835=y
|
CONFIG_VIDEO_BCM2835=y
|
||||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||||
CONFIG_PHYS_TO_BUS=y
|
CONFIG_PHYS_TO_BUS=y
|
||||||
|
# CONFIG_HEXDUMP is not set
|
||||||
|
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||||
|
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||||
|
|||||||
@@ -19,14 +19,19 @@ CONFIG_SYS_PBSIZE=1049
|
|||||||
# CONFIG_DISPLAY_BOARDINFO is not set
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
||||||
CONFIG_MISC_INIT_R=y
|
CONFIG_MISC_INIT_R=y
|
||||||
CONFIG_SYS_PROMPT="U-Boot> "
|
CONFIG_SYS_PROMPT="U-Boot> "
|
||||||
|
CONFIG_CMD_NVEDIT_EFI=y
|
||||||
CONFIG_CMD_GPIO=y
|
CONFIG_CMD_GPIO=y
|
||||||
CONFIG_CMD_MMC=y
|
CONFIG_CMD_MMC=y
|
||||||
CONFIG_CMD_USB=y
|
CONFIG_CMD_USB=y
|
||||||
|
CONFIG_CMD_EFIDEBUG=y
|
||||||
CONFIG_CMD_FS_UUID=y
|
CONFIG_CMD_FS_UUID=y
|
||||||
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||||
CONFIG_TFTP_TSIZE=y
|
CONFIG_TFTP_TSIZE=y
|
||||||
|
CONFIG_DFU_MMC=y
|
||||||
|
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
|
||||||
|
CONFIG_SYS_DFU_MAX_FILE_SIZE=0x200000
|
||||||
CONFIG_BCM2835_GPIO=y
|
CONFIG_BCM2835_GPIO=y
|
||||||
CONFIG_MMC_SDHCI=y
|
CONFIG_MMC_SDHCI=y
|
||||||
CONFIG_MMC_SDHCI_BCM2835=y
|
CONFIG_MMC_SDHCI_BCM2835=y
|
||||||
@@ -49,3 +54,6 @@ CONFIG_SYS_WHITE_ON_BLACK=y
|
|||||||
CONFIG_VIDEO_BCM2835=y
|
CONFIG_VIDEO_BCM2835=y
|
||||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||||
CONFIG_PHYS_TO_BUS=y
|
CONFIG_PHYS_TO_BUS=y
|
||||||
|
# CONFIG_HEXDUMP is not set
|
||||||
|
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||||
|
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||||
|
|||||||
@@ -20,11 +20,13 @@ CONFIG_SYS_PBSIZE=1049
|
|||||||
# CONFIG_DISPLAY_BOARDINFO is not set
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
||||||
CONFIG_MISC_INIT_R=y
|
CONFIG_MISC_INIT_R=y
|
||||||
CONFIG_SYS_PROMPT="U-Boot> "
|
CONFIG_SYS_PROMPT="U-Boot> "
|
||||||
|
CONFIG_CMD_NVEDIT_EFI=y
|
||||||
CONFIG_CMD_DFU=y
|
CONFIG_CMD_DFU=y
|
||||||
CONFIG_CMD_GPIO=y
|
CONFIG_CMD_GPIO=y
|
||||||
CONFIG_CMD_MMC=y
|
CONFIG_CMD_MMC=y
|
||||||
CONFIG_CMD_PCI=y
|
CONFIG_CMD_PCI=y
|
||||||
CONFIG_CMD_USB=y
|
CONFIG_CMD_USB=y
|
||||||
|
CONFIG_CMD_EFIDEBUG=y
|
||||||
CONFIG_CMD_FS_UUID=y
|
CONFIG_CMD_FS_UUID=y
|
||||||
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
@@ -65,3 +67,6 @@ CONFIG_SYS_WHITE_ON_BLACK=y
|
|||||||
CONFIG_VIDEO_BCM2835=y
|
CONFIG_VIDEO_BCM2835=y
|
||||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||||
CONFIG_PHYS_TO_BUS=y
|
CONFIG_PHYS_TO_BUS=y
|
||||||
|
# CONFIG_HEXDUMP is not set
|
||||||
|
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||||
|
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||||
|
|||||||
@@ -18,15 +18,20 @@ CONFIG_SYS_PBSIZE=1049
|
|||||||
# CONFIG_DISPLAY_BOARDINFO is not set
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
||||||
CONFIG_MISC_INIT_R=y
|
CONFIG_MISC_INIT_R=y
|
||||||
CONFIG_SYS_PROMPT="U-Boot> "
|
CONFIG_SYS_PROMPT="U-Boot> "
|
||||||
|
CONFIG_CMD_NVEDIT_EFI=y
|
||||||
CONFIG_CMD_GPIO=y
|
CONFIG_CMD_GPIO=y
|
||||||
CONFIG_CMD_MMC=y
|
CONFIG_CMD_MMC=y
|
||||||
CONFIG_CMD_PCI=y
|
CONFIG_CMD_PCI=y
|
||||||
CONFIG_CMD_USB=y
|
CONFIG_CMD_USB=y
|
||||||
|
CONFIG_CMD_EFIDEBUG=y
|
||||||
CONFIG_CMD_FS_UUID=y
|
CONFIG_CMD_FS_UUID=y
|
||||||
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||||
CONFIG_TFTP_TSIZE=y
|
CONFIG_TFTP_TSIZE=y
|
||||||
CONFIG_DM_DMA=y
|
CONFIG_DM_DMA=y
|
||||||
|
CONFIG_DFU_MMC=y
|
||||||
|
CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
|
||||||
|
CONFIG_SYS_DFU_MAX_FILE_SIZE=0x200000
|
||||||
CONFIG_BCM2835_GPIO=y
|
CONFIG_BCM2835_GPIO=y
|
||||||
CONFIG_MMC_SDHCI=y
|
CONFIG_MMC_SDHCI=y
|
||||||
CONFIG_MMC_SDHCI_SDMA=y
|
CONFIG_MMC_SDHCI_SDMA=y
|
||||||
@@ -56,3 +61,6 @@ CONFIG_SYS_WHITE_ON_BLACK=y
|
|||||||
CONFIG_VIDEO_BCM2835=y
|
CONFIG_VIDEO_BCM2835=y
|
||||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||||
CONFIG_PHYS_TO_BUS=y
|
CONFIG_PHYS_TO_BUS=y
|
||||||
|
# CONFIG_HEXDUMP is not set
|
||||||
|
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||||
|
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ CONFIG_DISPLAY_BOARDINFO=y
|
|||||||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||||
CONFIG_ID_EEPROM=y
|
CONFIG_ID_EEPROM=y
|
||||||
CONFIG_PCI_INIT_R=y
|
CONFIG_PCI_INIT_R=y
|
||||||
CONFIG_PCI_REGION_MULTI_ENTRY=y
|
|
||||||
CONFIG_SPL_MAX_SIZE=0x100000
|
CONFIG_SPL_MAX_SIZE=0x100000
|
||||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||||
CONFIG_SPL_HAVE_INIT_STACK=y
|
CONFIG_SPL_HAVE_INIT_STACK=y
|
||||||
@@ -61,6 +60,7 @@ CONFIG_SYS_I2C_EEPROM_ADDR=0x54
|
|||||||
CONFIG_SPI_FLASH_ISSI=y
|
CONFIG_SPI_FLASH_ISSI=y
|
||||||
CONFIG_E1000=y
|
CONFIG_E1000=y
|
||||||
CONFIG_NVME_PCI=y
|
CONFIG_NVME_PCI=y
|
||||||
|
CONFIG_PCI_REGION_MULTI_ENTRY=y
|
||||||
CONFIG_PCIE_DW_SIFIVE=y
|
CONFIG_PCIE_DW_SIFIVE=y
|
||||||
CONFIG_SCSI=y
|
CONFIG_SCSI=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
|||||||
@@ -57,9 +57,6 @@ CONFIG_SPL_HAVE_INIT_STACK=y
|
|||||||
CONFIG_SPL_SYS_MALLOC=y
|
CONFIG_SPL_SYS_MALLOC=y
|
||||||
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
|
||||||
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000
|
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000
|
||||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
|
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2
|
|
||||||
CONFIG_SPL_SYS_MALLOC_SIZE=0x400000
|
CONFIG_SPL_SYS_MALLOC_SIZE=0x400000
|
||||||
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
|
||||||
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
|
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ For the next scheduled release, release candidates were made on::
|
|||||||
|
|
||||||
* U-Boot v2025.01-rc3 was released on Mon 25 November 2024.
|
* U-Boot v2025.01-rc3 was released on Mon 25 November 2024.
|
||||||
|
|
||||||
.. * U-Boot v2025.01-rc4 was released on Mon 09 December 2024.
|
* U-Boot v2025.01-rc4 was released on Mon 09 December 2024.
|
||||||
|
|
||||||
.. * U-Boot v2025.01-rc5 was released on Mon 23 December 2024.
|
.. * U-Boot v2025.01-rc5 was released on Mon 23 December 2024.
|
||||||
|
|
||||||
|
|||||||
@@ -69,7 +69,15 @@ static int rzg2l_cpg_clk_set(struct clk *clk, bool enable)
|
|||||||
|
|
||||||
dev_dbg(clk->dev, "%s %s clock %u\n", enable ? "enable" : "disable",
|
dev_dbg(clk->dev, "%s %s clock %u\n", enable ? "enable" : "disable",
|
||||||
is_mod_clk(clk->id) ? "module" : "core", cpg_clk_id);
|
is_mod_clk(clk->id) ? "module" : "core", cpg_clk_id);
|
||||||
|
|
||||||
if (!is_mod_clk(clk->id)) {
|
if (!is_mod_clk(clk->id)) {
|
||||||
|
/*
|
||||||
|
* Non-module clocks are always on. Ignore attempts to enable
|
||||||
|
* them and reject attempts to disable them.
|
||||||
|
*/
|
||||||
|
if (enable)
|
||||||
|
return 0;
|
||||||
|
|
||||||
dev_err(clk->dev, "ID %lu is not a module clock\n", clk->id);
|
dev_err(clk->dev, "ID %lu is not a module clock\n", clk->id);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -649,7 +649,6 @@ static const struct eth_ops ravb_ops = {
|
|||||||
int ravb_of_to_plat(struct udevice *dev)
|
int ravb_of_to_plat(struct udevice *dev)
|
||||||
{
|
{
|
||||||
struct eth_pdata *pdata = dev_get_plat(dev);
|
struct eth_pdata *pdata = dev_get_plat(dev);
|
||||||
const fdt32_t *cell;
|
|
||||||
|
|
||||||
pdata->iobase = dev_read_addr(dev);
|
pdata->iobase = dev_read_addr(dev);
|
||||||
|
|
||||||
@@ -657,10 +656,7 @@ int ravb_of_to_plat(struct udevice *dev)
|
|||||||
if (pdata->phy_interface == PHY_INTERFACE_MODE_NA)
|
if (pdata->phy_interface == PHY_INTERFACE_MODE_NA)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
pdata->max_speed = 1000;
|
pdata->max_speed = dev_read_u32_default(dev, "max-speed", 1000);
|
||||||
cell = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "max-speed", NULL);
|
|
||||||
if (cell)
|
|
||||||
pdata->max_speed = fdt32_to_cpu(*cell);
|
|
||||||
|
|
||||||
sprintf(bb_miiphy_buses[0].name, dev->name);
|
sprintf(bb_miiphy_buses[0].name, dev->name);
|
||||||
|
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ static const u32 r9a07g044_gpio_configs[] = {
|
|||||||
RZG2L_GPIO_PORT_PACK(3, 0x21, RZG2L_MPXED_PIN_FUNCS),
|
RZG2L_GPIO_PORT_PACK(3, 0x21, RZG2L_MPXED_PIN_FUNCS),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x22, RZG2L_MPXED_PIN_FUNCS),
|
RZG2L_GPIO_PORT_PACK(2, 0x22, RZG2L_MPXED_PIN_FUNCS),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x23, RZG2L_MPXED_PIN_FUNCS),
|
RZG2L_GPIO_PORT_PACK(2, 0x23, RZG2L_MPXED_PIN_FUNCS),
|
||||||
RZG2L_GPIO_PORT_PACK(3, 0x24, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
RZG2L_GPIO_PORT_PACK(3, 0x24, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0) | PIN_CFG_OEN),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x25, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
RZG2L_GPIO_PORT_PACK(2, 0x25, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x26, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
RZG2L_GPIO_PORT_PACK(2, 0x26, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x27, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
RZG2L_GPIO_PORT_PACK(2, 0x27, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
||||||
@@ -189,7 +189,7 @@ static const u32 r9a07g044_gpio_configs[] = {
|
|||||||
RZG2L_GPIO_PORT_PACK(2, 0x2a, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
RZG2L_GPIO_PORT_PACK(2, 0x2a, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x2b, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
RZG2L_GPIO_PORT_PACK(2, 0x2b, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x2c, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
RZG2L_GPIO_PORT_PACK(2, 0x2c, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH0)),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x2d, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH1)),
|
RZG2L_GPIO_PORT_PACK(2, 0x2d, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH1) | PIN_CFG_OEN),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x2e, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH1)),
|
RZG2L_GPIO_PORT_PACK(2, 0x2e, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH1)),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x2f, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH1)),
|
RZG2L_GPIO_PORT_PACK(2, 0x2f, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH1)),
|
||||||
RZG2L_GPIO_PORT_PACK(2, 0x30, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH1)),
|
RZG2L_GPIO_PORT_PACK(2, 0x30, RZG2L_MPXED_ETH_PIN_FUNCS(PIN_CFG_IO_VMC_ETH1)),
|
||||||
@@ -381,7 +381,7 @@ static int rzg2l_pinconf_set(struct udevice *dev, unsigned int pin_selector,
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (param) {
|
switch (param) {
|
||||||
case PIN_CONFIG_INPUT_ENABLE: {
|
case PIN_CONFIG_INPUT_ENABLE:
|
||||||
if (!(cfg & PIN_CFG_IEN)) {
|
if (!(cfg & PIN_CFG_IEN)) {
|
||||||
dev_err(dev, "pin does not support IEN\n");
|
dev_err(dev, "pin does not support IEN\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
@@ -391,21 +391,12 @@ static int rzg2l_pinconf_set(struct udevice *dev, unsigned int pin_selector,
|
|||||||
port_offset, pin, argument);
|
port_offset, pin, argument);
|
||||||
rzg2l_rmw_pin_config(data, IEN(port_offset), pin, IEN_MASK, !!argument);
|
rzg2l_rmw_pin_config(data, IEN(port_offset), pin, IEN_MASK, !!argument);
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
|
|
||||||
case PIN_CONFIG_POWER_SOURCE: {
|
case PIN_CONFIG_POWER_SOURCE: {
|
||||||
u32 pwr_reg = 0x0;
|
bool support_2500 = false;
|
||||||
|
u32 pwr_reg;
|
||||||
|
u32 value;
|
||||||
|
|
||||||
/* argument is in mV */
|
|
||||||
if (argument != 1800 && argument != 3300) {
|
|
||||||
dev_err(dev, "Invalid mV %u\n", argument);
|
|
||||||
return -EINVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* TODO: PIN_CFG_IO_VMC_ETH0 & PIN_CFG_IO_VMC_ETH1 will be
|
|
||||||
* handled when the RZ/G2L Ethernet driver is added.
|
|
||||||
*/
|
|
||||||
if (cfg & PIN_CFG_IO_VMC_SD0) {
|
if (cfg & PIN_CFG_IO_VMC_SD0) {
|
||||||
dev_dbg(dev, "port off %u:%u set SD_CH 0 PVDD=%u\n",
|
dev_dbg(dev, "port off %u:%u set SD_CH 0 PVDD=%u\n",
|
||||||
port_offset, pin, argument);
|
port_offset, pin, argument);
|
||||||
@@ -418,13 +409,68 @@ static int rzg2l_pinconf_set(struct udevice *dev, unsigned int pin_selector,
|
|||||||
dev_dbg(dev, "port off %u:%u set QSPI PVDD=%u\n",
|
dev_dbg(dev, "port off %u:%u set QSPI PVDD=%u\n",
|
||||||
port_offset, pin, argument);
|
port_offset, pin, argument);
|
||||||
pwr_reg = QSPI;
|
pwr_reg = QSPI;
|
||||||
|
} else if (cfg & PIN_CFG_IO_VMC_ETH0) {
|
||||||
|
dev_dbg(dev, "port off %u:%u set ETH0 PVDD=%u\n",
|
||||||
|
port_offset, pin, argument);
|
||||||
|
pwr_reg = ETH_POC(0);
|
||||||
|
support_2500 = true;
|
||||||
|
} else if (cfg & PIN_CFG_IO_VMC_ETH1) {
|
||||||
|
dev_dbg(dev, "port off %u:%u set ETH1 PVDD=%u\n",
|
||||||
|
port_offset, pin, argument);
|
||||||
|
pwr_reg = ETH_POC(1);
|
||||||
|
support_2500 = true;
|
||||||
} else {
|
} else {
|
||||||
dev_dbg(dev, "pin power source is not selectable\n");
|
dev_dbg(dev, "port off %u:%u PVDD is not selectable\n",
|
||||||
|
port_offset, pin);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
writel((argument == 1800) ? PVDD_1800 : PVDD_3300,
|
/* argument is in mV */
|
||||||
data->base + pwr_reg);
|
switch (argument) {
|
||||||
|
case 1800:
|
||||||
|
value = PVDD_1800;
|
||||||
|
break;
|
||||||
|
case 3300:
|
||||||
|
value = PVDD_3300;
|
||||||
|
break;
|
||||||
|
case 2500:
|
||||||
|
if (support_2500) {
|
||||||
|
value = PVDD_2500;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
fallthrough;
|
||||||
|
default:
|
||||||
|
dev_err(dev, "Invalid mV %u\n", argument);
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
writel(value, data->base + pwr_reg);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case PIN_CONFIG_OUTPUT_ENABLE: {
|
||||||
|
u8 ch;
|
||||||
|
|
||||||
|
if (!(cfg & PIN_CFG_OEN)) {
|
||||||
|
dev_err(dev, "pin does not support OEN\n");
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* We can determine which Ethernet interface we're dealing with from
|
||||||
|
* the caps.
|
||||||
|
*/
|
||||||
|
if (cfg & PIN_CFG_IO_VMC_ETH0)
|
||||||
|
ch = 0;
|
||||||
|
else /* PIN_CFG_IO_VMC_ETH1 */
|
||||||
|
ch = 1;
|
||||||
|
|
||||||
|
dev_dbg(dev, "set ETH%u TXC OEN=%u\n", ch, argument);
|
||||||
|
if (argument)
|
||||||
|
clrbits_8(data->base + ETH_MODE, BIT(ch));
|
||||||
|
else
|
||||||
|
setbits_8(data->base + ETH_MODE, BIT(ch));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -521,6 +567,7 @@ static int rzg2l_get_pin_muxing(struct udevice *dev, unsigned int selector,
|
|||||||
|
|
||||||
static const struct pinconf_param rzg2l_pinconf_params[] = {
|
static const struct pinconf_param rzg2l_pinconf_params[] = {
|
||||||
{ "input-enable", PIN_CONFIG_INPUT_ENABLE, 1 },
|
{ "input-enable", PIN_CONFIG_INPUT_ENABLE, 1 },
|
||||||
|
{ "output-enable", PIN_CONFIG_OUTPUT_ENABLE, 1 },
|
||||||
{ "power-source", PIN_CONFIG_POWER_SOURCE, 3300 /* mV */ },
|
{ "power-source", PIN_CONFIG_POWER_SOURCE, 3300 /* mV */ },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -203,6 +203,7 @@ config RTC_RX8025
|
|||||||
|
|
||||||
config RTC_PL031
|
config RTC_PL031
|
||||||
bool "Enable ARM AMBA PL031 RTC driver"
|
bool "Enable ARM AMBA PL031 RTC driver"
|
||||||
|
depends on DM_RTC
|
||||||
help
|
help
|
||||||
The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
|
The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
|
||||||
peripheral based on the Advanced Microcontroller Bus Architecture
|
peripheral based on the Advanced Microcontroller Bus Architecture
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
#define PIN_CFG_FILONOFF BIT(10)
|
#define PIN_CFG_FILONOFF BIT(10)
|
||||||
#define PIN_CFG_FILNUM BIT(11)
|
#define PIN_CFG_FILNUM BIT(11)
|
||||||
#define PIN_CFG_FILCLKSEL BIT(12)
|
#define PIN_CFG_FILCLKSEL BIT(12)
|
||||||
|
#define PIN_CFG_OEN BIT(13)
|
||||||
|
|
||||||
#define RZG2L_MPXED_PIN_FUNCS (PIN_CFG_IOLH_A | \
|
#define RZG2L_MPXED_PIN_FUNCS (PIN_CFG_IOLH_A | \
|
||||||
PIN_CFG_SR | \
|
PIN_CFG_SR | \
|
||||||
@@ -77,9 +78,12 @@
|
|||||||
#define IEN(n) (0x1800 + (n) * 8)
|
#define IEN(n) (0x1800 + (n) * 8)
|
||||||
#define PWPR 0x3014
|
#define PWPR 0x3014
|
||||||
#define SD_CH(n) (0x3000 + (n) * 4)
|
#define SD_CH(n) (0x3000 + (n) * 4)
|
||||||
|
#define ETH_POC(ch) (0x300c + (ch) * 4)
|
||||||
#define QSPI 0x3008
|
#define QSPI 0x3008
|
||||||
|
#define ETH_MODE 0x3018
|
||||||
|
|
||||||
#define PVDD_1800 1 /* I/O domain voltage <= 1.8V */
|
#define PVDD_1800 1 /* I/O domain voltage <= 1.8V */
|
||||||
|
#define PVDD_2500 2 /* I/O domain voltage 2.5V */
|
||||||
#define PVDD_3300 0 /* I/O domain voltage >= 3.3V */
|
#define PVDD_3300 0 /* I/O domain voltage >= 3.3V */
|
||||||
|
|
||||||
#define PWPR_B0WI BIT(7) /* Bit Write Disable */
|
#define PWPR_B0WI BIT(7) /* Bit Write Disable */
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
#ifndef _MD5_H
|
#ifndef _MD5_H
|
||||||
#define _MD5_H
|
#define _MD5_H
|
||||||
|
|
||||||
#if defined(CONFIG_MBEDTLS_LIB_CRYPTO)
|
#include <linux/kconfig.h>
|
||||||
|
|
||||||
|
#if CONFIG_IS_ENABLED(MBEDTLS_LIB_CRYPTO)
|
||||||
#include <mbedtls/md5.h>
|
#include <mbedtls/md5.h>
|
||||||
#endif
|
#endif
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
@@ -14,7 +16,7 @@
|
|||||||
#define MD5_SUM_LEN 16
|
#define MD5_SUM_LEN 16
|
||||||
#define MD5_DEF_CHUNK_SZ 0x10000
|
#define MD5_DEF_CHUNK_SZ 0x10000
|
||||||
|
|
||||||
#if defined(CONFIG_MBEDTLS_LIB_CRYPTO)
|
#if CONFIG_IS_ENABLED(MBEDTLS_LIB_CRYPTO)
|
||||||
typedef mbedtls_md5_context MD5Context;
|
typedef mbedtls_md5_context MD5Context;
|
||||||
#else
|
#else
|
||||||
typedef struct MD5Context {
|
typedef struct MD5Context {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
#ifndef _SHA512_H
|
#ifndef _SHA512_H
|
||||||
#define _SHA512_H
|
#define _SHA512_H
|
||||||
|
|
||||||
|
#include <linux/kconfig.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
#if defined(CONFIG_MBEDTLS_LIB_CRYPTO)
|
#if CONFIG_IS_ENABLED(MBEDTLS_LIB_CRYPTO)
|
||||||
#include <mbedtls/sha512.h>
|
#include <mbedtls/sha512.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -16,7 +17,7 @@
|
|||||||
#define CHUNKSZ_SHA384 (16 * 1024)
|
#define CHUNKSZ_SHA384 (16 * 1024)
|
||||||
#define CHUNKSZ_SHA512 (16 * 1024)
|
#define CHUNKSZ_SHA512 (16 * 1024)
|
||||||
|
|
||||||
#if defined(CONFIG_MBEDTLS_LIB_CRYPTO)
|
#if CONFIG_IS_ENABLED(MBEDTLS_LIB_CRYPTO)
|
||||||
typedef mbedtls_sha512_context sha384_context;
|
typedef mbedtls_sha512_context sha384_context;
|
||||||
typedef mbedtls_sha512_context sha512_context;
|
typedef mbedtls_sha512_context sha512_context;
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -603,6 +603,7 @@ static __maybe_unused void lmb_reserve_common_spl(void)
|
|||||||
void lmb_add_memory(void)
|
void lmb_add_memory(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
phys_addr_t bank_end;
|
||||||
phys_size_t size;
|
phys_size_t size;
|
||||||
u64 ram_top = gd->ram_top;
|
u64 ram_top = gd->ram_top;
|
||||||
struct bd_info *bd = gd->bd;
|
struct bd_info *bd = gd->bd;
|
||||||
@@ -616,6 +617,8 @@ void lmb_add_memory(void)
|
|||||||
|
|
||||||
for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) {
|
for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++) {
|
||||||
size = bd->bi_dram[i].size;
|
size = bd->bi_dram[i].size;
|
||||||
|
bank_end = bd->bi_dram[i].start + size;
|
||||||
|
|
||||||
if (size) {
|
if (size) {
|
||||||
lmb_add(bd->bi_dram[i].start, size);
|
lmb_add(bd->bi_dram[i].start, size);
|
||||||
|
|
||||||
@@ -627,6 +630,9 @@ void lmb_add_memory(void)
|
|||||||
if (bd->bi_dram[i].start >= ram_top)
|
if (bd->bi_dram[i].start >= ram_top)
|
||||||
lmb_reserve_flags(bd->bi_dram[i].start, size,
|
lmb_reserve_flags(bd->bi_dram[i].start, size,
|
||||||
LMB_NOOVERWRITE);
|
LMB_NOOVERWRITE);
|
||||||
|
else if (bank_end > ram_top)
|
||||||
|
lmb_reserve_flags(ram_top, bank_end - ram_top,
|
||||||
|
LMB_NOOVERWRITE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
#ifndef LWIP_UBOOT_LWIPOPTS_H
|
#ifndef LWIP_UBOOT_LWIPOPTS_H
|
||||||
#define LWIP_UBOOT_LWIPOPTS_H
|
#define LWIP_UBOOT_LWIPOPTS_H
|
||||||
|
|
||||||
|
#include <linux/kconfig.h>
|
||||||
|
|
||||||
#if defined(CONFIG_LWIP_DEBUG)
|
#if defined(CONFIG_LWIP_DEBUG)
|
||||||
#define LWIP_DEBUG 1
|
#define LWIP_DEBUG 1
|
||||||
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
|
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
|
||||||
@@ -154,7 +156,7 @@
|
|||||||
#define MEMP_MEM_INIT 1
|
#define MEMP_MEM_INIT 1
|
||||||
#define MEM_LIBC_MALLOC 1
|
#define MEM_LIBC_MALLOC 1
|
||||||
|
|
||||||
#if defined(CONFIG_MBEDTLS_LIB_TLS)
|
#if CONFIG_IS_ENABLED(MBEDTLS_LIB_TLS)
|
||||||
#define LWIP_ALTCP 1
|
#define LWIP_ALTCP 1
|
||||||
#define LWIP_ALTCP_TLS 1
|
#define LWIP_ALTCP_TLS 1
|
||||||
#define LWIP_ALTCP_TLS_MBEDTLS 1
|
#define LWIP_ALTCP_TLS_MBEDTLS 1
|
||||||
|
|||||||
@@ -272,14 +272,16 @@ md5_wd(const unsigned char *input, unsigned int len, unsigned char output[16],
|
|||||||
unsigned int chunk_sz)
|
unsigned int chunk_sz)
|
||||||
{
|
{
|
||||||
MD5Context context;
|
MD5Context context;
|
||||||
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
|
#if !defined(USE_HOSTCC) && \
|
||||||
|
(defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG))
|
||||||
const unsigned char *end, *curr;
|
const unsigned char *end, *curr;
|
||||||
int chunk;
|
int chunk;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MD5Init(&context);
|
MD5Init(&context);
|
||||||
|
|
||||||
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
|
#if !defined(USE_HOSTCC) && \
|
||||||
|
(defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG))
|
||||||
curr = input;
|
curr = input;
|
||||||
end = input + len;
|
end = input + len;
|
||||||
while (curr < end) {
|
while (curr < end) {
|
||||||
|
|||||||
12
lib/sha512.c
12
lib/sha512.c
@@ -288,7 +288,8 @@ void sha384_csum_wd(const unsigned char *input, unsigned int ilen,
|
|||||||
unsigned char *output, unsigned int chunk_sz)
|
unsigned char *output, unsigned int chunk_sz)
|
||||||
{
|
{
|
||||||
sha512_context ctx;
|
sha512_context ctx;
|
||||||
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
|
#if !defined(USE_HOSTCC) && \
|
||||||
|
(defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG))
|
||||||
const unsigned char *end;
|
const unsigned char *end;
|
||||||
unsigned char *curr;
|
unsigned char *curr;
|
||||||
int chunk;
|
int chunk;
|
||||||
@@ -296,7 +297,8 @@ void sha384_csum_wd(const unsigned char *input, unsigned int ilen,
|
|||||||
|
|
||||||
sha384_starts(&ctx);
|
sha384_starts(&ctx);
|
||||||
|
|
||||||
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
|
#if !defined(USE_HOSTCC) && \
|
||||||
|
(defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG))
|
||||||
curr = (unsigned char *)input;
|
curr = (unsigned char *)input;
|
||||||
end = input + ilen;
|
end = input + ilen;
|
||||||
while (curr < end) {
|
while (curr < end) {
|
||||||
@@ -351,7 +353,8 @@ void sha512_csum_wd(const unsigned char *input, unsigned int ilen,
|
|||||||
unsigned char *output, unsigned int chunk_sz)
|
unsigned char *output, unsigned int chunk_sz)
|
||||||
{
|
{
|
||||||
sha512_context ctx;
|
sha512_context ctx;
|
||||||
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
|
#if !defined(USE_HOSTCC) && \
|
||||||
|
(defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG))
|
||||||
const unsigned char *end;
|
const unsigned char *end;
|
||||||
unsigned char *curr;
|
unsigned char *curr;
|
||||||
int chunk;
|
int chunk;
|
||||||
@@ -359,7 +362,8 @@ void sha512_csum_wd(const unsigned char *input, unsigned int ilen,
|
|||||||
|
|
||||||
sha512_starts(&ctx);
|
sha512_starts(&ctx);
|
||||||
|
|
||||||
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
|
#if !defined(USE_HOSTCC) && \
|
||||||
|
(defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG))
|
||||||
curr = (unsigned char *)input;
|
curr = (unsigned char *)input;
|
||||||
end = input + ilen;
|
end = input + ilen;
|
||||||
while (curr < end) {
|
while (curr < end) {
|
||||||
|
|||||||
Reference in New Issue
Block a user