Re: [U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot
On Isn, 2017-10-02 at 12:10 +0200, Marek Vasut wrote: > On 10/02/2017 12:04 PM, Chee, Tien Fong wrote: > > > > On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut wrote: > > > > > > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee> > > > > > > > Clock frequency info is required in U-boot. > > > > > > > > Signed-off-by: Tien Fong Chee > > > I want a TB on Gen 5 > > > > > This patch break the gen5, because cm_basic_init is exclusive for > > Arria > > 10. #ifdef is required. > Can you at least build-test your patches before submitting ? > Heck, you can also set up the travisci [1] to do all that stuff for > you. > > [1] https://travis-ci.org/marex/u-boot-socfpga/branches > Okay. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot
On 10/02/2017 12:04 PM, Chee, Tien Fong wrote: > On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut wrote: >> On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee>>> >>> Clock frequency info is required in U-boot. >>> >>> Signed-off-by: Tien Fong Chee >> I want a TB on Gen 5 >> > This patch break the gen5, because cm_basic_init is exclusive for Arria > 10. #ifdef is required. Can you at least build-test your patches before submitting ? Heck, you can also set up the travisci [1] to do all that stuff for you. [1] https://travis-ci.org/marex/u-boot-socfpga/branches -- Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot
On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee> > > > Clock frequency info is required in U-boot. > > > > Signed-off-by: Tien Fong Chee > I want a TB on Gen 5 > This patch break the gen5, because cm_basic_init is exclusive for Arria 10. #ifdef is required. > > > > --- > > arch/arm/mach-socfpga/board.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach- > > socfpga/board.c > > index 965f9dc..a00f63b 100644 > > --- a/arch/arm/mach-socfpga/board.c > > +++ b/arch/arm/mach-socfpga/board.c > > @@ -8,7 +8,10 @@ > > > > #include > > #include > > +#include > > #include > > +#include > > +#include > > #include > > > > #include > > @@ -26,6 +29,9 @@ int board_init(void) > > /* Address of boot parameters for ATAG (if ATAG is used) > > */ > > gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; > > > > + /* configuring the clock based on handoff */ > > + cm_basic_init(gd->fdt_blob); > > + > > return 0; > > } > > > > > ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot
On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee> > > > Clock frequency info is required in U-boot. > > > > Signed-off-by: Tien Fong Chee > I want a TB on Gen 5 > Okay. > > > > --- > > arch/arm/mach-socfpga/board.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach- > > socfpga/board.c > > index 965f9dc..a00f63b 100644 > > --- a/arch/arm/mach-socfpga/board.c > > +++ b/arch/arm/mach-socfpga/board.c > > @@ -8,7 +8,10 @@ > > > > #include > > #include > > +#include > > #include > > +#include > > +#include > > #include > > > > #include > > @@ -26,6 +29,9 @@ int board_init(void) > > /* Address of boot parameters for ATAG (if ATAG is used) > > */ > > gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; > > > > + /* configuring the clock based on handoff */ > > + cm_basic_init(gd->fdt_blob); > > + > > return 0; > > } > > > > > ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot
On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee> > > > Clock frequency info is required in U-boot. > > > > Signed-off-by: Tien Fong Chee > I want a TB on Gen 5 > What is TB? > > > > --- > > arch/arm/mach-socfpga/board.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach- > > socfpga/board.c > > index 965f9dc..a00f63b 100644 > > --- a/arch/arm/mach-socfpga/board.c > > +++ b/arch/arm/mach-socfpga/board.c > > @@ -8,7 +8,10 @@ > > > > #include > > #include > > +#include > > #include > > +#include > > +#include > > #include > > > > #include > > @@ -26,6 +29,9 @@ int board_init(void) > > /* Address of boot parameters for ATAG (if ATAG is used) > > */ > > gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; > > > > + /* configuring the clock based on handoff */ > > + cm_basic_init(gd->fdt_blob); > > + > > return 0; > > } > > > > > ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee> > Clock frequency info is required in U-boot. > > Signed-off-by: Tien Fong Chee I want a TB on Gen 5 > --- > arch/arm/mach-socfpga/board.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach-socfpga/board.c > index 965f9dc..a00f63b 100644 > --- a/arch/arm/mach-socfpga/board.c > +++ b/arch/arm/mach-socfpga/board.c > @@ -8,7 +8,10 @@ > > #include > #include > +#include > #include > +#include > +#include > #include > > #include > @@ -26,6 +29,9 @@ int board_init(void) > /* Address of boot parameters for ATAG (if ATAG is used) */ > gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; > > + /* configuring the clock based on handoff */ > + cm_basic_init(gd->fdt_blob); > + > return 0; > } > > -- Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot
From: Tien Fong CheeClock frequency info is required in U-boot. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/board.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/mach-socfpga/board.c index 965f9dc..a00f63b 100644 --- a/arch/arm/mach-socfpga/board.c +++ b/arch/arm/mach-socfpga/board.c @@ -8,7 +8,10 @@ #include #include +#include #include +#include +#include #include #include @@ -26,6 +29,9 @@ int board_init(void) /* Address of boot parameters for ATAG (if ATAG is used) */ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; + /* configuring the clock based on handoff */ + cm_basic_init(gd->fdt_blob); + return 0; } -- 2.2.0 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot