Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04, v2018.07 |
|
#
83d290c5 |
| 06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
Revision tags: v2018.03, v2018.01, v2017.11 |
|
#
1fdafb2e |
| 18-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
|
#
c893f1e6 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dwc_ahsata: Add support for driver model
Update this driver to support driver model. This involves implementing the AHCI operations and reusing existing common code.
Signed-off-by: Simon
dm: sata: dwc_ahsata: Add support for driver model
Update this driver to support driver model. This involves implementing the AHCI operations and reusing existing common code.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
752126a0 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Set up common versions of operations
Driver model wants to use the core functions in this file but accesses the uclass-private data in a different way. Move the code into new 'com
dm: sata: dw_sata: Set up common versions of operations
Driver model wants to use the core functions in this file but accesses the uclass-private data in a different way. Move the code into new 'common' functions and set up stubs to call these.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
036a803e |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: More ahci_init_one() futher down
This function will not be used with driver model and it relates to the other exported functions. Move it down next to them.
Signed-off-by: Simon
dm: sata: dw_sata: More ahci_init_one() futher down
This function will not be used with driver model and it relates to the other exported functions. Move it down next to them.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
5908d85e |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Drop is_ready
This variable is set but never used. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
90abb28f |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Rename the dwc_ahsata private header
Rename dwc_ahsata.h to indicate that it is a private header file. We plan to create another header with some public functions.
Signed-off-by:
dm: sata: dw_sata: Rename the dwc_ahsata private header
Rename dwc_ahsata.h to indicate that it is a private header file. We plan to create another header with some public functions.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
0f07df43 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Sort #include directives
Sort the header file inclusions into the correct order.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
3e59c30f |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Drop unnecessary brackets
There is a strange &(var) coding style in this driver. Adjust it to use &var instead, which is more usual.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
47c0f369 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Pass uc_priv to internal functions
With driver model sata_dev_desc[] does not exist. We still want to use the common code of this driver so update it to pass struct ahci_uc_priv *
dm: sata: dw_sata: Pass uc_priv to internal functions
With driver model sata_dev_desc[] does not exist. We still want to use the common code of this driver so update it to pass struct ahci_uc_priv * to each of these functions, instead of an integer which must be looked up in sata_dev_desc[].
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
4b640dbc |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Drop unnecessary casts
Most of the casts in this driver are not necessary. With driver model we do not cast from void *. Update the driver to follow this rule.
Signed-off-by: Sim
dm: sata: dw_sata: Drop unnecessary casts
Most of the casts in this driver are not necessary. With driver model we do not cast from void *. Update the driver to follow this rule.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
09bb951b |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Rename 'probe_ent' to uc_priv
With driver model this becomes uclass-private data. Rename the parameter varable to reflect this.
With the driver model conversion we will not have
dm: sata: dw_sata: Rename 'probe_ent' to uc_priv
With driver model this becomes uclass-private data. Rename the parameter varable to reflect this.
With the driver model conversion we will not have any exported functions. Move all exported functions to be together at the end of the file so that we can deal with them in one #ifdef block.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
c5273acf |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Move exported functions to the end
With the driver model conversion we will not have any exported functions. Move all exported functions to be together at the end of the file so t
dm: sata: dw_sata: Move exported functions to the end
With the driver model conversion we will not have any exported functions. Move all exported functions to be together at the end of the file so that we can deal with them in one #ifdef block.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
1dae3b06 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dw_sata: Drop dwc_ahsata_rw_ncq_cmd()
This function is not called from anywhere. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
d7f09435 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: sata: dwc_ahsata: Make functions static
Some functions are not called from outside this file. Make these static to make that obvious.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
8d3a2568 |
| 11-Jul-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
#
2c9f9efb |
| 14-Jun-2017 |
Simon Glass <sjg@chromium.org> |
dm: ahci: Rename struct ahci_probe_ent
This is not a very useful name since once it is probed it still hangs around. With driver model we will use uclass data for this, so rename the struct.
Signed
dm: ahci: Rename struct ahci_probe_ent
This is not a very useful name since once it is probed it still hangs around. With driver model we will use uclass data for this, so rename the struct.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
#
f2105c61 |
| 14-Jun-2017 |
Simon Glass <sjg@chromium.org> |
sata: Move drivers into new drivers/ata directory
At present we have the SATA and PATA drivers mixed up in the drivers/block directory. It is better to split them out into their own place. Use drive
sata: Move drivers into new drivers/ata directory
At present we have the SATA and PATA drivers mixed up in the drivers/block directory. It is better to split them out into their own place. Use drivers/ata which is what Linux does.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|