This is a first cut at the u-boot cli. It builds and loads and runs and has no commands. That's next. Interestingly, this is code right from our u-boot tree, and it's full of style violations which I don't intend to fix. Remove dependency on anything else, but this won't work until the libpayload serial drivers for arm are set up. BUG=None TEST=build and boot on nyan and get a u-boot cli prompt. BRANCH=None Change-Id: I52cf7c02e2bdd00a82e6e48fd2471416c87e4627 Signed-off-by: Ronald G. Minnich <rminnich@google.com> Reviewed-on: https://chromium-review.googlesource.com/179721 Reviewed-by: Puneet Kumar <puneetster@chromium.org> Commit-Queue: Puneet Kumar <puneetster@chromium.org> Tested-by: Puneet Kumar <puneetster@chromium.org>
28 lines
888 B
C
28 lines
888 B
C
/*
|
|
* This file is part of the bayou project.
|
|
*
|
|
* Copyright (C) 2008 Advanced Micro Devices, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef UBOOTCLI_H_
|
|
#define UBOOTCLI_H_
|
|
|
|
#include <libpayload.h>
|
|
#include <command.h>
|
|
#include <common.h>
|
|
#include <ctype.h>
|
|
|
|
#endif
|