- Feb 20, 2020
-
-
Masahiro Yamada authored
To avoid "asm/dma-mapping.h: No such file or directory" error, we need something. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Feb 07, 2020
-
-
Tom Rini authored
To match the other PowerPC platforms the function show_regs() must not be marked static but instead be an exposed global function. Cc: Christophe Leroy <christophe.leroy@c-s.fr> Cc: Wolfgang Denk <wd@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com> Acked-by:
Christophe Leroy <christophe.leroy@c-s.fr>
-
- Jan 24, 2020
-
-
Simon Glass authored
At present panic() is in the vsprintf.h header file. That does not seem like an obvious choice for hang(), even though it relates to panic(). So let's put hang() in its own header. Signed-off-by:
Simon Glass <sjg@chromium.org> [trini: Migrate a few more files] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
These functions relate to memory init so move them into the init header. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This function related to timer and most of the timer functions are in time.h, so move this function there. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These three clock functions don't use driver model and should be migrated. In the meantime, create a new file to hold them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This file is only used by PowerPC so move it to an arch-specific header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is an init function so move it out of the common header. Avoid using the typedef so that we don't have to include the global_data header file. Also tidy up the function style in comments while we are here. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Jan 17, 2020
-
-
Simon Glass authored
At present panic() is in the vsprintf.h header file. That does not seem like an obvious choice for hang(), even though it relates to panic(). So let's put hang() in its own header. Signed-off-by:
Simon Glass <sjg@chromium.org> [trini: Migrate a few more files] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
These functions relate to memory init so move them into the init header. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This function related to timer and most of the timer functions are in time.h, so move this function there. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These three clock functions don't use driver model and should be migrated. In the meantime, create a new file to hold them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This file is only used by PowerPC so move it to an arch-specific header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is an init function so move it out of the common header. Avoid using the typedef so that we don't have to include the global_data header file. Also tidy up the function style in comments while we are here. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Jan 16, 2020
-
-
Yangbo Lu authored
The QorIQ eSDHC controller supports two reference clocks. They are platform clock and periperhal clock. The global variable sdhc_clk has already been used for platform clock. This patch is to add another global variable sdhc_per_clk for periperhal clock, which provides higher frequency and is required to be used for SD UHS and eMMC HS200/HS400 speed modes. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
Yangbo Lu authored
The below patch added eSDHC periperhal clock code initially. 2d9ca2c7 mmc: fsl_esdhc: Add peripheral clock support The purpose was to fix up device tree properties "peripheral-frequency" so that linux could get the periperhal clock by it. However the implementation on both u-boot and linux was only for a Freescale SDK release. The linux part implementation had never been upstreamed. These code should not have been exist on u-boot mainline. Let's remove the powerpc part changes but keep the changes in fsl_esdhc driver. The changes in fsl_esdhc driver could be utilized to support SD UHS and eMMC HS200/HS400 speed modes for current Layerscape ARM platforms. Signed-off-by:
Yangbo Lu <yangbo.lu@nxp.com>
-
- Jan 08, 2020
-
-
Rasmus Villemoes authored
The MPC8309 has two gpio controllers (which is already correctly reflected in its struct immap definition). Signed-off-by:
Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by:
Mario Six <mario.six@gdsys.cc>
-
Rasmus Villemoes authored
Allow drivers/spi/mpc8xxx_spi.c to be built for an mpc8309 target. Signed-off-by:
Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by:
Mario Six <mario.six@gdsys.cc>
-
Rasmus Villemoes authored
This complements commit 06878977 which did the conversion for mpc85xx. Signed-off-by:
Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by:
Mario Six <mario.six@gdsys.cc>
-
Rasmus Villemoes authored
The mpc8309 is also affected by the "Manual Asynchronous CMD12 abort operation causes protocol violations" erratum, though it is enumerated as eSDHC16 in the errata sheet for mpc8309. Signed-off-by:
Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by:
Mario Six <mario.six@gdsys.cc>
-
- Dec 23, 2019
-
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
- Dec 02, 2019
-
-
Simon Glass authored
A number of board function belong in init.h with the others. Move them. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Move these two functions into the irq_funcs.h header file. Also move interrupt_handler_t as this is used by the irq_install_handler() function. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
These functions do not use driver model but are fairly widely used in U-Boot. But it is not clear that they will use driver model anytime soon, so we don't want to label them as 'legacy'. Move them to a new irq_func.h header file. Avoid the name 'irq.h' since it is widely used in U-Boot already. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Remove the unwanted space before the bracket. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
These functions are CPU-related and do not use driver model. Move them to cpu_func.h Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
These are used by only one arch and only within a single file. Drop the declarations from the common file. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
These functions belong in cpu_func.h. Another option would be cache.h but that code uses driver model and we have not moved these cache functions to use driver model. Since they are CPU-related it seems reasonable to put them here. Move them over. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
This function belongs in cpu_func.h so move it over. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
These functions belong in cpu_func.h since they do not use driver model. Move them over. Don't bother adding comments since these functions should be deleted. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
These functions belong in time.h so move them over and add comments. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
At present this function sits in its own file but it does not really justify it. There are similar string functions in vsprintf.h, so move it there. Also add the missing function comment. Use the vsprintf.h include file explicitly where needed. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-