From e28fcb2279912e83eb789bef942f928a77d5ba46 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 6 Mar 2016 19:28:17 -0700 Subject: x86: Add a script to aid code conversion from coreboot It is useful to automate the process of converting code from coreboot a little. Add a sed script which performs some common transformations. Signed-off-by: Simon Glass Acked-by: Bin Meng --- doc/README.x86 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/README.x86 b/doc/README.x86 index 41acf0b..889373e 100644 --- a/doc/README.x86 +++ b/doc/README.x86 @@ -864,6 +864,15 @@ PCIe root port's configuration registers will cause system hang while it is held in reset. For more details, check how they are implemented by the Intel Galileo board support codes in board/intel/galileo/galileo.c. +coreboot: + +See scripts/coreboot.sed which can assist with porting coreboot code into +U-Boot drivers. It will not resolve all build errors, but will perform common +transformations. Remember to add attribution to coreboot for new files added +to U-Boot. This should go at the top of each file and list the coreboot +filename where the code originated. + + TODO List --------- - Audio -- cgit v1.1