Re: [U-Boot] [PATCH 16/22] x86: board_f: Adjust x86 boot order for performance

2014-12-30 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: > For bare platforms we turn off ROM-caching before calling board_init_f_r() > It is then very slow to copy U-Boot from ROM to RAM. So adjust the order so > that the copying happens before we turn off ROM-caching. > > Signed-off-by: S

Re: [U-Boot] [PATCH 19/22] x86: ivybridge: Add a way to turn off the CAR

2014-12-30 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: > Cache-as-RAM should be turned off when we relocate since we want to run from > RAM. Add a function to perform this task. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/ivybridge/car.S | 52 > +++

Re: [U-Boot] [PATCH 20/22] x86: Disable CAR before relocation on platforms that need it

2014-12-30 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: > For platforms with CAR we should disable it before relocation. Check if > this function is available and call it if so. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/start.S | 10 ++ > 1 file changed, 10 insertions

Re: [U-Boot] [PATCH 21/22] x86: ivybridge: Update microcode early in boot

2014-12-30 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: > At present the normal update (which happens much later) does not work. This > seems to have something to do with the 'no eviction' mode in the CAR, or at > least moving the microcode update after that causes it not to work. > > For

Re: [U-Boot] [PATCH 22/22] x86: Add an 'mtrr' command to list and adjust MTRRs

2014-12-30 Thread Bin Meng
Hi Simon, On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: > It is useful to be able to see the MTRR setup in U-Boot. Add a command > to list the state of the variable MTRR registers and allow them to be > changed. Nice work! This will be a useful debug command. > Update the documentation t

Re: [U-Boot] [PATCH 03/22] x86: Correct ifdtool microcode calculation

2014-12-30 Thread Bin Meng
On Wed, Dec 31, 2014 at 10:47 AM, Bin Meng wrote: > On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: >> This currently assumes that U-Boot resides at the start of ROM. Update >> it to remove this assumption. >> >> Signed-off-by: Simon Glass >> --- >> >> tools/ifdtool.c | 4 ++-- >> 1 file c

Re: [U-Boot] [PATCH 21/22] x86: ivybridge: Update microcode early in boot

2014-12-30 Thread Bin Meng
On Wed, Dec 31, 2014 at 2:45 PM, Bin Meng wrote: > Hi Simon, > > On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: >> At present the normal update (which happens much later) does not work. This >> seems to have something to do with the 'no eviction' mode in the CAR, or at >> least moving the m

Re: [U-Boot] [PATCH v3 4/7] fdt: Add several apis to decode pci device node

2014-12-30 Thread Bin Meng
Hi Simon, On Wed, Dec 31, 2014 at 2:48 AM, Simon Glass wrote: > Hi Bin, > > On 30 December 2014 at 07:53, Bin Meng wrote: >> This commit adds several APIs to decode PCI device node according to >> the Open Firmware PCI bus bindings, including: >> - fdtdec_get_pci_addr() for encoded pci address >

<    1   2