Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Librem5
uboot-imx
Commits
47d3debe
Commit
47d3debe
authored
Sep 23, 2014
by
Tom Rini
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://git.denx.de/u-boot-dm
parents
692c2235
cae025aa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
README
README
+1
-4
drivers/core/device.c
drivers/core/device.c
+7
-2
drivers/mtd/spi/sf_params.c
drivers/mtd/spi/sf_params.c
+1
-0
drivers/serial/serial-uclass.c
drivers/serial/serial-uclass.c
+2
-1
No files found.
README
View file @
47d3debe
...
...
@@ -3849,12 +3849,9 @@ Configuration Settings:
The memory will be freed (or in fact just forgotton) when
U-Boot relocates itself.
Pre-relocation malloc() is only supported on sandbox
Pre-relocation malloc() is only supported on
ARM and
sandbox
at present but is fairly easy to enable for other archs.
Pre-relocation malloc() is only supported on ARM at present
but is fairly easy to enable for other archs.
- CONFIG_SYS_BOOTM_LEN:
Normally compressed uImages are limited to an
uncompressed size of 8 MBytes. If this is not enough,
...
...
drivers/core/device.c
View file @
47d3debe
...
...
@@ -106,13 +106,18 @@ int device_bind(struct udevice *parent, struct driver *drv, const char *name,
* a 'requested' sequence, and will be resolved (and ->seq updated)
* when the device is probed.
*/
dev
->
req_seq
=
fdtdec_get_int
(
gd
->
fdt_blob
,
of_offset
,
"reg"
,
-
1
);
dev
->
seq
=
-
1
;
#ifdef CONFIG_OF_CONTROL
dev
->
req_seq
=
fdtdec_get_int
(
gd
->
fdt_blob
,
of_offset
,
"reg"
,
-
1
);
if
(
!
IS_ERR_VALUE
(
dev
->
req_seq
))
dev
->
req_seq
&=
INT_MAX
;
if
(
uc
->
uc_drv
->
name
&&
of_offset
!=
-
1
)
{
fdtdec_get_alias_seq
(
gd
->
fdt_blob
,
uc
->
uc_drv
->
name
,
of_offset
,
&
dev
->
req_seq
);
}
#else
dev
->
req_seq
=
-
1
;
#endif
if
(
!
dev
->
platdata
&&
drv
->
platdata_auto_alloc_size
)
dev
->
flags
|=
DM_FLAG_ALLOC_PDATA
;
...
...
drivers/mtd/spi/sf_params.c
View file @
47d3debe
...
...
@@ -116,6 +116,7 @@ const struct spi_flash_params spi_flash_params_table[] = {
{
"W25Q64DW"
,
0xef6017
,
0x0
,
64
*
1024
,
128
,
RD_FULL
,
WR_QPP
|
SECT_4K
},
{
"W25Q128FW"
,
0xef6018
,
0x0
,
64
*
1024
,
256
,
RD_FULL
,
WR_QPP
|
SECT_4K
},
#endif
{},
/* Empty entry to terminate the list */
/*
* Note:
* Below paired flash devices has similar spi_flash params.
...
...
drivers/serial/serial-uclass.c
View file @
47d3debe
...
...
@@ -25,6 +25,7 @@ struct udevice *cur_dev __attribute__ ((section(".data")));
static
void
serial_find_console_or_panic
(
void
)
{
#ifdef CONFIG_OF_CONTROL
int
node
;
/* Check for a chosen console */
...
...
@@ -44,7 +45,7 @@ static void serial_find_console_or_panic(void)
return
;
cur_dev
=
NULL
;
}
#endif
/*
* Failing that, get the device with sequence number 0, or in extremis
* just the first serial device we can find. But we insist on having
...
...
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