Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Forks
U-Boot
Commits
2e57549a
Commit
2e57549a
authored
Jan 04, 2021
by
Tom Rini
Browse files
Merge branch '2021-01-04-minor-fixes'
- Assorted fixes
parents
21e1cae7
acff02c6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
12 deletions
+11
-12
.mailmap
.mailmap
+1
-0
cmd/ubi.c
cmd/ubi.c
+5
-0
doc/android/boot-image.rst
doc/android/boot-image.rst
+4
-3
drivers/nvme/nvme.h
drivers/nvme/nvme.h
+0
-8
drivers/usb/Kconfig
drivers/usb/Kconfig
+1
-1
No files found.
.mailmap
View file @
2e57549a
...
@@ -30,6 +30,7 @@ Jagan Teki <jaganna@xilinx.com>
...
@@ -30,6 +30,7 @@ Jagan Teki <jaganna@xilinx.com>
Jagan Teki <jagannadh.teki@gmail.com>
Jagan Teki <jagannadh.teki@gmail.com>
Jagan Teki <jagannadha.sutradharudu-teki@xilinx.com>
Jagan Teki <jagannadha.sutradharudu-teki@xilinx.com>
Igor Opaniuk <igor.opaniuk@gmail.com> <igor.opaniuk@linaro.org>
Igor Opaniuk <igor.opaniuk@gmail.com> <igor.opaniuk@linaro.org>
Igor Opaniuk <igor.opaniuk@gmail.com> <igor.opaniuk@toradex.com>
Markus Klotzbuecher <mk@denx.de>
Markus Klotzbuecher <mk@denx.de>
Patrice Chotard <patrice.chotard@foss.st.com> <patrice.chotard@st.com>
Patrice Chotard <patrice.chotard@foss.st.com> <patrice.chotard@st.com>
Patrick Delaunay <patrick.delaunay@foss.st.com> <patrick.delaunay@st.com>
Patrick Delaunay <patrick.delaunay@foss.st.com> <patrick.delaunay@st.com>
...
...
cmd/ubi.c
View file @
2e57549a
...
@@ -264,6 +264,11 @@ static int ubi_rename_vol(char *oldname, char *newname)
...
@@ -264,6 +264,11 @@ static int ubi_rename_vol(char *oldname, char *newname)
return
ENODEV
;
return
ENODEV
;
}
}
if
(
!
ubi_check
(
newname
))
{
printf
(
"%s: volume %s already exist
\n
"
,
__func__
,
newname
);
return
EINVAL
;
}
printf
(
"Rename UBI volume %s to %s
\n
"
,
oldname
,
newname
);
printf
(
"Rename UBI volume %s to %s
\n
"
,
oldname
,
newname
);
if
(
ubi
->
ro_mode
)
{
if
(
ubi
->
ro_mode
)
{
...
...
doc/android/boot-image.rst
View file @
2e57549a
...
@@ -30,9 +30,10 @@ next image headers:
...
@@ -30,9 +30,10 @@ next image headers:
v2, v1 and v0 formats are backward compatible.
v2, v1 and v0 formats are backward compatible.
Android Boot Image format is represented by :c:type:`struct andr_img_hdr` in
The Android Boot Image format is represented by
U-Boot, and can be seen in ``include/android_image.h``. U-Boot supports booting
:c:type:`struct andr_img_hdr <andr_img_hdr>` in U-Boot, and can be seen in
Android Boot Image and also has associated command
``include/android_image.h``. U-Boot supports booting Android Boot Image and also
has associated command
Booting
Booting
-------
-------
...
...
drivers/nvme/nvme.h
View file @
2e57549a
...
@@ -535,28 +535,20 @@ struct nvme_completion {
...
@@ -535,28 +535,20 @@ struct nvme_completion {
*/
*/
static
inline
u64
nvme_readq
(
__le64
volatile
*
regs
)
static
inline
u64
nvme_readq
(
__le64
volatile
*
regs
)
{
{
#if BITS_PER_LONG == 64
return
readq
(
regs
);
#else
__u32
*
ptr
=
(
__u32
*
)
regs
;
__u32
*
ptr
=
(
__u32
*
)
regs
;
u64
val_lo
=
readl
(
ptr
);
u64
val_lo
=
readl
(
ptr
);
u64
val_hi
=
readl
(
ptr
+
1
);
u64
val_hi
=
readl
(
ptr
+
1
);
return
val_lo
+
(
val_hi
<<
32
);
return
val_lo
+
(
val_hi
<<
32
);
#endif
}
}
static
inline
void
nvme_writeq
(
const
u64
val
,
__le64
volatile
*
regs
)
static
inline
void
nvme_writeq
(
const
u64
val
,
__le64
volatile
*
regs
)
{
{
#if BITS_PER_LONG == 64
writeq
(
val
,
regs
);
#else
__u32
*
ptr
=
(
__u32
*
)
regs
;
__u32
*
ptr
=
(
__u32
*
)
regs
;
u32
val_lo
=
lower_32_bits
(
val
);
u32
val_lo
=
lower_32_bits
(
val
);
u32
val_hi
=
upper_32_bits
(
val
);
u32
val_hi
=
upper_32_bits
(
val
);
writel
(
val_lo
,
ptr
);
writel
(
val_lo
,
ptr
);
writel
(
val_hi
,
ptr
+
1
);
writel
(
val_hi
,
ptr
+
1
);
#endif
}
}
struct
nvme_bar
{
struct
nvme_bar
{
...
...
drivers/usb/Kconfig
View file @
2e57549a
...
@@ -60,7 +60,7 @@ config DM_USB_GADGET
...
@@ -60,7 +60,7 @@ config DM_USB_GADGET
mode)
mode)
config SPL_DM_USB_GADGET
config SPL_DM_USB_GADGET
bool "Enable driver model for USB Gadget in
s
PL"
bool "Enable driver model for USB Gadget in
S
PL"
depends on SPL_DM_USB
depends on SPL_DM_USB
help
help
Enable driver model for USB Gadget in SPL
Enable driver model for USB Gadget in SPL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment